![]() |
Defining a forum id conditional?
Does anyone know anyway to define a forumid conditional?
What I'm basically looking to do is replace the new thread button on 4 different forums with a new link, but I want the other forums to remain intact. Is there a global forumid conditional to call here? |
It would be something like this:
HTML Code:
<if condition="$forum[forumid] = 1 OR $forum[forumid] = 3 OR $forum[forumid] = 5"> |
perfect - thanks!
|
What would the conditional be if I wanted something to appear on all the pages EXCEPT the forumhome?
thanks |
Quote:
hehe </if> Why not use in_array() rather than all the ORS |
I actually just learned about the array =)
|
What im trying to do is add a second column in the navigation bar on all pages except the forum home - All the information appears if I remove the conditional (on all the pages) - If I add the <if> condition then none of the code shows up on any page.
any ideas? PHP Code:
I just realized that the conditional is working if im in a thread - but doesnt work on any Main forum page - when I say main forum page I mean everything outside of a post... this is the code PHP Code:
|
Any ideas what I can change to make it show on the main forums?
|
All times are GMT. The time now is 09:27 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:
|