Home »
FUDforum Development »
Plugins and Code Hacks »
Avatar Moderator flag
Avatar Moderator flag [message #36219] |
Thu, 08 March 2007 22:48 |
Marticus
Messages: 272 Registered: June 2002
Karma: 1
|
Senior Member |
|
|
As there was a flag for moderating users, I decided to make an effort to add a moderate avatar flag. To do this, I need two things. Find out where in the code the user_opts values are being set and find a nice value for avatar moderator. Then I'll need to change the adm template to add the option under User Moderator and add the code to admincp.inc.t similar to: if ($FUD_OPT_2 & 1024 && ($accounts_pending_approval = q_singleval('SELECT count(*) FROM {SQL_TABLE_PREFIX}users WHERE users_opt>=2097152 AND (users_opt & 2097152) > 0 AND id > 0')))
|
|
|
Goto Forum:
Current Time: Sat Nov 30 19:06:59 GMT 2024
Total time taken to generate the page: 0.02052 seconds