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
 Strange errors in Avatar Mod
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Kesper
Starting Member

9 Posts

Posted - 18 October 2003 :  05:00:27  Show Profile
www.spectraledge.com (click on forum)

as you can see, theres a ton of code at the top. I figure the problem is either in config or topic.asp but I have checked both those and the others to no avail.

Here are the text files I have edited to add avatar mod
www.spectraledge.com/txt/admin_home.txt
www.spectraledge.com/txt/config.txt
www.spectraledge.com/txt/inc_profile.txt
www.spectraledge.com/txt/pop_profile.txt
www.spectraledge.com/txt/register.txt
www.spectraledge.com/txt/topic.txt

Thanks for any help anyone can offer. Spent 3 hours going over and over these files and I just cant find where the problem is.

Cass

The Impact
Junior Member

Australia
398 Posts

Posted - 18 October 2003 :  05:45:00  Show Profile
Your problem is in this :

if strSecureAdmin = "0" then
	Session(strCookieURL & "Approval") = "15916941253"
end if

if strAuthType = "db" then
	strDBNTSQLName = "M_NAME"
	strAutoLogon = "0"
	strNTGroups = "0"
else
	strDBNTSQLName = "M_USERNAME"
end if
%>ion(strCookieURL & "INTAVATARBORDER"))
strShowAvatar = Application(strCookieURL & "STRSHOWAVATAR")

if strSecureAdmin = "0" then
	Session(strCookieURL & "Approval") = "15916941253"
end if

if strAuthType = "db" then
	strDBNTSQLName = "M_NAME"
	strAutoLogon = "0"
	strNTGroups = "0"
else
	strDBNTSQLName = "M_USERNAME"
end if
%>
In the config.asp file, check the changes to the config, the code in red is causing the problems.
Go to Top of Page

Kesper
Starting Member

9 Posts

Posted - 18 October 2003 :  05:54:56  Show Profile
I figured that was it, but I didnt add that code so...how can it be the problem?
Go to Top of Page

Kesper
Starting Member

9 Posts

Posted - 18 October 2003 :  06:02:02  Show Profile
sorry hit send before I was done.

If I remove it it gives me a whole slew of new problems. I have tried changing it and all the code around it in multiple ways. I am certain the problem is somewhere in the code before it. Something that uses it perhaps.
Go to Top of Page

The Impact
Junior Member

Australia
398 Posts

Posted - 18 October 2003 :  06:34:23  Show Profile
Mate ! In VB Script when you start writing code you put a <% and when you finish you put a %> ! Anything that doesn't follow by this rules makes code stuff up !

Try removing this code :
%>ion(strCookieURL & "INTAVATARBORDER"))
strShowAvatar = Application(strCookieURL & "STRSHOWAVATAR")
I don't think it's meant to be there ...

If that doesn't work check your changes from the readme file for the Avatar MOD ...
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.31 seconds. Powered By: Snitz Forums 2000 Version 3.4.07