View Full Version : template condition ?
Mickie D
01-21-2004, 03:56 PM
i want to add a member of the year gif for my member who won :)
i can hard code it myself but i am sure you could use a template IF condition to do it ?
anyone know what it is ... as i dont have a clue about them template conditions
thank you very much in advance
NTLDR
01-21-2004, 03:59 PM
<if condition="$post['userid'] == X">code</if>
That assumes you want it in the postbit, replace X with the users userid and code with your HTML.
Mickie D
01-21-2004, 07:11 PM
<if condition="$post['userid'] == X">code</if>
That assumes you want it in the postbit, replace X with the users userid and code with your HTML.
your a star m8 .. this is much better than doing it hard coded.
and much easier i am gonna try and learn the new vbulletin conditionals .. is there a tut or just maybe a list of conditions ?
Zachery
01-21-2004, 08:40 PM
im currently working on a tutorial for them, but ive only been poking at it id honestly expect to see it next week, probally at vBt if not here as well
Mickie D
01-21-2004, 09:12 PM
i will have a good read of that tut m8y ;)
i am sure you told me on .nl the other day i got so many things happening i just finished a php tvguide that intergrates into vbulletin its pretty sweet but not sure if i will be releasing yet as i am gonna get a pal who is a php teacher to look over security and stuff
Zachery
01-21-2004, 09:14 PM
i will have a good read of that tut m8y ;)
i am sure you told me on .nl the other day i got so many things happening i just finished a php tvguide that intergrates into vbulletin its pretty sweet but not sure if i will be releasing yet as i am gonna get a pal who is a php teacher to look over security and stuff
i have a basic howto on vB3 if you want to check it out /look in Hacking Hints and Tip
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.