![]() |
forumdisplay..
http://img20.imageshack.us/img20/3192/rcrcrcrc.jpg
In the forum ID 32, how can I make it not show tag icons, sticky icons, attachment icons, etc. Where do i add the if condition? I couldn't find it. |
To find the template to modify, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code.
|
<a href="https://vborg.vbsupport.ru/showthread.php?t=215032" target="_blank">vBulletin Template Conditionals</a>
|
Thanks, both of you.
Code:
<if condition="$show['taglist'] OR $show['moderated'] OR $show['deletedthread'] OR $show['paperclip'] OR $show['subscribed'] OR $show['sticky'] OR $show['rexpires']"> I made it into: Code:
<if condition="$forum[forumid] != 32"><div> (It was the threadbit template) |
Try $thread['forumid'] or $threadinfo['forumid'] (It always helps to look at the code and see the name of the other variables being used. Notice in the code you posted that they use $thread.)
|
I don't understand what you mean, Lynne.
|
I think Lynne is trying to say, instead of using
HTML Code:
<if condition="$forum[forumid] != 32"> HTML Code:
<if condition="$thread['forumid'] != 32"> HTML Code:
<if condition="$threadinfo['forumid'] != 32"> |
Ah! And it worked!
Thanks for all the help Lynne, and Redline! |
No problem :)
|
All times are GMT. The time now is 06:25 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|