PDA

View Full Version : Adding something to just one person's postbit


MTGDarkness
06-17-2009, 03:54 PM
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?

Lynne
06-17-2009, 04:39 PM
$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.

Gio~Logist
06-17-2009, 04:44 PM
You can use:<if condition="$post[userid] == 'x'">HTML HERE</if>

or

<if condition="$post[username] == 'x'">HTML HERE</if>

MTGDarkness
06-17-2009, 04:55 PM
<if condition="$post[userid]=X">HTML</if>