Post Icon Permission Plugin
#45
arg!!!! i wish i was fluent in php and how mybb worked. I could just write it myself.

I finally had gotten a hack for this. 

1) I downloaded template conditionals 
http://mybbhacks.zingaburga.com/showthread.php?tid=464

2) enabled it

3) insert the below code in replace of {$posticons} in both these lcoations...
ACP -> Templates and Styles -> Templates -> default -> New Reply Templates -> newreply
ACP -> Templates and Styles -> Templates -> default -> New Thread Templates -> newthread

<if $GLOBALS['mybb']->user['usergroup'] == 4 || $GLOBALS['mybb']->user['usergroup'] == 3 then>{$posticons}</if>

4) (change the id to your admins/mods id) .... where 4 is the id of my admin and 3 is the id of my super mods. Apparently this can change. To find out what the ID is , go to your user groups and select each group, and in the URL it will show at the end the id number

AKA if the user group is allowed, then only show the post icons. Because the default is show no icon, all other users by default will show no icon, and they wont even have the option to change it.
Reply


Messages In This Thread
Post Icon Permission Plugin - by kylesw555 - 2013-02-04, 03:37 PM
RE: Post Icon Permission Plugin - by kylesw555 - 2016-05-12, 11:55 AM
RE: Post Icon Permission Plugin - by kylesw555 - 2016-05-16, 12:15 PM
RE: Post Icon Permission Plugin - by kylesw555 - 2016-05-31, 10:23 AM
RE: Post Icon Permission Plugin - by kylesw555 - 2016-06-02, 08:58 PM
RE: Post Icon Permission Plugin - by kylesw555 - 2016-06-10, 11:11 AM
RE: Post Icon Permission Plugin - by kylesw555 - 2016-09-28, 01:12 AM
RE: Post Icon Permission Plugin - by kylesw555 - 2016-09-30, 02:12 AM
RE: Post Icon Permission Plugin - by metulburr - 2016-09-30, 03:07 AM
RE: Post Icon Permission Plugin - by kylesw555 - 2016-10-29, 11:47 AM
RE: Post Icon Permission Plugin - by metulburr - 2016-10-29, 01:42 PM
RE: Post Icon Permission Plugin - by kylesw555 - 2017-01-01, 07:42 PM
RE: Post Icon Permission Plugin - by metulburr - 2017-01-03, 03:37 PM
RE: Post Icon Permission Plugin - by kylesw555 - 2017-01-03, 07:52 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)