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
 Smiles manager on 3.3.03
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

dest
Starting Member

5 Posts

Posted - 10 February 2003 :  05:48:05  Show Profile  Send dest an ICQ Message
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  Show Profile  Send Rasco an ICQ Message
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
Go to Top of Page

dest
Starting Member

5 Posts

Posted - 10 February 2003 :  08:51:38  Show Profile  Send dest an ICQ Message
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 ###########
Go to Top of Page

dest
Starting Member

5 Posts

Posted - 10 February 2003 :  09:02:45  Show Profile  Send dest an ICQ Message
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 :/
Go to Top of Page

Rasco
Advanced Member

Germany
3192 Posts

Posted - 10 February 2003 :  15:56:33  Show Profile  Send Rasco an ICQ Message
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
Go to Top of Page

dest
Starting Member

5 Posts

Posted - 10 February 2003 :  19:54:30  Show Profile  Send dest an ICQ Message
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.
Go to Top of Page

Rasco
Advanced Member

Germany
3192 Posts

Posted - 11 February 2003 :  11:14:10  Show Profile  Send Rasco an ICQ Message
Good to hear. Don`t think the readme will be changed, since the Mod is designed for an older version

German Snitz Forum
Go to Top of Page

dest
Starting Member

5 Posts

Posted - 13 February 2003 :  20:49:04  Show Profile  Send dest an ICQ Message
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?
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.3 seconds. Powered By: Snitz Forums 2000 Version 3.4.07