Author |
Topic  |
|
dest
Starting Member
5 Posts |
Posted - 10 February 2003 : 05:48:05
|
Hopefully someone can help me here  Ive installed this on the forum, it all works fine apart from the part where you are meant to see it in the post!
An example of the error can be found at the bottom of this thread: http://www.kniteforce.co.uk/forums/topic.asp?TOPIC_ID=2548
All the code installed ok as far as I can tell....
|
|
Rasco
Advanced Member
    
Germany
3192 Posts |
Posted - 10 February 2003 : 06:32:58
|
Recheck the changes you made during the implemenation of the Mod. The links aren`t right. Seems like an extra <a href= |
German Snitz Forum
|
 |
|
dest
Starting Member
5 Posts |
Posted - 10 February 2003 : 08:51:38
|
All I did was to paste the changes into the relivant files. The code was between 2 comment lines, so none of it was changed by myself.
This is the 2 sections I added to inc_fucntions.asp
'############# Stimmy's SMile Mod ################ strsql = "SELECT S_URL, S_CODE, S_ENABLED FROM " & strTablePrefix & "SMILES" set smilers = my_conn.execute(strsql) if smilers.eof then '## Do nothing else do until smilers.eof if not(smilers("S_ENABLED") = "no") then fString= replace(fString, "<img src=" & smilers("S_URL") & " border=0 align=middle>", smilers("S_CODE"), 1, -1, 1) else '## Do nothing end if smilers.movenext loop end if set smilers = nothing '############# End Stimmy's Smile Mod #################
'############# Stimmy's SMile Mod ################ strsql = "SELECT S_URL, S_CODE, S_ENABLED FROM " & strTablePrefix & "SMILES" set smilers = my_conn.execute(strsql) if smilers.eof then '## Do nothing else do until smilers.eof if not(smilers("S_ENABLED") = "no") then fString = replace(fString, smilers("S_CODE"), "<img src=" & smilers("S_URL") & " border=0 align=middle>") else '## Do nothing end if smilers.movenext loop end if set smilers = nothing '############## End Stimmy's Smile Mod ###########
|
 |
|
dest
Starting Member
5 Posts |
Posted - 10 February 2003 : 09:02:45
|
Ive uploaded a copy of the edited inc_functions.asp here: www.kikit.freeserve.co.uk/functions.txt
All i can guess is that ive put the code in the wrong place or something, unless the actual code i added was wrong in the download :/ |
 |
|
Rasco
Advanced Member
    
Germany
3192 Posts |
Posted - 10 February 2003 : 15:56:33
|
I think I know where the problem is. When setting up the new smilies in the Admin Options, you need to enter the path to your new smilies, right? Just use a relative path their and cancel the http://yourforumURL stuff. |
German Snitz Forum
|
 |
|
dest
Starting Member
5 Posts |
Posted - 10 February 2003 : 19:54:30
|
Thats sorted it, spot on mate! Maybe it should of said in the read me that you have to use relative paths and not absolute! Must be me being too efficiant LOL 
Oh well, problem solved, thanks for the help.  |
 |
|
Rasco
Advanced Member
    
Germany
3192 Posts |
Posted - 11 February 2003 : 11:14:10
|
Good to hear. Don`t think the readme will be changed, since the Mod is designed for an older version |
German Snitz Forum
|
 |
|
dest
Starting Member
5 Posts |
Posted - 13 February 2003 : 20:49:04
|
After adding a load, the pop up is now too small and half of em dont fit in it! Is there any way of getting a scroll bar to appear in the pop up box? |
 |
|
|
Topic  |
|