FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!

BBCode & smilies




Thanks to manofgames for pointing out how inefficient the database powered bbcode and smilie functions were. I have updated then to run from files and optimized the code in the process. The result is it all running a LOT quicker!

Current BBCodes available (These will all likely be provided as default, with the exception of the PHP highlighter)
bold, italic, underline, strikethrough, colour, Links, centre, align, font, size, subscript, superscript ,Code, PHP

tobias created these cool emoticons btw! The smilies also now run faster!




2 blog comments below

Thanks for taking it up Smile
Though it might have been easier and more versatile to simply cache the contents of $bbcode.
The new system doesn't leave any room for expansion... Sad , though it is a lot faster Smile

By the way, you might want to upload the similes onto frims.org.uk next time instead of to your localhost, we can't see the images while your offline Razz
Manofgames on Mon Oct 01, 2007 6:21 pm
Just write to the file to add new ones, remove them and edit current ones. Very Happy

Yeah I've changed the URL's now though the server isn't doing something right so it's actually not showing them all Razz
mathiaus on Mon Oct 01, 2007 7:28 pm



FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.