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

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 MOD Setup (Alternative MOD setup)
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

cmerwitzer
New Member

63 Posts

Posted - 17 February 2005 :  14:37:42  Show Profile
I am an administrator of the site we have setup. There is one other administrator.

When I am in the Admin Options area and click on the links (see subject line) I get a message that says:

There has been a problem!

* Only the Forum Admin can access this page


What do I need to do in order to be able to use this link?

Thanks.

rasure
Junior Member

289 Posts

Posted - 17 February 2005 :  14:45:19  Show Profile  Visit rasure's Homepage
sounds like you haven't specified the member id in the config.asp for super admin...
Const intAdminMemberID = 1

change the number in red to your member id that's assuming you are the main admin for the site and have access to the files to change and upload.

Psychic & Spiritual Development Resources

Edited by - rasure on 17 February 2005 14:47:06
Go to Top of Page

Jorrit787
Average Member

Netherlands
681 Posts

Posted - 17 February 2005 :  23:03:47  Show Profile  Visit Jorrit787's Homepage  Send Jorrit787 an AOL message  Send Jorrit787 a Yahoo! Message
If you want all Admins to have access to this page, remove the following lines of code from admin_mod_dbsetup and admin_mod_dbsetup2:
if MemberID <> intAdminMemberID then
	Err_Msg = "Only the Forum Admin can access this page"
These are the first few lines in both files. Whether or not this is advisable I will leave up to you as I don't know your Admins.
Go to Top of Page

cmerwitzer
New Member

63 Posts

Posted - 18 February 2005 :  09:50:25  Show Profile
Thank you!!
Go to Top of Page

cmerwitzer
New Member

63 Posts

Posted - 21 February 2005 :  09:56:28  Show Profile
quote:
Originally posted by Jorrit787

If you want all Admins to have access to this page, remove the following lines of code from admin_mod_dbsetup and admin_mod_dbsetup2:
if MemberID <> intAdminMemberID then
	Err_Msg = "Only the Forum Admin can access this page"
These are the first few lines in both files. Whether or not this is advisable I will leave up to you as I don't know your Admins.



I took care of the problem by giving my self the userID of 1. But, when I search for the code you provide in the two files you specify, it does not exist in either. It would be nice to have both admins be able to access this stuff.

Any other suggestion would be appreciated.

Thanks.
Go to Top of Page

rasure
Junior Member

289 Posts

Posted - 21 February 2005 :  10:51:03  Show Profile  Visit rasure's Homepage
They must be there otherwise you wouldn't have got the original error message in your first post...
quote:


There has been a problem!

* Only the Forum Admin can access this page



It might be better to change...
if MemberID <> intAdminMemberID then
	Err_Msg = "<li>Only the Forum Admin can access this page</li>"


to...

if mlev < 4 then
	Err_Msg = "<li>Only the Forum Admin can access this page</li>"

Psychic & Spiritual Development Resources

Edited by - rasure on 21 February 2005 10:54:54
Go to Top of Page

Doug Joseph
Starting Member

USA
43 Posts

Posted - 04 June 2005 :  13:08:12  Show Profile
cmer:

That code is present in my copies of those files.

In the admin_mod_dbsetup.asp file, the code starts at line 49.

In the admin_mod_dbsetup2.asp file, the code starts at line 60.

HTH

Sincerely,
Doug Joseph
Go to Top of Page

CalloftheHauntedMaster
Junior Member

289 Posts

Posted - 08 June 2005 :  09:39:39  Show Profile
Basically, if you're having this problem, it means you're not the room admin. Coding aside, only the root admin can access those pages so if there's only one admin, and that's you, something is seriously wrong since the root admin can never be deleted...

This account was hacked into by Image, a very honest guy as you all can see! Stealing people's passwords is his pasttime. Beware of this, before you register at his forums!
Go to Top of Page

matt526
Starting Member

USA
8 Posts

Posted - 11 July 2005 :  16:02:28  Show Profile  Visit matt526's Homepage  Send matt526 an AOL message
I took out the code

if MemberID <> intAdminMemberID then
Err_Msg = "Only the Forum Admin can access this page"

in the admin_mod_dbsetup.asp and admin_mod_dbsetup.asp files
now when I click on Mod. setup I get a
The page cannot be displayed
HTTP 500 - Internal server error
Internet Explorer
I know the two pages are on the server why can't I view the page

http://faithzone.com/Forum/default.asp

Edited by - matt526 on 11 July 2005 16:03:03
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 11 July 2005 :  17:13:02  Show Profile  Send ruirib a Yahoo! Message
matt256, would you mind using a single thread to ask for help with a single problem?


Snitz 3.4 Readme | Like the support? Support Snitz too
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.35 seconds. Powered By: Snitz Forums 2000 Version 3.4.07