View Full Version : if posts in thread < 2 then ....
diesel08
03-23-2005, 01:08 AM
i want to add code between the nav bar and the thread when viewing a thread using showthread.php
i want the conditions for this text to be displayed to be:
if posts in this thread < 2 & forumid == 15 then show this <HTML>
how can i do this?
Link14716
03-23-2005, 01:26 AM
<if condition="($threadinfo['replycount'] + 1) < 2">
HTML CODE HERE
</if>
diesel08
03-23-2005, 01:36 AM
hey link
i dont see anything in your reply? did it maybe not save it?
thanks
If you can not see the code he posted it means your showing up as unlicenced, and you should go to vbulletin.com/members click on priority support, make sure your email here is entered there.
Then you can view his code.
diesel08
03-23-2005, 04:06 AM
i am confirmed... i have 2 registered licences.. can someone paste it outside the box so i can see it?
No one will, the reason it is in the box is to ensure that only valid members get to see it.
Your best bet if you are licenced is to double check your email and resubmit it.
diesel08
03-23-2005, 06:12 AM
wierd.. it works from home? i see the code.. i was logged in away from home and it doesnt work
anyway thats great, but how do i specify forumid = 15? within this code
<if condition="($threadinfo['replycount'] + 1) < 2 And $thread[forumid] ==15">
Change the first part to that, it should work for you
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.