List Moderators
Posted by Chris Eaton
All files from this thread
File Name | File Size | Posted by | Date | ||
---|---|---|---|---|---|
listmoderators-2.1.1.zip | 5.7 KB | open | download | Oliver Riesen-Mallmann | 08/22/2006 | Read message |
dutch.zip | 362 bytes | open | download | iamback | 03/18/2007 | Read message |
List Moderators May 21, 2004 06:27PM |
Registered: 21 years ago Posts: 634 |
I've created a very simple module that lists the moderators in whatever forum the user is looking at. Its based off of my onlineusers module, and works pretty well the same way.
This probably won't work properly without a very current CVS version, or Phorum 5.0.6 (which as of the time of writing is not yet released).
Moderator remark:
The download link was removed from this message, since Oliver Riesen is now the active maintainer of this module. You can find the latest version of the module in this message now (Maurice)
Edited 1 time(s). Last edit at 08/23/2006 07:30AM by mmakaay.
This probably won't work properly without a very current CVS version, or Phorum 5.0.6 (which as of the time of writing is not yet released).
Moderator remark:
The download link was removed from this message, since Oliver Riesen is now the active maintainer of this module. You can find the latest version of the module in this message now (Maurice)
Edited 1 time(s). Last edit at 08/23/2006 07:30AM by mmakaay.
Re: List Moderators May 28, 2004 06:34AM |
Registered: 20 years ago Posts: 190 |
Re: List Moderators May 28, 2004 07:18AM |
Registered: 21 years ago Posts: 634 |
Re: List Moderators May 29, 2004 06:17AM |
Registered: 20 years ago Posts: 190 |
Re: List Moderators June 07, 2004 03:37PM |
Registered: 20 years ago Posts: 666 |
How would I change how it appears
<div class="PhorumStdBlockHeader PhorumHeaderText" style="text-align: left; margin-top: 5px;">Forum Moderators</div>
<div class="PhorumStdBlock"><a href='[www.domain.ext];
to just simply:
<b>Forum Moderators:</b> <a href='[www.domain.ext];
?
<div class="PhorumStdBlockHeader PhorumHeaderText" style="text-align: left; margin-top: 5px;">Forum Moderators</div>
<div class="PhorumStdBlock"><a href='[www.domain.ext];
to just simply:
<b>Forum Moderators:</b> <a href='[www.domain.ext];
?
Re: List Moderators June 07, 2004 05:16PM |
Registered: 21 years ago Posts: 634 |
Somebody with more knowledge of the template system then I have can probably correct me if I'm wrong on this.
I believe you can make a copy of stdblock.tpl in the template. Call it "moderators.tpl" or something like that, and change that accordingly.
Next open up /mods/listmoderators/listmoderators.php and change that command to load "moderators" instead of "stdblock".
*IN THEORY*, that will then output using the template in moderators.tpl instead of stdblock.tpl.
I believe you can make a copy of stdblock.tpl in the template. Call it "moderators.tpl" or something like that, and change that accordingly.
Next open up /mods/listmoderators/listmoderators.php and change that command to load "moderators" instead of "stdblock".
*IN THEORY*, that will then output using the template in moderators.tpl instead of stdblock.tpl.
Re: List Moderators June 07, 2004 11:30PM |
Registered: 20 years ago Posts: 666 |
Re: List Moderators February 13, 2005 04:44PM |
Registered: 19 years ago Posts: 8 |
Phorum 5
Error in mysql.
Warning: Missing argument 2 for phorum_db_user_get() in /forum/include/db/mysql.php on line 1584
To fix goto line 89 and change:
$user = phorum_db_user_get($user_id);
to:
$user = phorum_db_user_get($user_id, $detailed);
And all is good.
The $detailed is just ignored since it isnt used but it doesn't complain.
Error in mysql.
Warning: Missing argument 2 for phorum_db_user_get() in /forum/include/db/mysql.php on line 1584
To fix goto line 89 and change:
$user = phorum_db_user_get($user_id);
to:
$user = phorum_db_user_get($user_id, $detailed);
And all is good.
The $detailed is just ignored since it isnt used but it doesn't complain.
Re: List Moderators September 05, 2005 07:33AM |
Registered: 21 years ago Posts: 868 |
I get that error, but cant find anything similar at line 89
Sergej
------------------------------------------
^AU^ Assassins United
[www.assassinsunited.com]
------------------------------------------
Sergej
------------------------------------------
^AU^ Assassins United
[www.assassinsunited.com]
------------------------------------------
Re: List Moderators September 05, 2005 01:33PM |
Registered: 21 years ago Posts: 868 |
Changed lin 1596 to: function phorum_db_user_get($user_id)
Error is gone. Dont know if its the right thing to do though.........
Sergej
------------------------------------------
^AU^ Assassins United
[www.assassinsunited.com]
------------------------------------------
Error is gone. Dont know if its the right thing to do though.........
Sergej
------------------------------------------
^AU^ Assassins United
[www.assassinsunited.com]
------------------------------------------
Sorry, only registered users may post in this forum.