Author |
Topic  |
|
mixedpearl
Starting Member
7 Posts |
Posted - 21 February 2007 : 10:37:34
|
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
|
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. |
 |
|
mixedpearl
Starting Member
7 Posts |
Posted - 21 February 2007 : 17:27:59
|
True, I can try with pasting and trying. Thank you, helpful. |
I Love It! |
 |
|
mixedpearl
Starting Member
7 Posts |
Posted - 21 February 2007 : 18:07:52
|
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! |
 |
|
JJenson
Advanced Member
    
USA
2121 Posts |
Posted - 21 February 2007 : 18:15:14
|
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? |
 |
|
mixedpearl
Starting Member
7 Posts |
Posted - 21 February 2007 : 18:53:54
|
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 |
 |
|
JJenson
Advanced Member
    
USA
2121 Posts |
Posted - 21 February 2007 : 19:02:04
|
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? |
 |
|
mixedpearl
Starting Member
7 Posts |
Posted - 22 February 2007 : 06:53:13
|
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 |
 |
|
mixedpearl
Starting Member
7 Posts |
Posted - 22 February 2007 : 07:08:16
|
(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! |
 |
|
JJenson
Advanced Member
    
USA
2121 Posts |
Posted - 22 February 2007 : 16:16:19
|
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.  |
 |
|
|
Topic  |
|