View Full Version : Username Images (fixed version?)
Skyrider
12-07-2009, 02:50 PM
Currently I'm using This (https://vborg.vbsupport.ru/showthread.php?p=1926734#post1926734) to set up imaged usernames.. But I'm having difficulties with the code being added on membersinfo and whosonlinebit.
http://img694.imageshack.us/img694/210/weirdstuff.jpg
It seems to use my username image on every single username in whosonlinebit.
With the code being:
<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>
Anyone interested in helping/fixing this?
Lynne
12-07-2009, 03:02 PM
If you use $bbuserinfo - that is *you* the viewer, not the user who's name you are looking at. Try just $userinfo.
Skyrider
12-07-2009, 04:09 PM
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.
Lynne
12-07-2009, 04:44 PM
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?
Skyrider
12-07-2009, 04:49 PM
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?
Come again? ^^, not good at plugins / templates :D
Lynne
12-07-2009, 05:09 PM
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.)
WorldDomination
12-07-2009, 06:16 PM
I have a MOD very similar to this one that worked 100% last time I checked. You can find it here (https://vborg.vbsupport.ru/showthread.php?t=218327). Let me know if it doesn't work.
Skyrider
12-07-2009, 07:06 PM
I have a MOD very similar to this one that worked 100% last time I checked. You can find it here (https://vborg.vbsupport.ru/showthread.php?t=218327). Let me know if it doesn't work.
Thanks, I'll check in to it.. I wonder if a image username will be released for VB4. And Lynne, thanks for the help :).
Skyrider
12-09-2009, 12:33 PM
Anyway someone can create this for vBulletin 4.0?
Lynne
12-09-2009, 01:27 PM
Anyway someone can create this for vBulletin 4.0?
You should ask in the modification thread. Please read this - Requesting modification upgrades to vBulletin 4.0 (https://vborg.vbsupport.ru/showthread.php?t=229091)
Skyrider
12-09-2009, 02:02 PM
kk, thanks! Now I just need to figure out how to get the images to work in whosonlinebit ^^.
Lynne
12-09-2009, 02:17 PM
kk, thanks! Now I just need to figure out how to get the images to work in whosonlinebit ^^.
Well, I don't know the mod at all, but I am pretty sure I already said what the problem is - the field that you want to use on that page is not grabbed in the query. So, you need to add a plugin to hook into the query and add in that field (and maybe do a JOIN to the table needed).
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.