FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Plugins and Code Hacks » Avatar Moderator flag
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Avatar Moderator flag [message #36219] Thu, 08 March 2007 22:48
Marticus   United States
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')))
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Members link to profiles in Group Manager
Next Topic: Read / Unread indicators on compact forums
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 30 19:06:59 GMT 2024

Total time taken to generate the page: 0.02052 seconds