Author |
Topic |
GauravBhabu
Advanced Member
4288 Posts |
Posted - 31 January 2002 : 18:09:20
|
Mod Moderation SetUp
Author : GauravBhabu(Rakesh Jain) http://www.forumsquare.com Upload : January 31, 2002 18:00:00
Last Update : February 04, 2002 02:25:00
Note: All those who have installed this feature may(recommended)download the zip again and replace the admin_moderators.asp Always Keep back up of the files you replace.
Download Link: Mod Easy Moderation
Version 2.0.00 Installation Level: 1 (1 to 10) 1=Easy 10=Difficult
Description:
- Easy Moderation SetUp!!!! Saves Time and Effort.
- This mod makes the task of assigning Moderators to Forums really easy.
- Used selectbox.js - An existing Script which is currently in use with the forum code
- Also used some Other existing code snippets from forum code and modified for development of this feature.
Features:
- Easy Moderation Setup.
- One step Installation for Moderation From Admin Panel.
- Three Step Installation for Moderation from Main Forums page and Members page.
- Assign/Update Moderators From Admin Panel.
- Select Categories/Forums/Moderators From Drop Down Lists
- Three Methods to set up Moderation.s]Two[/s]Now Three Methods to setup Moderation
- Moderation By Category
- Select Category and Update Moderation for all the Forums within the Category.
- All selected Moderators will be assigned to all the forums within the Category.
- Previous Moderation authorizations will be deleted for all Forums within this category.
- Moderation By Forums
- Select Forum and Assign/Remove One or Multiple Moderators To/From the Forum
- Moderation By Moderators
- Select Moderator and Assign/Remove the Moderator to/from One or Multiple Forums
- Tested and works as expected.
- No Known Bugs at present.
------------------------------------------------------------- History ============================================================= February 01, 2002 -------------------------------------------------------------
- Category Moderation Added.
- All those who downloaded before the last update should download and replace the admin_moderators.asp
- Restructured the code for better maintainance and raedability.
- Reset the variables names to avoid conflicts with the Global variables. Added "s" as Prefix to all Script level variables.
- Changed few(about 10) remaining statements to use Response.write
- Now the File is written in total ASP except for JavaScript functions.
---------------------------------------------------------------- February 03, 2002 ----------------------------------------------------------------
- Restructured the code. Code is fully doccumented with comments.
- For International Version I have noted the Line numbers at the beginning of file, which indicates that Text on these lines will be displayed, when the file is loaded by the user.
- Previous versions included Files for Moderation set up from Admin panel only.
- Added Moderation from main Forum Page and Members page in this version.
-------------------------------------------------------------
www.forumSquare.com - GauravBhabu - It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying.
Edited by - GauravBhabu on 05 February 2002 00:45:18 |
|
Morpheus73
Average Member
Denmark
597 Posts |
Posted - 31 January 2002 : 19:33:46
|
Another KILLER MOD from G!
thx!
- Maybe we can have a pop_moderate file, that takes you directly to the select users boxes for the chosen forum? - in a pop_up?
Edited by - morpheus73 on 31 January 2002 19:38:21 |
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 31 January 2002 : 20:24:26
|
GauravBhabu,
This is an excellent idea.
Looks like you left in your class statements though, I get a black table with darkblue letters when using the default Snitz colors.... |
|
|
GauravBhabu
Advanced Member
4288 Posts |
Posted - 31 January 2002 : 20:28:46
|
Thanks Richard, I was working on it since morning and Just got lazy to write that extra code to replace the class statements.
They are on Line 80, 96 and 100. I will correct it in the zip.
Corrected. Zip Updated.
www.forumSquare.com - GauravBhabu - It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying.
Edited by - GauravBhabu on 31 January 2002 21:39:58 |
|
|
Nathan
Help Moderator
USA
7664 Posts |
Posted - 31 January 2002 : 21:03:16
|
Excellent idea Gaurav.
The following two ideas are not mine, they have been requested in the help forum. I put them here incase you or anyone wanted to play with them.
One idea would be to add an icon to default.asp for each forum that links to the mod setup for that forum.
The other idea would be to add moderation by catagory. It could use the same page format as by forum, but it would take a function that would loop through the cat and add or subtract moderators from all the forums in the cat rather than just the one forum.
Nathan Bales - Romans 15:13 --------------------------------- Snitz Exchange | Mod Resource |
|
|
Morpheus73
Average Member
Denmark
597 Posts |
Posted - 31 January 2002 : 21:27:53
|
Category admins would be SO cool!
Morpheus73 - Troelsr@msn.com |
|
|
GauravBhabu
Advanced Member
4288 Posts |
Posted - 31 January 2002 : 21:42:41
|
Updated the zip to include the font tags. Someone please check and test the new file and post if It is working okay. Added comments to the code for maintainance and developemnt, No change otherwise.
www.forumSquare.com - GauravBhabu - It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying. |
|
|
Dubie
Junior Member
USA
127 Posts |
Posted - 01 February 2002 : 01:48:07
|
Here is a lil idea for this great Mod.
Idea: Let us be able to give permission to delete users to the Moderators and any other options you might want to give someone to help out.
Like: Let Moderator Steve be able to lock out users and ban ips and so on, But not the other Moderators.
if something like that is even possible.
Always play with Honor & Respect...
|
|
|
Washi
Starting Member
5 Posts |
Posted - 01 February 2002 : 10:11:03
|
Have you encountered an error where the footer wont show, and it comes up (sorry my webhost is in swedin)
Körningsfel i Microsoft VBScript fel '800a000d'
Inkompatibla typer: 'WriteFooter'
/gdcclan/mforum/admin_moderators.asp, line 293
Its trying to call a routine that isnt there, my guess is that it would be quite short, but id still prefer it to be as the author had designed it
btw: even with the error, this MOD rules
Just saw your posts after i posted an edit, Thanks for replying so soon
Edited by - washi on 01 February 2002 10:46:43 |
|
|
GauravBhabu
Advanced Member
4288 Posts |
Posted - 01 February 2002 : 10:44:13
|
Add the following statemens to the end of inc_functions.asp
<% Sub WriteFooter() %> <!--#INCLUDE FILE="inc_footer.asp"--> <% end sub %>
www.forumSquare.com - GauravBhabu - It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying.
Edited by - GauravBhabu on 01 February 2002 10:44:29 |
|
|
GauravBhabu
Advanced Member
4288 Posts |
Posted - 01 February 2002 : 11:17:30
|
quote: The other idea would be to add moderation by catagory. It could use the same page format as by forum, but it would take a function that would loop through the cat and add or subtract moderators from all the forums in the cat rather than just the one forum.
Category Moderation Added. Testing Now. Will be releasing, hopefully today.
Note: Category Moderation will reassign Moderators for all forums within that category. All Selected Moderators will be assigned to all Forums within that category. If any Moderator is to be deleted from a partricular forum that has to be done by selecting Moderation by Moderator.
Opinions?
www.forumSquare.com - GauravBhabu - It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying. |
|
|
GauravBhabu
Advanced Member
4288 Posts |
Posted - 01 February 2002 : 13:06:23
|
Category Moderation Added. Zip file is updated. All those who have downloaded prior to posting of this message may download the file again for Moderation by all three levels. See First Post for details.
www.forumSquare.com - GauravBhabu - It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying. |
|
|
mafe
Starting Member
44 Posts |
Posted - 01 February 2002 : 14:04:50
|
link not working :/
|
|
|
GauravBhabu
Advanced Member
4288 Posts |
Posted - 01 February 2002 : 14:11:24
|
It works. Just checked!
www.forumSquare.com - GauravBhabu - It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying. |
|
|
Morpheus73
Average Member
Denmark
597 Posts |
Posted - 01 February 2002 : 15:43:09
|
hmmm I get this :
Error Type: Microsoft VBScript compilation (0x800A0411) Name redefined /skoleserver/admin_moderators.asp, line 60, column 4
earlier version worked fine... what could it be?
Morpheus73 - Troelsr@msn.com |
|
|
GauravBhabu
Advanced Member
4288 Posts |
Posted - 01 February 2002 : 16:33:47
|
This is a due to a variable which is already defined in config.asp
Change it to sStrModerationMode. There are five instances of it
Change as below
Fixed and zip has been updated, So download again. And Replace the admin_moderators.asp if you already used the earlier version.
Line 60: Dim strModerationMode,strFullListTitle,strSelectListTitle
Line 141: strModerationMode = "Member" Line 149 strModerationMode= "Member" Line 162 strModerationMode = "Forum" Line 251 Response.Write "<option value=""" & rsSelectedList.Fields(0) & """>" _ & GetNameSubject(strModerationMode,rsSelectedList.Fields(0)) & "</option>" & vbNewline
www.forumSquare.com - GauravBhabu - It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying.
Edited by - GauravBhabu on 01 February 2002 17:14:09
Edited by - GauravBhabu on 03 February 2002 21:34:20 |
|
|
Topic |
|