![]() |
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?
|
I am using it in postbit. Thats the only way I could think of having the form after every first post. But I only want it in some forums, not all.
Regards, Saurav |
I thought foruminfo worked in the postbit, hmm. Try $post or $thread
P.S. Be aware that there may be conflicts between your form and the inlinemod form if you are adding forms to the postbit, make sure you test it out first. |
Quote:
There were confilcts, thats why I put the form on a new HTML page and just added an iframe to save me time. Now I just need it in certain forums and not in every forum. I tried this, but it doesnt work for catagories. So if forumid 234 has 10 subforums, it only works for the threads in the forum234, not its subforums. Quote:
|
All times are GMT. The time now is 03:08 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:
|