Add a smilie - Postet den (1507 Views)
New Member
Nick Feakes
Innlegg: 99
99
I am trying to add the "Thumbs up" smilie to my website. I have added the image to "images" in the same format as all the others there. I have added a line to inc function common
fString = replace(fString, "[tu]", getCurrentIcon(strIconSmilethumbsup,"","align=""middle"""))

I have substituted the following line to inc smilies (to keep the total number of icons the same)
<td><a href=""Javascript:insertsmilie('[tu]')"" tabindex=""-1"">" & getCurrentIcon(strIconSmilethumbsup,"Thumbsup [tu]","") & "</a></td>" & vbNewLine & _

OK so far? It throws an error. I suspect there is another file that needs to be amended, but which one?
Nick
   
 Sidestørrelse 
Postet den
Advanced Member
Etymon
Innlegg: 2396
2396
This MOD might help you. At the least, you could dig through its code to see how the author made it. smile
Smile Manager Plus
http://snitzbitz.com/mods/details.asp?Version=All&mid=346
Postet den
New Member
Nick Feakes
Innlegg: 99
99
Thank you, I did try and add that mod but it caused my site to crash. It might reveal a clue though, I will have a look.
I tried to reply on the MVC site but is says "You do not have permission to post on this forum" which is strange given that I started the thread (and I was logged in).
Nick
Postet den
Advanced Member
Carefree
Innlegg: 4224
4224
You missed "inc_iconfiles.asp"
 
Du må legge inn en melding