Best of joomla gives you news, joomla templates, tutorials and websites about Joomla , FireBoard and FireMessage official page.
| No account yet?   |
The FireBoard forum component development is still going on. In order to get better, FireBoard will be moved from the Best of Joomla website.
During this transition period, the forum in Best of Joomla will be closed to new posts.
Welcome, Guest
Please Login or Register.    Lost Password?
FireBoard Manual Latest release discussions Download FireBoard
smile.class.php ~ 1.03 to 1.04 ~ video script (1 viewing) (1) Guest
TOPIC: smile.class.php ~ 1.03 to 1.04 ~ video script
#47949
smile.class.php ~ 1.03 to 1.04 ~ video script 9 Months, 2 Weeks ago  
Hello there

I just upgraded from 1.03 to 1.04 as I was getting some strange bugs appearing like the Blink Smiley turning into strange text and a few other odd items. Anyhow, I had included the script below in the smile.class.php file so when it came to adding this into the smile.class.php file for 1.04 I noticed some major changes to it, probably reduced to 30% or so of the original size and no place to insert the script.

Has anyone got any ideas where such an important and clever piece of script can now be inserted?

Thanks in advance for any and all help.

Cheers,

Neil

[code:1]
//youtube

$fb_message_txt = preg_replace("/[youtube](.*?)[/youtube]/si","",$fb_message_txt);

// Myvideo

$fb_message_txt = preg_replace("/[myvideo](.*?)[/myvideo]/si","",$fb_message_txt);

// Google Video

$fb_message_txt = preg_replace("/[google](.*?)[/google]/si","",$fb_message_txt);

// Clipfish

$fb_message_txt = preg_replace("/[clipfish](.*?)[/clipfish]/si","",$fb_message_txt);[/code:1]
nmcleod (User)
Fresh Boarder
Posts: 11
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
Go to top