The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How do I show a custom field
Currently vBulletin was displaying a user's ID.
I've created a custom field "field5" as a required field to ask users to enter their nicknames. I was able to display a user's nickname by doing so in the postbit & postbit_legacy template: Code:
<if condition="$post['field5']">$post[field5]<else />$post[musername]</if> Is there anyone know how to do this? |
#2
|
|||
|
|||
what you have to do is (for Forumhome) find where $activeusers is defined and alter it there. If you can find where it is defined in a PHP file i can then help you.
|
#3
|
|||
|
|||
Quote:
Isn't $activeusers defined as currently online users? what I want to do is to replace every userid with their nickname (field5) - not sure if this is clear? |
#4
|
|||
|
|||
For this, you'd have to find the musername variable and redefine it.
|
#5
|
|||
|
|||
can you please shed some lights on this? how do I redefine musername to do this?
|
#6
|
|||
|
|||
bump
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|