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
 Plug in Ban IP
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

mixedpearl
Starting Member

7 Posts

Posted - 21 February 2007 :  10:37:34  Show Profile  Visit mixedpearl's Homepage
I really need help installing the IP ban plug in. Really step by step newbie instructions. I understand I can't runover existing files but copy and paste the plugin codes. Problem I have is that the files don't look the same therefore I don't know where to paste the codes. Could somebody help me ?

Information: I am using the latest version of Snitz Forums.


Sorry if I'm typing in the wrong forum, I didn't find a better place.

<moved from="Help: General / Current Version (v3.4.xx)" by="Shaggy" />

I Love It!

Edited by - Shaggy on 21 February 2007 11:15:56

skwayb
Starting Member

17 Posts

Posted - 21 February 2007 :  12:32:31  Show Profile
Even of the files don't look the same (i.e. code was added that moved things down) the section of the code you are looking for to insert the new code should still be there. It will just be somewhere else in the file. You could give it a try. Do a find int eh file until you get to the section that looks like what it is saying to replace/add and then put the new code in. As long as you back up the files you are editing, the worst thing you can do is have the code error out. Just make sure you do any DBS (database updates) before you add the new code. That way you run into the problem where the code errors out no matter what because it can't find the database field. This is how I learned the forums since I am a newbie programmer.
Go to Top of Page

mixedpearl
Starting Member

7 Posts

Posted - 21 February 2007 :  17:27:59  Show Profile  Visit mixedpearl's Homepage
True, I can try with pasting and trying. Thank you, helpful.

I Love It!
Go to Top of Page

mixedpearl
Starting Member

7 Posts

Posted - 21 February 2007 :  18:07:52  Show Profile  Visit mixedpearl's Homepage
I've finished pasting the codes and I've MOD it. Went to admin options and clicked Ban Users, which is where I get this error message:


Microsoft VBScript compilation error '800a0411'

Name redefined

/inc_top.asp, line 63
dim mLev, strLoginStatus, MemberID
----^


In the Ban IP read me file the inc_top.asp file was isn't in the list of files that are secure to extracting to the forum folder but when searching for the file in my forum folder there was no file with that name. I downloaded the latest version of this forum again to see if I failed to upload it. There wasn't such a file. So I extracted that file from the plugin as well to the forum folder. What is going on? Anyone knows?

I Love It!
Go to Top of Page

JJenson
Advanced Member

USA
2121 Posts

Posted - 21 February 2007 :  18:15:14  Show Profile  Visit JJenson's Homepage
I have not used this mod but that is not a file part of the base snitz program as far as I know. So it should be part of the files you downloaded for the mod. Did you re download the mod and check to see if it came in that? Or is this mod dependent on another mod?
Go to Top of Page

mixedpearl
Starting Member

7 Posts

Posted - 21 February 2007 :  18:53:54  Show Profile  Visit mixedpearl's Homepage
The file is part of the plugin. I think it's independent, doesn't give hints of anything else.

I Love It!

Edited by - mixedpearl on 21 February 2007 18:54:11
Go to Top of Page

JJenson
Advanced Member

USA
2121 Posts

Posted - 21 February 2007 :  19:02:04  Show Profile  Visit JJenson's Homepage
Did you upload the file to your forum directory? I am confused on what you are asking. Are you asking where is the file and where does it go or are you asking what you need to fix in the file?
Go to Top of Page

mixedpearl
Starting Member

7 Posts

Posted - 22 February 2007 :  06:53:13  Show Profile  Visit mixedpearl's Homepage
I apologize, English is not my first language.

The plugins readme file gives a list of files that are secure to extract (to the forum folder on your website). This inc_top.asp is not on that list, and I wonder why since that file don't belong to the Snitz Forums. And since it didn't exist in my forum folder, I uploaded it.

Then when I have MOD and goes to my admin options and click the new option that now is there: Ban Users. I get that error message.

This:


Microsoft VBScript compilation error '800a0411'

Name redefined

/inc_top.asp, line 63
dim mLev, strLoginStatus, MemberID
----^







I Love It!

Edited by - mixedpearl on 22 February 2007 06:53:52
Go to Top of Page

mixedpearl
Starting Member

7 Posts

Posted - 22 February 2007 :  07:08:16  Show Profile  Visit mixedpearl's Homepage
(Update)


I had a look at that file (inc_top.asp) and deleted that line that is in the error message. Then I got an error message of the next line so I deleted that line also. With those two lines deleted from the inc_top.asp file it seems to work. There were no more error messages and I could ban an IP. If it actually has worked with two missing lines I do not know yet. Time will tell. Thank you for yout time.

Carola

I Love It!
Go to Top of Page

JJenson
Advanced Member

USA
2121 Posts

Posted - 22 February 2007 :  16:16:19  Show Profile  Visit JJenson's Homepage
I would be careful deleting lines. But if it works then great let us know as time goes on if it worked also if you could provide which 2 lines exactly you deleted or comented out would be great for the next person with the same problem.
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.4 seconds. Powered By: Snitz Forums 2000 Version 3.4.07