Add a smilie

Snitz™ Forums 2000
https://forum.snitz.com/forumTopic/Posts/71373?pagenum=1
04 November 2025, 10:36

Topic


Nick Feakes
Add a smilie
12 October 2022, 12:45


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

 

Replies ...


Etymon
24 October 2022, 04:49


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
Nick Feakes
29 October 2022, 17:22


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
Carefree
02 November 2022, 07:06


You missed "inc_iconfiles.asp"
© 2000-2021 Snitz™ Communications