View Full Version : Real Name in User Name
DivineMessenger
05-29-2008, 12:42 AM
What I want to do is put user's real names in parenthesis next to their username on the user's online list.
Example:
Users Online: DivineMessenger (Dexter),
There is currently a user field for names so I want to link that in next to their username somehow. Is this doable?
Reeve of shinra
05-29-2008, 12:51 AM
add $post[field5] to your postbit template (and any others you want to show this info). You can add this next to or below the username.
(field5 may be another # depending on when you created it, check your user profile fields section of the admincp to confirm).
DivineMessenger
05-29-2008, 01:47 AM
I want it everywhere their username is listed though.
GameWizard
05-29-2008, 05:10 AM
Then only real way I can think of is to manually edit incorporate the field into every location where the username appears, or create a plugin which will change the output of the username to include the username, which I am uncertain is even possible.
DivineMessenger
05-29-2008, 05:32 AM
yeah, seems pretty unable to be done but can you give me an example? username([field5])??
GameWizard
05-30-2008, 07:44 PM
beside the username code you should have something like this:
$userinfo[field5]
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.