Privileges for paid-up members [message #159168] |
Sun, 10 May 2009 17:04 |
srchild
Messages: 88 Registered: December 2003 Location: UK
Karma: 1
|
Member |
|
|
I run a fudforum where the users either are or are not paid-up members of the organisation running the forum. We'd like to recognise the paid-up status of the paid-up members by giving them extra privileges. I though allocating the paid-up members to a 'paidup' group would be the way forward, and it is to some extent, but I wonder whether/how this can be taken further.
For example, with groups I could give search permission to paidups but not to others.
But a lot of settings, for example enabling rights to use avatars, email notifications, and similar, seem not to apply to groups but are global, so I can't give 'favours' of these kinds to paidups without also giving them to others (or am I overlooking something?)
Thanks
Simon Child
|
|
|
|
Re: Privileges for paid-up members [message #159170 is a reply to message #159169] |
Sun, 10 May 2009 18:50 |
srchild
Messages: 88 Registered: December 2003 Location: UK
Karma: 1
|
Member |
|
|
naudefj wrote on Sun, 10 May 2009 19:40 | It's fairly easy to extend the group management system to also apply to avatars, etc. However, someone would need to write a patch before it can be implemented.
|
Can you give me an idea where I should be looking and I'll see how it looks?
Thanks
Simon Child
|
|
|
|
Re: Privileges for paid-up members [message #159178 is a reply to message #159175] |
Sun, 10 May 2009 22:38 |
srchild
Messages: 88 Registered: December 2003 Location: UK
Karma: 1
|
Member |
|
|
naudefj wrote on Sun, 10 May 2009 21:55 | Grep the src directory for p_SEARCH and similarly implement a p_AVATAR. Two simple edits and theme rebuild should do it.
|
Four edits later... groupmgr.php.t, groups.inc.t, groupmgr.tmpl and msg
That puts an entry in groups manager for avatar, but of course (?) enabling it has no effect if avatars disabled in admin control panel, and if I enable avatars in admin control panel then they appear to be enabled for everyone regardless of whether my new option is enabled or disabled.
Is it simply a matter of setting the correct opt value in group_perm_array in groups.inc.t (I tried 4194304), or (more likely) am I going to have to hack some code somewhere else - since what I seem to be trying to do here is to override a global setting usually set in admin control panel?
Thanks
Simon Child
|
|
|