Author |
Topic |
speedway
New Member
88 Posts |
Posted - 07 January 2001 : 13:49:50
|
When I run slash_admin.asp I just get a blank page. >Sorted. Changed the slash_admin.asp so the level is 0 not 4. Don't know why I was not level 4 when loged in a admin?
Type mismatch: 'HTMLEncode' /slash.asp, line 96 Any ideas what is wrong
Type mismatch: 'ChkDate' /slash.asp, line 107 Any ideas what is wrong
Edited by - speedway on 07 January 2001 14:17:45 |
|
|
shaneb
Junior Member
USA
319 Posts |
Posted - 07 January 2001 : 14:08:25
|
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote> When I run slash_admin.asp I just get a blank page. >Sorted. Changed the slash_admin.asp so the level is 0 not 4. Don't know why I was not level 4 when loged in a admin?
How do you use the slash.asp ?
Edited by - speedway on 07 January 2001 14:03:17 <hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
What do you mean changed the level from 0 to 4
Shane B.
|
|
|
speedway
New Member
88 Posts |
Posted - 07 January 2001 : 14:13:03
|
if mLev = 4 then changed to if mLev = 0 then This was NOT a BUG FIX must have not got the incorrect level setup in my forum
|
|
|
shaneb
Junior Member
USA
319 Posts |
Posted - 07 January 2001 : 14:16:53
|
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote> if mLev = 4 then changed to if mLev = 0 then This was NOT a BUG FIX must have not got the incorrect level setup in my forum
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
So is your slash Mod working? I'm still having problems.
Shane B.
|
|
|
animedj
Junior Member
USA
190 Posts |
Posted - 07 January 2001 : 19:14:47
|
hmm.. now I'm very confussed... well anyways.. let's try to staright this out.. First.. Davio.. i was looking through my snits original code of config.asp and I couldn't find the variable strUniqueID, so that can't be a fix.. and speedway.. changing the variable mLev from 4 to 0 it's dangerous.. as you are giving anyone access to the mod admin section. About HTMLENCODE and CHKDATE.. it's like it's not loading the inc_functions.asp page.. check if the include it's in the root directory of your forusm and the slash_admin.asp page it's under the subdirectory MODS. I'm adding a new function to enable images or not, so that'll fix the img bug in the main page.
--- Johann Reyes http://animedj.com |
|
|
frankie
Junior Member
Vatican City
304 Posts |
Posted - 07 January 2001 : 20:24:39
|
animedj,
Thank you so much for your concerns. But does that mean (adding image feature) that we'll still see colors, enlarged text, different font if it exists in the original reply or we still need to use evehawk's cleancode thing? Because it worked for me except the image part!!
ô¿~ |
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 07 January 2001 : 21:52:43
|
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote> hmm.. now I'm very confussed... well anyways.. let's try to staright this out.. First.. Davio.. i was looking through my snits original code of config.asp and I couldn't find the variable strUniqueID, so that can't be a fix.. <hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote> animedj, In SR4 release of the forums, there was a change in the way the cookies saved your login information. You can see they way the mLev variable is set in inc_top.asp:<pre id=code><font face=courier size=2 id=code>mLev = cint(ChkUser2(strDBNTUserName, Request.Cookies(strUniqueID & "User")("Pword")))</font id=code></pre id=code>The <b>strDBNTUserName</b> variable is set in inc_top.asp also, which I could have added in the slash_admin.asp page, put I just used the contents of the variable instead:<pre id=code><font face=courier size=2 id=code>strDBNTUserName = Request.Cookies(strUniqueID & "User")("Name")</font id=code></pre id=code> So the code I used is the correct way of checking the member's level, but you can also use the strDBNTUserName, you will have to set the variable on your slash_admin page also. Doing this will make it NT compatible.
<center><font color=green>*----*----*----*----*----*----*----*----* <font size=2>"To Get To Heaven, It's Who You Know That Counts."</font id=size2> *----*----*----*----*----*----*----*----*</font id=green></center> |
|
|
animedj
Junior Member
USA
190 Posts |
Posted - 07 January 2001 : 21:53:36
|
hmm.. i might include evehack in the new release.. but the option that I'm saying it's whatever strip images is enabled.. it would strip any img from the message..
--- Johann Reyes http://animedj.com |
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 07 January 2001 : 21:59:58
|
speedway, if you made the changes I suggested, then you wouldn't have to change the mLev. The reason you are getting a blank page is because the page is not reading the cookie right to determine if you are an admin. So your mLev is 0, so you get a blank page. Setting your mLev to 0 allows anyone to access your slash_admin.
<center><font color=green>*----*----*----*----*----*----*----*----* <font size=2>"To Get To Heaven, It's Who You Know That Counts."</font id=size2> *----*----*----*----*----*----*----*----*</font id=green></center> |
|
|
evehawk
New Member
Australia
65 Posts |
Posted - 08 January 2001 : 01:22:55
|
I have a strange prob, i just moved the forum to new host (123host) from cfm.com. everything work fine with slash mod but all the topic links generate by slash still point to the old server address (cfm.com in this case). I look in forum variables info and /forum/mods/strForumURL still showing path to the old server. Where is this variable ? is it in cookie? i delete all cookies and it still the same .. i also look in all the Forum_ table and it not there !
Help please.
|
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 08 January 2001 : 01:57:44
|
Try reloading the config variables. Click the <b>Check Installation</b> link in the Admin Options. I believe that will reload the variables. Don't upgrade, just click the link, and then go back to the forum and see if the strForumURL isn't updated. There have been some cases when changing servers that the variables have the same content from the old server and reloading them fixed it.
<center><font color=green>*----*----*----*----*----*----*----*----* <font size=2>"To Get To Heaven, It's Who You Know That Counts."</font id=size2> *----*----*----*----*----*----*----*----*</font id=green></center> |
|
|
evehawk
New Member
Australia
65 Posts |
Posted - 08 January 2001 : 02:06:17
|
grrrr i try that couples of time Davio and its still there, any other ideas ?
|
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 08 January 2001 : 02:10:32
|
Oooh, that was my only idea I had to fix it. <img src=icon_smile_sad.gif border=0 align=middle> You got a url I could look at maybe? If I can't help now, one of those moderators that prowl the forum 24/7 will help ya out. :-)
<center><font color=green>*----*----*----*----*----*----*----*----* <font size=2>"To Get To Heaven, It's Who You Know That Counts."</font id=size2> *----*----*----*----*----*----*----*----*</font id=green></center> |
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
|
evehawk
New Member
Australia
65 Posts |
Posted - 08 January 2001 : 02:39:40
|
the url is: http://www.eve.121host.net/forum/default.asp
richard,
the http://users.bigpond.net.au/eve/ is only html files and it call the bottom frame that load the news.asp (reside on new server or cfm.com)
when i move the news.asp to 121host. i did point to 121 as well. that work ok np but when i went inside the admin option and try to update the slash mode. the forum variable still point to old cfm.com so all the topic generate by slash still point to cfm from the news.asp
if you need access to the forum let me know so u can look at the codes Thanks ps: you can use the admin login (pass: admin) then goto admin option and look at the slash mode to see what i mean.
Edited by - evehawk on 08 January 2001 02:52:31 |
|
|
Topic |
|