Simple anyone can do it

Started on the old forum in March 2010 · view the original in the archive · old links redirect here

#guestbook-script

6 replies · 492 views · started 16 years ago · 1 min read

3 participants
kevk3v Senior · 332 posts #1

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

<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
$_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?

Mobile chat, iphone chat, android chat, chat, rooms http://www.aiochat.com

kevk3v Senior · 332 posts #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

mobidev Senior · 312 posts #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?

kevk3v Senior · 332 posts #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

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close