The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Hide post new thread button if forum is a category?
I just set up a new category, under which there is a forum (which has been set as a category) that has sub-forums. The post new thred button still appears in the forum which has been set to be a category.
Is there any way to hide the post new thread button when a forum has been set to category for the forum in red? CATEGORY >> FORUM >> SUB-FORUMS |
#2
|
||||
|
||||
Go into FORUMDISPLAY and wrap the 'post new thread' button in a != conditional with the category id(s)
list of conditionals can be found in the vB4 articles. |
#3
|
|||
|
|||
Ok thank you, perhaps a good idea for a plugin?
|
#4
|
||||
|
||||
There is an option when creating each forum :
Forum is Open (Set this to 'No' to prevent any new posts being made in this forum) Yes/No |
#5
|
|||
|
|||
Ah ok, I though that would have prevented posts being made in any child forums.. Thanks
|
#6
|
||||
|
||||
No that just stops posts being made in THAT forum
|
#7
|
||||
|
||||
pretty sure that even setting it from posts to be made, the button is still visible. (unless they changed that recently).
I know in the past (sometime around 4.0.x) I had to wrap the button around a conditional for aesthetic purposes due to this reason. |
#8
|
||||
|
||||
I have it set this way on my forums and it works fine mate
|
Благодарность от: | ||
LifesGreatestGift |
#9
|
|||
|
|||
I just changed "Forum is open" to no. The post new thread button doesn't appear now and people can still post in the child forums.
However, the downside is that the last post link disappears.. |
#10
|
||||
|
||||
Never had the setup to notice the change I guess good to know.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|