Deleting the ability to Add Topic
I have installed bbpress for a client who does not want users to be able to add a topic.
Although I would like to see that as an option in settings, it is not, so I guess I have to get my hands dirty in the php files. OK fine.
So I’ve found and commented out the code in the forum.php and front-page.php files which contains the link to add a topic as so….
‘ <th><?php _e(‘Topic’); ?> <!–—–> <?php // new_topic(); ?></th>’
But to my dismay, I also see that a user can add a topic when they click on a Forum “Main Theme” title. The page they are taken to has a huge “New Topic in this Forum” area. I don’t want that and can’t quite figure out what file and what code I need to delete to get rid of that.
- You must be logged in to reply to this topic.