Print Page | Close Window

Adding additional smilies

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums Modifications
Forum Description: Mod's and Add-on's for Web Wiz Forums.
URL: https://forums.webwiz.net/forum_posts.asp?TID=20767
Printed Date: 29 March 2026 at 4:03am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Adding additional smilies
Posted By: evilpeppard
Subject: Adding additional smilies
Date Posted: 21 July 2006 at 6:14pm
I did a search but was not successful. 

Could someone please direct me on how to add additional smilies to my 8.x SQL forums, please?

Thanks in advance for the help



Replies:
Posted By: Mikey
Date Posted: 21 July 2006 at 6:41pm
indeed i can.

Open the 'includes/emoticons_inc.asp' file in notepad (or similer) and find the line...


'Dimension variables
Dim saryEmoticons(38,3)


increase the first number (shown in red) by one per smiley you add.

Adding smiley's is a s simple as uploading them into the 'smileys' folder and increasing the number as shown above...

Then, still in the 'emoticons_inc.asp' file you will see a bunch of code for each smiley that defines the name, short cut and path. that looks like....


saryEmoticons(38,1) = "Lamp"
saryEmoticons(38,2) = ""
saryEmoticons(38,3) = "smileys/smiley38.gif"


Add 3 new line for each new smiley, for instance...


saryEmoticons(39,1) = "nod"
saryEmoticons(39,2) = "|-)"
saryEmoticons(39,3) = "smileys/smiley39.gif"


Note how the number in red has been increased??? Well increase it for every added smiley





-------------
Handyman man?


Posted By: evilpeppard
Date Posted: 22 July 2006 at 5:54pm
Originally posted by Mikey Mikey wrote:

indeed i can.

Open the 'includes/emoticons_inc.asp' file in notepad (or similer) and find the line...


'Dimension variables
Dim saryEmoticons(38,3)


increase the first number (shown in red) by one per smiley you add.

Adding smiley's is a s simple as uploading them into the 'smileys' folder and increasing the number as shown above...

Then, still in the 'emoticons_inc.asp' file you will see a bunch of code for each smiley that defines the name, short cut and path. that looks like....


saryEmoticons(38,1) = "Lamp"
saryEmoticons(38,2) = ""
saryEmoticons(38,3) = "smileys/smiley38.gif"


Add 3 new line for each new smiley, for instance...


saryEmoticons(39,1) = "nod"
saryEmoticons(39,2) = "|-)"
saryEmoticons(39,3) = "smileys/smiley39.gif"


Note how the number in red has been increased??? Well increase it for every added smiley




Thanks for taking the time to post this, Mikey

I followed your simple instructions and it worked great!



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net