![]() |
restrict post icons to admins/mods - Printable Version +- MyBB Community Forums (https://community.mybb.com) +-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html) +--- Forum: General Support (https://community.mybb.com/forum-176.html) +--- Thread: restrict post icons to admins/mods (/thread-202803.html) |
restrict post icons to admins/mods - metulburr - 2016-09-25 Is there a way to restrict post icons to admins and mods? Everyone on the forum can see them, but only admins and mods can make the post icons choice. RE: restrict post icons to admins/mods - alfred702 - 2016-09-25 This is a good question, I'm assuming the code would look something like this
RE: restrict post icons to admins/mods - metulburr - 2016-09-25 no i mean not to display, but to add them. Everyone on the forum can see them, but only admins and mods can make the post icons choice. The reason is no one uses them, and all we admins/mods use them for is is the I icon for information and such. Is there a way to disable them completely? RE: restrict post icons to admins/mods - alfred702 - 2016-09-25 (2016-09-25, 08:47 PM)metulburr Wrote: no i mean not to display, but to add them. Yes I understand, this code would still work, you would insert this only for new threads. EDIT: Go to Post Icons in control pannel and delete all of them. You might need to edit some templates (displaythread) RE: restrict post icons to admins/mods - metulburr - 2016-09-25 Yeah im not fluent in PHP or how MyBB works, otherwise i would do it. RE: restrict post icons to admins/mods - alfred702 - 2016-09-25 (2016-09-25, 08:49 PM)metulburr Wrote: Yeah im not fluent in PHP or how MyBB works, otherwise i would do it. You're familiar with HTML/CSS though? I'm going to do this to my forum, I've been wanting to do it for a while. I probably won't have time until tomorrow though. I'll post the code back here RE: restrict post icons to admins/mods - metulburr - 2016-09-25 yeah i could do that. But i was kinda hoping someone would come along and say put X line here and it will only allow mods and admins to insert post icons. lol RE: restrict post icons to admins/mods - metulburr - 2016-09-27 Quote:I'm going to do this to my forum, I've been wanting to do it for a while. I probably won't have time until tomorrow though. I'll post the code back hereThat would be great ![]() RE: restrict post icons to admins/mods - metulburr - 2016-10-11 I foudn my answer to this First install template conditionals plugin then go to newreply and new thread templates and change posticon variable from this
to this of course make sure the ID numbers are the same as your admins and mods
|