![]() |
Can certain box appear in certain forum / catagories?
I want a form to appear in specific forums or catagories after post #1. I am not sure how to do this. I have done it so it appears in all forums after post #1.
This is the code I use. Code:
<!-- iRapid Links Checker starts here --> |
Try this conditional
Quote:
Quote:
Best regards, Val. |
Quote:
I had a feeling it would be something similar to $forum[forumid] == X but wasnt sure if I could have two if's. Works :) Is it possible so I only have to enter the catagory number rather than the forum number as I have over 200 (sub)forums and I only want it in half of them? Regards, Saurav |
Quote:
<if condition="in_array($forumid, array(X,Y,Z))"></if> Add as much forum/category ids as you want separated by commas Regards, Val. |
Unfortunately it doesn't work :(
Thanks for trying. Regards, Saurav |
how about this one
<if condition="in_array($forum['forumid'], array(1,2,4,6,10,21,38))"></if> |
Nope, doesn't work sorry.
Regards, Saurav |
$foruminfo instead of $forum
|
Quote:
Regards, Saurav |
Which template are you using this in?
|
All times are GMT. The time now is 05:11 PM. |
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:
|