View Single Post
Old 2004-09-07, 20:32
xesf's Avatar
xesf xesf is offline
Magic Ball Master
Join Date: Sep 2002
Location: Dublin
Posts: 7,762
I don't use it regularly, but can be use in both causes but ins't exactly like when we us VocĂȘs.

Ok, the one I put before maybe isn't the best one for Twinsunica.

Articles: (ex: [article=3]Twinsen[/article])
$text = preg_replace("/\[article=(.+?)\](.+?)\[\/article\]/is", "<a href=\"$1\">$2</a>", $text);

Threads: (ex: [thread=1500]Bla Bla Bla[ /thread])
$text = preg_replace("/\[threads=(.+?)\](.+?)\[\/threads\]/is", "<a href=\"$1\">$2</a>", $text);
LBA2Remake v0.4.0 released - open source re-implementation of the LBA 2 original engine for the web.
[Play on Browser]|[Changes]|[Github]

The Sacred Carrot website
Reply With Quote