Simple anyone can do it

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Simple anyone can do it

    Ok i was just wondering if anyone would like to help me make my guestbook script better by coding the smilies? dont worry i'll show you how... ok so first thing you have to do is get the smilies and put it into a folder use "smilies" next create smilies.html and put the smiles images and their codes example
    PHP Code:
    <img src="smilies/wtf.png"/><br/>code: -wtf-<br/> 
    then create smilies.php and put the replace codes that will replace codes in the message with smilie images example
    PHP Code:
    <?php
    $_POST
    ["message"] = str_replace('-wtf-','<img src="smilies/wtf.png"/>',$_POST["message"]); ?>
    just repeat the same steps to add all the other smiley codes and smilies... anyone interested?
    Last edited by kevk3v; 24.03.10, 17:07.
    Mobile chat, iphone chat, android chat, chat, rooms http://www.aiochat.com

    #2
    =]

    yeah why not mate
    send me the info and ill happily help...as im not busy

    Comment


      #3
      wapfuture just make it and send it to me as zip or smtn
      Mobile chat, iphone chat, android chat, chat, rooms http://www.aiochat.com

      Comment


        #4
        What tipe of smilies are u looking for any specific set of smilies or color range? Or can we all add our own selection and you can choose the best set or even better how a bout a smiley pack selector in the script so the person using the script can choose his own set of smilies kind of like how we choose themes in other sites?
        My site: http://mimobifunclub.tk
        sigpic

        Comment


          #5
          Cool idea bro ... very well smiley pack selecter will be a feature but only if you guys make the smiley packs i will make some themes meanwhile
          Mobile chat, iphone chat, android chat, chat, rooms http://www.aiochat.com

          Comment


            #6
            okkevk3v do you want me to use the codes you posted above ?

            i have some good smilies

            Comment


              #7
              yeah use the codes i posted above
              Mobile chat, iphone chat, android chat, chat, rooms http://www.aiochat.com

              Comment

              Working...
              X