![]() |
Replace Text With Smilies
I have a small news script that works like this:
index.php Displays my news add.php Allows me to add the news and consists of a text field for the news title and a textarea for the actual news. I want to be able to type something like : ) (no space) in the textarea and then have it converted to a smilie. I asked this on PHPBuilder.com and the nice guy that did his best to help me was stumped after a while. Any suggestions? Thanks. :) |
if you require vb's global.php you can use the bbcodeparse2 function.
if not, take at least a look at this function nto see how it parses smilies :) |
Where would I find this? admin/functions.php?
|
yes
|
All times are GMT. The time now is 04:25 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|