The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Trouble with parsed sigs.
Hullo, people.
At the forum I help administrate, the users just love their rainbow text. Recently, there seems to have been a problem with the rainbow text BBCode mod we had been using, so I thought I'd try to take a whack at writing my own. Anyways, the old BBCode was just added via the "Custom BBCode" manager, and used a bunch of JavaScript to change the {param} stuff. I was thinking, "Well, why not just do it in PHP and make it a Plugin instead?" So I wrote a PHP version that works nicely, but only in posts. It works in a signature until that signature is viewed a few times, then it craps out. Like, the PHP Regular Expression I use is: Code:
$pattern = '#(.*)\[rainbow\](.+)?\[/rainbow](.*)#si'; [rainbow]Stupid fairy stuff[/rainbow] Well, first it would come out all rainbow-y and stuff, but then (I'm assuming after it gets cached) it just appears as above. Which sucks. Which I'd like to fix. But how? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|