+ Post New Thread
Results 1 to 4 of 4
EduGeek Joomla 1.5 Package Thread, Smilies in Projects:; I have a fireboard installation on my Joomla and want to add new smilies. Whats the quickest way of doing ...
  1. #1

    Hightower's Avatar
    Join Date
    Jun 2008
    Location
    Cloud 9
    Posts
    4,920
    Thank Post
    494
    Thanked 690 Times in 444 Posts
    Rep Power
    241

    Smilies

    I have a fireboard installation on my Joomla and want to add new smilies.

    Whats the quickest way of doing this? I don't want to add them all individually because I'll be on for days.

  2. #2

    SYSMAN_MK's Avatar
    Join Date
    Sep 2005
    Posts
    4,005
    Thank Post
    489
    Thanked 1,340 Times in 728 Posts
    Rep Power
    427
    You should upload your new smilies to the following folder:

    /components/com_fireboard/template/default/images/english/emoticons/

    Then you can choose them from the fireboard backend admin.

    Also this might be of use. Mass Smiley insert

  3. Thanks to SYSMAN_MK from:

    Hightower (30th October 2008)

  4. #3

    Hightower's Avatar
    Join Date
    Jun 2008
    Location
    Cloud 9
    Posts
    4,920
    Thank Post
    494
    Thanked 690 Times in 444 Posts
    Rep Power
    241
    Thanks mate.

    Not using that as is but using some of the script to add it myself:

    Code:
    <?php
    // Make a MySQL Connection and connect to a table
    mysql_connect("MYSQL SERVER ADD", "USER", "PASS") or die(mysql_error());
    echo "Connected ";
    mysql_select_db("jom1") or die(mysql_error());
    echo "to database<br /><br />";
    
    for ( $counter = 1; $counter <= 837; $counter += 1){
        $idno = 49 + $counter;
        $smilie = ':smilie_' .$counter. ':';
        $loca = $counter. '.gif';
        
        mysql_query("INSERT INTO 'content01'.'jos_fb_smileys'('id','code','location','greylocation','emoticonbar')
        VALUES ('$idno','$smilie','$loca','','0')") or die(mysql_error());
    }
        
    ?>
    Getting an error for the mySQL statement though - it's all fairly new to me so can anybody help?

    Code:
    mysql_query("INSERT INTO 'content01'.'jos_fb_smileys'('id','code','location','greylocation','emoticonbar')
        VALUES ('$idno','$smilie','$loca','','0')") or die(mysql_error());
    Thanks,

  5. #4

    Hightower's Avatar
    Join Date
    Jun 2008
    Location
    Cloud 9
    Posts
    4,920
    Thank Post
    494
    Thanked 690 Times in 444 Posts
    Rep Power
    241
    Right - I have created a script that can be easily edited if anybody needs to do the same as me.

    It's my first time at releasing one of my own scripts into public so please be kind.

SHARE:
+ Post New Thread

Similar Threads

  1. Make a story from the smilies
    By tech_guy in forum General Chat
    Replies: 9
    Last Post: 7th October 2008, 09:03 PM
  2. The British psyche through use of smilies
    By ITWombat in forum General Chat
    Replies: 36
    Last Post: 2nd July 2006, 12:17 AM
  3. Please sir. Can we have more smilies
    By ITWombat in forum Comments and Suggestions
    Replies: 11
    Last Post: 22nd May 2006, 01:10 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •