Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 Very much improved admin_moderators.asp & addition
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Da_Stimulator
DEV Team Forum Moderator

USA
3373 Posts

Posted - 15 February 2001 :  18:22:16  Show Profile  Send Da_Stimulator an AOL message  Send Da_Stimulator a Yahoo! Message
Title: Improved Moderators Administration
Download: http://www.stormwhispers.com/snitz_testing/admin_moderators.zip
Support: http://stimmy.cfm-resources.com
Description: Allows you to edit moderators for a certain forum directly from default.asp in a new popup window. The traditional way of going through admin_options is still enabled :)
Installation: Download and extract to your forum folder, then Add the code below to default.asp around line 434.

if (mlev = 4) then
%>
<a href="Javascript: openWindow3('pop_admin_moderators.asp?forum_id=<%=rsForum("FORUM_ID")%>')">
<img src="icon_edit_moderator.gif" border=0 alt="Edit Moderators for this forum">
</a>
<%
end if

Here is what mine looks like


sub ForumAdminOptions()
if (mLev = 4) or (chkForumModerator(rsForum("FORUM_ID"), strDBNTUserName) = "1") or (lcase(strNoCookies) = "1") then
if rsForum("F_TYPE") = 0 then
if (mlev = 4) then
%>
<a href="Javascript: openWindow3('pop_admin_moderators.asp?forum_id=<%=rsForum("FORUM_ID")%>')">
<img src="icon_edit_moderator.gif" border=0 alt="Edit Moderators for this forum">
</a>
<%
end if

if rs("CAT_STATUS") = 0 then
if (mlev = 4) then
%>
<a href="JavaScript:openWindow('pop_open.asp?mode=Category&CAT_ID=<% =rs("CAT_ID") %>')"><img src="icon_unlock.gif" alt="Un-Lock Category" border="0" hspace="0"></a>
<%
end if
else
if rsForum("F_STATUS") = 1 then


NOTE: the little M image is temperary until someone makes something better :)

----
Da_Stimulator
Snitz Forums Dev Team Member
http://stimmy.cfm-resources.com/forum - my testing forums.

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 15 February 2001 :  18:39:59  Show Profile
If you change lines 16 & 17 of pop_admin_moderators.asp to this:


<strong>UserName:</strong><input type="text" name="username" value="<% =strDBNTUserName %>"><br>
<strong>PassWord:</strong><input type="password" name="password" value="<% =Request.Cookies(strUniqueID & "User")("Pword")%>"><br>


Then it will automatically insert the username/password in the input boxes when you click on the the link to load it.

Edited by - Richard Kinser on 15 February 2001 18:40:59
Go to Top of Page

Da_Stimulator
DEV Team Forum Moderator

USA
3373 Posts

Posted - 15 February 2001 :  20:00:49  Show Profile  Send Da_Stimulator an AOL message  Send Da_Stimulator a Yahoo! Message
Zip updated :) Thx richard

----
Da_Stimulator
Snitz Forums Dev Team Member
http://stimmy.cfm-resources.com/forum - my testing forums.
Go to Top of Page

Da_Stimulator
DEV Team Forum Moderator

USA
3373 Posts

Posted - 15 February 2001 :  20:20:19  Show Profile  Send Da_Stimulator an AOL message  Send Da_Stimulator a Yahoo! Message
I just updated it with a security glitch also

----
Da_Stimulator
Snitz Forums Dev Team Member
http://stimmy.cfm-resources.com/forum - my testing forums.
Go to Top of Page

Aznknight
Senior Member

USA
1373 Posts

Posted - 16 February 2001 :  02:36:40  Show Profile  Send Aznknight an AOL message  Send Aznknight an ICQ Message
I've been trying to think of how to make the life of an admin easier...this sure does the trick. Thanks da_stimulator. I'm going to use this on my site.

- Alan
www.iamviet.com
Go to Top of Page

Da_Stimulator
DEV Team Forum Moderator

USA
3373 Posts

Posted - 16 February 2001 :  13:24:11  Show Profile  Send Da_Stimulator an AOL message  Send Da_Stimulator a Yahoo! Message
You're welcome :) glad you like it.

----
Da_Stimulator
Snitz Forums Dev Team Member
http://stimmy.cfm-resources.com/forum - my testing forums.
Go to Top of Page

Aznknight
Senior Member

USA
1373 Posts

Posted - 16 February 2001 :  14:36:35  Show Profile  Send Aznknight an AOL message  Send Aznknight an ICQ Message
hehhe i need a better icon than that orange "M" though...it will do for now since only the admin sees it. Good place holder for for accessing the admin_moderators page I guess. Keep up the good work stimmy.

- Alan
www.iamviet.com
Go to Top of Page

Da_Stimulator
DEV Team Forum Moderator

USA
3373 Posts

Posted - 18 February 2001 :  00:57:15  Show Profile  Send Da_Stimulator an AOL message  Send Da_Stimulator a Yahoo! Message
Yeah I know it sux... thats why I said 'until someone makes a better one.

Anyone wanna try?

----
Da_Stimulator
Snitz Forums Dev Team Member
http://stimmy.cfm-resources.com/forum - my testing forums.
Go to Top of Page

gor
Retired Admin

Netherlands
5511 Posts

Posted - 20 February 2001 :  03:34:47  Show Profile  Visit gor's Homepage
Added to finished Mods forum: http://forum.snitz.com/forum/link.asp?TOPIC_ID=5263

Pierre
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.99 seconds. Powered By: Snitz Forums 2000 Version 3.4.07