Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Adding additional smilies
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Adding additional smilies

 Post Reply Post Reply
Author
evilpeppard View Drop Down
Groupie
Groupie


Joined: 27 November 2003
Status: Offline
Points: 51
Post Options Post Options   Thanks (0) Thanks(0)   Quote evilpeppard Quote  Post ReplyReply Direct Link To This Post Topic: Adding additional smilies
    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


Edited by evilpeppard - 21 July 2006 at 6:14pm
Back to Top
Mikey View Drop Down
Senior Member
Senior Member

1979

Joined: 06 October 2003
Location: United Kingdom
Status: Offline
Points: 839
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mikey Quote  Post ReplyReply Direct Link To This Post 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





Edited by Mikey - 21 July 2006 at 6:42pm
Handyman man?
Back to Top
evilpeppard View Drop Down
Groupie
Groupie


Joined: 27 November 2003
Status: Offline
Points: 51
Post Options Post Options   Thanks (0) Thanks(0)   Quote evilpeppard Quote  Post ReplyReply Direct Link To This Post 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!


Edited by evilpeppard - 22 July 2006 at 6:02pm
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.