![]() |
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 |
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. |
Ok thank you, perhaps a good idea for a plugin? :)
|
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 |
Ah ok, I though that would have prevented posts being made in any child forums.. Thanks :)
|
No that just stops posts being made in THAT forum
|
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. |
I have it set this way on my forums and it works fine mate
|
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.. |
Never had the setup to notice the change I guess :) good to know. :)
|
This is my setup, see the working groups forum.
It would be nice if this could be changed at some point so that forums as categories can still display last post links. :) |
Cant see why they are not showing as they do on mine
Wonder if you have the Sub-Forums set up correct ? http://img560.imageshack.us/img560/8397/awaw.png Uploaded with ImageShack.us http://img20.imageshack.us/img20/7672/awawawaw.png Uploaded with ImageShack.us |
Yes, mine is set up just like that. If I click onto the parent forum/category, it lists the child forums & last post links display. However, when set to forum is open - Yes, the last post from any of the child forums also shows up on index..
http://img62.imageshack.us/img62/7751/forumcategory.gif |
Yeah, not displaying due to it being a 'category'.
Doubt this mod would be of any help https://vborg.vbsupport.ru/showthrea...ight=last+post --------------- Added [DATE]1326321927[/DATE] at [TIME]1326321927[/TIME] --------------- What if you got rid of the 'Working Groups Forum' (ID 5) Category and just made the 'Working Groups' (ID 18) the category? --------------- Added [DATE]1326321958[/DATE] at [TIME]1326321958[/TIME] --------------- It kinda looks like a category inside of a category. |
My first image is my forumhome - http://www.nextgenerationgamers.co.uk/forums/forum.php
As you can see it works fine thats why i asked if you had set the forums - subforums up correctly |
No lol, but I'm gonna install that mod anyway cos it's cool!
Maybe I'll ask there if the author can add this functionality since it seems more appropriate to that mod. Thanks :) --------------- Added [DATE]1326322355[/DATE] at [TIME]1326322355[/TIME] --------------- Quote:
The design of your site is fantastic btw! |
WORKING GROUP FORUMS
Act as Forum (Will act as category if no) - NO Forum is Active (Will not appear if set to no, but remains accessible if the forum's URL is known) - YES Forum is Open (Set this to 'No' to prevent any new posts being made in this forum) - NO EACH SUB-FORUM Act as Forum (Will act as category if no) - YES Forum is Active (Will not appear if set to no, but remains accessible if the forum's URL is known) - YES Forum is Open (Set this to 'No' to prevent any new posts being made in this forum) - YES Try the above mate and see if that works |
yeah but the current stucture is
Working Group Forums - CAT --Working Groups - CAT ----SUB ----SUB ----SUB I think that there being 2 categories is the issue. |
Hmm, betts2 seems to be able to go from
CAT --Sub Forum How is that done? |
Try it like i posted mate
|
Set up exactly as you suggested, but still no last post shows..
|
STEP/1
WORKING GROUP FORUMS Parent Forum - No One Act as Forum (Will act as category if no) - NO Forum is Active (Will not appear if set to no, but remains accessible if the forum's URL is known) - YES Forum is Open (Set this to 'No' to prevent any new posts being made in this forum) - NO STEP/2 WORKING GROUPS Parent Forum - WORKING GROUP FORUMS Act as Forum (Will act as category if no) - YES Forum is Active (Will not appear if set to no, but remains accessible if the forum's URL is known) - YES Forum is Open (Set this to 'No' to prevent any new posts being made in this forum) - NO STEP/3 GENERAL WORKING GROUPS DISCUSSION Parent Forum - WORKING GROUPS Act as Forum (Will act as category if no) - YES Forum is Active (Will not appear if set to no, but remains accessible if the forum's URL is known) Forum is Open (Set this to 'No' to prevent any new posts being made in this forum) If that works then repeat step 3 for each sub-forum and let me know mate |
Thank you thank you thank you!!
It was step 2, I had that set as a category.. :D |
Glad to help mate
|
All times are GMT. The time now is 09:38 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:
|