Status
Not open for further replies.
#42
Reuploaded everything anyway, the sig is apparently fixed, so yay on that. There's something off with the CSS though... check the current spotlight.
 
#44
Ah, the avatar's changed... I put it back to what it was. Notice the uneven indent of the text and the rather large gap between the avatar & text...
 

Dylan

Former Developer
#47
no problem :)
Try the package I just uploaded. You need to upload the files and import the product xml.
This one will remove the padding around the avatar, but it will make the column 10 pixels wider then the max image size and center the image. So if your avatar is the max size it will be centered with 5 pixels on each side.
 
#48
Cool, looks good, thanks!

Just one more question... we've got gender set up as a custom field... but US is listing a number instead of either picking up the text value or the gender icon (IIRC I set that up custom for the postbit). How can I fix that?
 

Dylan

Former Developer
#49
Cool, looks good, thanks!

Just one more question... we've got gender set up as a custom field... but US is listing a number instead of either picking up the text value or the gender icon (IIRC I set that up custom for the postbit). How can I fix that?
How is the custom field setup? Let me know how you set it up and I'll play with it in dev.
 
#50
It's a single question with 3 possible answers (Male, Female, Undisclosed), required at profile edit.

Then depending on the selection, I show an icon in the postbit:

Code:
<if condition="$show['member'] AND in_array($post['field5'], array(1,2))">
<img src="images/$post[field5].gif" alt="<if condition="$post[field5] == 1">Male<else />Female</if>" border="0" />
</if>
 

Dylan

Former Developer
#51
It's a single question with 3 possible answers (Male, Female, Undisclosed), required at profile edit.

Then depending on the selection, I show an icon in the postbit:

Code:
<if condition="$show['member'] AND in_array($post['field5'], array(1,2))">
<img src="images/$post[field5].gif" alt="<if condition="$post[field5] == 1">Male<else />Female</if>" border="0" />
</if>
So is it a user profile field that's a single selection dropdown with the values 1,2,3? If it is, why didn't you just do it with the text Male, Female, Undisclosed?
 
#52
It's a custom user profile field menu with 3 options (Male, Female, Undisclosed), just not a dropdown. The text values are Male, Female, Undisclosed, so I'm not sure where US is pulling those numbers from... but I expect vB has the text values saved under those numbers.
 

Dylan

Former Developer
#53
It's a custom user profile field menu with 3 options (Male, Female, Undisclosed), just not a dropdown. The text values are Male, Female, Undisclosed, so I'm not sure where US is pulling those numbers from... but I expect vB has the text values saved under those numbers.
I'm not sure how you created the profile field. On both vB3 and 4 I created a select menu with those 3 options and it worked fine on the spotlight custom field. It used the text from the options and not an id number.
 
#54
There's really no other way to do it than what vB presents you with... I didn't do anything special with it. David's got the admin account, you want to borrow it and check?
 

Dylan

Former Developer
#55
There's really no other way to do it than what vB presents you with... I didn't do anything special with it. David's got the admin account, you want to borrow it and check?
Ah okay, you did a multiple select menu instead of a single. Expecting many multi-gender users? lol
I'll play around with it on my dev
 
#56
Erm... it's not a multiple-select... it only allows a single option at a time. It's multiple-selection in type only because selection is limited to 1 choice, if you look at the field settings. This is on purpose; it makes all the possibilities visible right away and only takes one click, unlike with a dropdown, which allows neither.

In other words, there's a reason for it. ;)
 
Status
Not open for further replies.

User Spotlight

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
2
Customer rating
0.00 star(s) 0 ratings
Top