adding smilies - Posted (727 Views)
New Member
baabaashep
Posts: 84
84
I have installed the 'copy and paste' type mods to 'Add More Smiles' also to add 'animated smiles'.

I now need to add a few of my own. How can I do this and where can I get some 'new' smiles from please? Thank you
Pete
(copy and paste man only)<
 Sort direction, for dates DESC means newest first  
 Page size 
Posted
New Member
baabaashep
Posts: 84
84
OK removed the spacing to bring it onto the same line and got this message:


Microsoft VBScript compilation error '800a0401'

Expected end of statement

/forum/inc_smilies.asp, line 45

response.write " <table width=""100%"" border=""0"" cellspacing=""0"" cellpadding=""0"" align=""center"">" & vbNewLine & _
---------------^


Any help would be appreciated
Thx
Pete
(copy and Paste man)<
Posted
Senior Member
Jezmeister
Posts: 1141
1141
this should prob now be in the mod implementation forum.
anyway, try this:

Code:
Response.Write "<table width=""100%"" border=""0"" cellspacing=""0"" cellpadding=""2"" align=""center"">" & vbNewLine & _

" <table width=""100%"" border=""0"" cellspacing=""0"" cellpadding=""0"" align=""center"">" & vbNewLine & _
" <tr>" & vbNewLine & _
" <td align=""center"" height=""20"" valign=""40""><a name=""smilies""></a><font face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """><b>Smilies</b></font></td>" & vbNewLine & _
" </tr>" & vbNewLine
' allow Member edits?

you don't need response.write on the second line as you have ended the above line with "& _"<
Posted
New Member
baabaashep
Posts: 84
84
Posted
Senior Member
Jezmeister
Posts: 1141
1141
we only really need the code around line 58 ;)

should it not be:

Code:
strsql = "SELECT S_ID FROM " & strTablePrefix & "SMILES_CUSTOM WHERE MEMBER_ID = " & MemberID & "

? I'm not certain never used this mod... I'm thinking either that or = " & UserID<
Posted
New Member
baabaashep
Posts: 84
84
I did a clean reinstall

Thx for all your help
Pete
<
You Must enter a message