Author |
Topic  |
|
boolean
Starting Member
6 Posts |
Posted - 13 June 2006 : 22:20:45
|
I've installed a few mods on my forum and all of them contained instructions along the lines of "Go to line 134 and add this line of code after it', which was easy enough to follow.
I downloaded the Anonymous Posting mod though and in the instructions it says to modify the following code:
admin_home.asp '##### EZ Anony 1-1 : below 1 line added
config.asp '##### EZ Anony 1-1 : below 1 lines added '##### EZ Anony 1-2 : below 3 lines added
inc_func_secure.asp '##### EZ Anony 1-1 : add below a new function '##### EZ Anony 1-2 : below 1 line modified (add , 119)
I have no idea what this means. All it seems to be doing is adding comments. What does "Below 1 line added?" mean? 
Anyone have any advice on how to understand this?
Thanks. |
|
Davio
Development Team Member
    
Jamaica
12217 Posts |
Posted - 14 June 2006 : 00:14:40
|
Yeah this mod author did things a little bit confusing.
quote: admin_home.asp '##### EZ Anony 1-1 : below 1 line added
This means, the file you will be editing is in admin_home.asp. Look for the comment "'##### EZ Anony 1-1" in the file. Then it says, the 1 line below the comment, is what you will add to your file.
Sometimes it is 2 lines of code is added, or 3 lines of code. So in otherwords "Add the following 2 or 3 or 4 lines of code below to your file."
quote: '##### EZ Anony 1-2 : below 1 line modified (add , 119)
This means, they modified the code that is below the comment and added line 119.
quote: '##### EZ Anony 1-1 : add below a new function
They added a new function, which is below the comment.
The 1-1 and 1-2 is just a reference to the different edits that are made in a file.
So if 10 edits are needed, it counts from 1-1 to 1-10.
Did that help?  |
Support Snitz Forums
|
 |
|
boolean
Starting Member
6 Posts |
Posted - 14 June 2006 : 21:35:08
|
quote: Originally posted by Davio Sometimes it is 2 lines of code is added, or 3 lines of code. So in otherwords "Add the following 2 or 3 or 4 lines of code below to your file."
Here's the tricky part: In the readme file there is no more code to add. What I pasted is the entire amount of code the writer gives which you have to change  Normally I would assume they just messed up the instructions, but I've seen another mod with the same type of guide. Come to think of it, both mods might be the same author....
Anyway, for now I'll just leave the mod out. 
Thanks for your help Davio! Appreciated as always. |
Edited by - boolean on 14 June 2006 21:37:05 |
 |
|
Davio
Development Team Member
    
Jamaica
12217 Posts |
Posted - 15 June 2006 : 00:43:14
|
You sure they didn't provide the .asp files so you can find the comments in the files and add the code? |
Support Snitz Forums
|
 |
|
|
Topic  |
|