Only allow admins / editors to edit topic tags
I have a small forum that I use for some support on plugins for various open source projects. I currently allow anonymous users to post topics and replies, but protect the forum with Akismet and the bbPress recaptcha plugin. This seems to take care of many spurious spam posts. However, I seem to have an extremely large amount of topic tags that are spam. I have several questions about that:
- Can topic tags be created without a topic creation or reply or reply edit?
- Can topic tags be turned off for anonymous users? (I don’t believe so, but would love to know otherwise)
- Which files do I have to edit to only allow editing of topic tags by registered users and/or admins?
Good question i would like to know also.
I doubt somebody has figured it out because i see this happening al the time at bbPress and WordPress forums.
Add the tagged words that clearly have nothing to do with your support-forum like Abercrombie, NBA, Air Jordan and stuff like that to the WordPress settings blacklist.
> Can topic tags be created without a topic creation or reply or reply
No, I dont believe so. Try going to /forums/topic-tag/whatevertag/edit/ on yoir site whilst logged out and check what an anonymous user can perform on that ‘whatevertag’
> Can topic tags be turned off for anonymous users? (I don’t believe so,
> but would love to know otherwise)
You are correct ‘Topic Tags’ can only be enabled/disabled site wide and not for specific user roles.
> Which files do I have to edit to only allow editing of topic tags by
> registered users and/or admins?
I’m not sure on the finer points of this though for a start have a look at this ticket https://bbpress.trac.wordpress.org/ticket/1806 and the changesets 4098 & 4099. This ticket was for the changes to enable/disable ‘Topic Tags’ sitewide so hopefully that can give some more pointers on where and what to look for.
- You must be logged in to reply to this topic.