The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Adding something to just one person's postbit
I want to add a html snippet to a certain user's postbit. How can I do this? I know that I need to put a template variable in there, but I just don't know which one. I tried $post[userid], but I think I'm on the wrong path there; it added it to everyone's. What do I do?
|
#2
|
||||
|
||||
$post[userid] is the userid of the person who made the post. Post up what you coded and what the result was and we can take a look.
|
#3
|
||||
|
||||
You can use:
HTML Code:
<if condition="$post[userid] == 'x'">HTML HERE</if> HTML Code:
<if condition="$post[username] == 'x'">HTML HERE</if> |
#4
|
|||
|
|||
Code:
<if condition="$post[userid]=X">HTML</if> |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|