List Moderators

Posted by Chris Eaton 
Re: List Moderators
August 18, 2006 08:54AM
Hi Phorum developer team,

Quote
Oliver Riesen
...change "Ignore Admin for moderator-emails" (last option on this page) to "yes".

Since this option should only affect email sending I think it's better to extend phorum_db_user_get_moderators, line 1942-1946:

Actualy:
       if(!$PHORUM['email_ignore_admin']) {
            $admincheck=" OR user.admin=1";
       } else {
            $admincheck="";
       }

Proposed (not tested):
       if(!$PHORUM['email_ignore_admin'] && $for_email) {
            $admincheck=" OR user.admin=1";
       } else {
            $admincheck="";
       }

Regards
Oliver


Using Phorum since 7/2000: forum.langzeittest.de (actual version 5.2.23)
Modules "Made in Germany" for version 5.2: Author_as_Sender, CarCost, Close_Topic, Conceal_Message_Timestamp,
Format_Email, Index_Structure, Mailing_List, Pervasive_Forum, Spritmonitor, Terms_of_Service and German_Language_Files_Package.
Re: List Moderators
August 18, 2006 08:59AM
great! worked instantly :)

thank you again.

have a nice weekend.

Net.
Re: List Moderators Module, new Version
August 20, 2006 12:37AM
Oliver

Something weird happened just after I moved my database from Phorum 3 to Phorum 5. There are mods appearing who are NOT mods and do not have permission to be mods on the list. Also, when I click on their names to check their profile it links to some one elses profile.

I double checked each person in EDIT USERS and they indeed do NOT have permission to be a mod in that particular forum. Also, no matter what I do I cant add a mod...unless its one of those cache things and I just have to wait.

How can I delete these people from the mod list when they dont have mod permission to begin with?

Michael Horton
lafcpug
[www.lafcpug.org]
Re: List Moderators Module, new Version
August 20, 2006 12:50AM
Never mind. All of a sudden its back to normal. Weird. Is there a limit on the amount of mods names one can have? I have seven in one forum but only 6 are showing up.

Michael Horton
lafcpug
[www.lafcpug.org]
Re: List Moderators Module, new Version
August 21, 2006 01:18AM
Hi Michael,

Quote
Michael Horton
Is there a limit on the amount of mods names one can have? I have seven in one forum but only 6 are showing up.

There isn't such limit in the module. The module uses a Phorum core function to get all moderators.

Is it possible that the missing moderator is also an admin? Displaying admins depends on general settings, "Ignore Admin for moderator-emails" (last option on this page).

Regards
Oliver


Using Phorum since 7/2000: forum.langzeittest.de (actual version 5.2.23)
Modules "Made in Germany" for version 5.2: Author_as_Sender, CarCost, Close_Topic, Conceal_Message_Timestamp,
Format_Email, Index_Structure, Mailing_List, Pervasive_Forum, Spritmonitor, Terms_of_Service and German_Language_Files_Package.
Re: List Moderators Module, new Version
August 21, 2006 10:45AM
No. She is not an admin

Michael Horton
lafcpug
[www.lafcpug.org]
Re: List Moderators Module, new Version
August 21, 2006 01:49PM
Hi Michael,

Quote
Michael Horton
No. She is not an admin

Sorry, no more ideas. Please look at function phorum_db_user_get_moderators in mysql.php. Try to run the both sql command directly in your database (you have to replace some constants) for example with phpmyadmin.

Do you get the expected seven moderators?

Asking
Oliver


Using Phorum since 7/2000: forum.langzeittest.de (actual version 5.2.23)
Modules "Made in Germany" for version 5.2: Author_as_Sender, CarCost, Close_Topic, Conceal_Message_Timestamp,
Format_Email, Index_Structure, Mailing_List, Pervasive_Forum, Spritmonitor, Terms_of_Service and German_Language_Files_Package.
Re: List Moderators Module, new Version
August 21, 2006 06:46PM
Hi Oliver

Well...all of a sudden she showed up. Not sure what is going on but it seems to take a day or 2 for things to change. Might be a cache problem but not sure. Anyway, all is well now.

Thanks for all.

Michael Horton
lafcpug
[www.lafcpug.org]
Re: List Moderators Module, new Version
August 22, 2006 01:57AM
Hi Michael,

Quote
Michael Horton
Might be a cache problem but not sure.

New version 2.1.1 in my original post with extended documentation treating these problems.

Regards
Oliver


Using Phorum since 7/2000: forum.langzeittest.de (actual version 5.2.23)
Modules "Made in Germany" for version 5.2: Author_as_Sender, CarCost, Close_Topic, Conceal_Message_Timestamp,
Format_Email, Index_Structure, Mailing_List, Pervasive_Forum, Spritmonitor, Terms_of_Service and German_Language_Files_Package.
Re: List Moderators Module (5.1 ready)
March 18, 2007 02:30AM
Using it on my new Travel Forum, thanks!

Not that it amounts to much ;) but I created corresponding language files for Dutch and Dutch informal. Attached together in one zip.

-- Marjolein Katsma * Marjolein's Travel blog * Marjolein's Travel Forum
The first condition of understanding a foreign country is to smell it.
-- Rudyard Kipling
Attachments:
open | download - dutch.zip (362 bytes)
Sorry, only registered users may post in this forum.

Click here to login