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

Home » FUDforum Development » Plugins and Code Hacks » Avatar Moderator flag
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
Avatar Moderator flag [message #36219] Thu, 08 March 2007 17:48
Marticus   United States
Messages: 272
Registered: June 2002
Karma: 1
Senior Member
add to buddy list
ignore all messages by this user
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')))
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
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: Sun Oct 22 00:34:38 EDT 2017

Total time taken to generate the page: 0.00568 seconds