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
 Admin Level Mod
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

texanman
Junior Member

United States
410 Posts

Posted - 16 January 2008 :  12:31:16  Show Profile
I am embarrassed to ask this question, but here I go
The instructions ask to add

<!--#INCLUDE FILE="inc_adminlevel.asp" -->

at the end of the files inc_header.asp and inc_header_short.asp.

Do I still need to add %> before and <% after the include or it is
not necessary in this case?

Both files end with %> before the include.

JJenson
Advanced Member

USA
2121 Posts

Posted - 16 January 2008 :  12:33:13  Show Profile  Visit JJenson's Homepage
I believe you will want to add that in before the %>
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 16 January 2008 :  12:34:38  Show Profile
No.


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

texanman
Junior Member

United States
410 Posts

Posted - 16 January 2008 :  12:35:34  Show Profile
thanks, that makes sense! but this is what the readme says:

2. Open your inc_header.asp and inc_header_short.asp go to end of page where you will see %> and at bottom of the page, add this line right after %>
Go to Top of Page

JJenson
Advanced Member

USA
2121 Posts

Posted - 16 January 2008 :  12:45:40  Show Profile  Visit JJenson's Homepage
Oh then you want to put it right after it and like shaggy said no its not needed. I have never used that mod so was taking a guess on where to put it
Go to Top of Page

texanman
Junior Member

United States
410 Posts

Posted - 16 January 2008 :  12:48:47  Show Profile
Thanks Shaggy and Jeff
Go to Top of Page

texanman
Junior Member

United States
410 Posts

Posted - 16 January 2008 :  14:34:03  Show Profile
All went well with Admin Level Mod except a mismatch error.

Microsoft VBScript runtime error '800a000d'

Type mismatch: 'ChkString'

/inc_adminlevel.asp, line 35


Line 35 is the fourth line in the code below:
'## Forum_SQL
strSql = "SELECT MEMBER_ID, M_ALEVEL, M_LEVEL, M_NAME, M_PASSWORD "
strSql = strSql & " FROM " & strMemberTablePrefix & "MEMBERS "
strSql = strSql & " WHERE " & strDBNTSQLName & " = '" & ChkString(fName, "SQLString") & "' "


Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 16 January 2008 :  15:25:26  Show Profile  Visit modifichicci's Homepage
check you add to inc_header. maybe you have miss to insert something

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum
Go to Top of Page

texanman
Junior Member

United States
410 Posts

Posted - 16 January 2008 :  16:08:19  Show Profile
I checked twice again. Nothing missed in there based on Readme.
Thanks
Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 16 January 2008 :  16:14:42  Show Profile  Visit modifichicci's Homepage
this error come opening the forum?
The fName is given to the function from
if mLev = 4 then aAllowed = cLng(IsAdminAllowed(strDBNTUserName, Request.Cookies(strUniqueID & "User")("Pword"),-1))
in inc_header
I havent' had problems in installing it

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum
Go to Top of Page

texanman
Junior Member

United States
410 Posts

Posted - 16 January 2008 :  16:19:23  Show Profile
There is no error opening the forum at all. It comes up if I do: http://www.mypage/forum/inc_adminlevel.asp
Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 16 January 2008 :  16:22:17  Show Profile  Visit modifichicci's Homepage
you cannot do inc_adminlevel alone, there are only function in it
it as you would open inc_func_common

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum
Go to Top of Page

texanman
Junior Member

United States
410 Posts

Posted - 16 January 2008 :  16:25:59  Show Profile
LOL! Shouldn't it at least redirect me to default.asp without giving me this error? :-)
Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 16 January 2008 :  16:29:14  Show Profile  Visit modifichicci's Homepage
if ins't there in code, no ,I am afraid..

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum
Go to Top of Page

texanman
Junior Member

United States
410 Posts

Posted - 16 January 2008 :  16:31:06  Show Profile
I see! Thanks a lot for your explanation!
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.44 seconds. Powered By: Snitz Forums 2000 Version 3.4.07