Zeruell / ppx-raidplaner

Automatically exported from code.google.com/p/ppx-raidplaner
0 stars 0 forks source link

Show class icon next to username on raid signup drop down box #60

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I needed a way to show a class icon next to the username on raid signup. since 
on FFXIV you have multiple classes on one char. what we was doing is making 
classes under profile with the same char name. but the problem with doing that 
is... when you go to signup for a raid it only show (example) "DeamonHunter" 4 
times in the drop down list, so you had no way of knowing what class they are, 
so a easy fix for that was to add the class icon next to the name.

im sharing what i came up with just in case anyone else needs/wants something 
like that. hope its useful ^^

P.S. I also posting a screenshot of it so you can see what im talking about

Original issue reported on code.google.com by game...@gmail.com on 6 Jun 2013 at 7:36

Attachments:

GoogleCodeExporter commented 9 years ago
That's a bit tricky to implement as I have to attach the images ... somwhere 
^_^. Select fields do not support images by default, but I've already got an 
idea on how to do this.
Actually it's quite a nice idea as it helps to differentiate between options 
more clearly.

Will be implemented in 1.0 at the latest.

Original comment by arne.cl...@gmail.com on 6 Jun 2013 at 9:56

GoogleCodeExporter commented 9 years ago
Yes select fields dont work with images but you use combobox.. so all i did was 
when combobox makes the div's, i had combobox to add the image before it adds 
the text. as for the image. it uses the same images thats in classessmall and 
just sets the height and width to 14 in the img tag. for getting class name i 
just had "user.js.php" pull/set the class name when it pulls the char name and 
set a variable for it. and use that variable for the class name.

Original comment by game...@gmail.com on 6 Jun 2013 at 3:31

GoogleCodeExporter commented 9 years ago
Implemented in branch (1.0.0)

Original comment by arne.cl...@gmail.com on 30 Jun 2013 at 8:47

GoogleCodeExporter commented 9 years ago

Original comment by arne.cl...@gmail.com on 20 Oct 2013 at 7:55