The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Username Images (fixed version?)
Currently I'm using This to set up imaged usernames.. But I'm having difficulties with the code being added on membersinfo and whosonlinebit.
It seems to use my username image on every single username in whosonlinebit. With the code being: Code:
<a href="member.php?$session[sessionurl]u=$userinfo[userid]"><if condition="$bbuserinfo['field5']"><img src="$bbuserinfo[field5]" width="120" height="30" /> <else />$userinfo[musername]</if> |
#2
|
||||
|
||||
If you use $bbuserinfo - that is *you* the viewer, not the user who's name you are looking at. Try just $userinfo.
|
#3
|
|||
|
|||
I've changed it to $userinfo, but now all usernames are text.. My username is also text based, and isn't shown in an image.
|
#4
|
||||
|
||||
Did you make sure the query for the page actually gets field5 for you? Or rather, did you remember to add field5 to the query for the page?
|
#5
|
|||
|
|||
Come again? ^^, not good at plugins / templates
|
#6
|
||||
|
||||
Well, take a look at the query for that page. Is userinfo.field5 a field that is grabbed in the query? Did you add it? If you didn't add it and it isn't grabbed in the query, then you need to add it somehow. (I have no idea, I'm asking you if you have looked.)
|
#8
|
|||
|
|||
Quote:
|
#9
|
|||
|
|||
Anyway someone can create this for vBulletin 4.0?
|
#10
|
||||
|
||||
You should ask in the modification thread. Please read this - Requesting modification upgrades to vBulletin 4.0
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|