Thanks, I will fix it.
Remove Topic Toolbar from certain categories
Is there a way to remove the topic toolbar from certain categories? The bar at the bottom that shows New Topic, Topic Tools, Sort by etc?
I have a few categories that have sub categories, i only want people to be able to post, see that bar etc in the sub categories, not the main one. I tried adjusting privileges but that bar still shows even if they cant post to it.
@whitts you don't expect to have any topics in those categories?
@pichalite Nope.. The users cannot post to the main category just the sub categories.. So i just though that those buttons would confuse people since they dont do anything anyway... (I made a mistake on my original post... New Topic doesnt show since it is disabled for registered users via privileges but the rest of the toolbar (Ignore, Sort by) and the banner: "There are no topics in this category.
Why don't you try posting one? " still shows when i dont think it should. Thanks,
MJ last edited by
I'm also looking for this.
enclose the DIV at this line with this
<!-- IF topics.length --> <!-- ENDIF topics.length -->
To remove the no topics in this category message... delete the lines 27 - 31
@pichalite Thanks.. Is there a way to specify category ids in the if statement since i cant use the topics count because I have several other categories that are currently empty that users need to post to.
@whitts Oh yes... forgot about that.
Move the IF condition at this line to cover the DIV tag at line 17
If you remove the "Create Topics" privilege then the toolbar will be hidden. It will be visible for Admins though.