Like thats the first time I've gotten threats on my life over the Internet!Here's some code for you...
And of course... the die would output this...PHP:$bond = new James_Bond(); $bond->setMission('Eliminate Target')->setTarget('Forsaken')->setTargetLocation('XenForo.com')->createLicenseToKill()->createSenseOfUrgency(); die($bond->missionStatus());
lolCode:James Bond reporting on mission "Eliminate Target." The target, Forsaken, was found at XenForo.com and I used my license to kill to elimante the target it in 0.0000001ms. Completing mission by hiding the evidence and returning to HQ. Bond out.
Just kiddin'.![]()
Yes.Is the first post updated with the new version?
I decided to save your belongings for your family...Like thats the first time I've gotten threats on my life over the Internet!
At least you're not going to try to bomb my house.
Fatal error: Using $this when not in object context in /library/KingK/BbCodeManager/BbCodeManager.php on line 82
Odd, but fixed.Just tried to upgrade the xml and got this...
That should have updated, but modify it to <span style="float: %s;"> and </span>.That worked.
The float BBCode is not meant to allow for the text to wrap around the image/text, right? I was looking for the 'wrap' code I guess. Can anyone help with that code?
As Indigo said, introduced in v1.2, I created an advanced options setting, and so I introduced a uniform way to split options: ", ". And, Spoiler was switched to utilize this system. Its an unfortunate side effect that the original can't really have that. Unless you use the HTML entity for a comma, which should work.Strange thing with spoiler bbcode.
Try this:You will see a spoiler with 'hello' button and when you click on it the text changes to 'Dolly'Hidden Text
I actually disallow the creation of BB Codes with the names of default BB Codes in v1.2. Problems with the code / editor should be reported as bugs. And the only way to get formatting is to allow tags...?King Kovifor, is it possible to override the main CENTER function of the editor and make a custome one which allows to center content ?
I'm asking this because every time I try to edit and save a post in which the content is centered the post is getting messed up. When you swich to the simple editor in every line CENTER tags are been created and this causes problem while editing. So It would be nice a center function can be made, which behaves like QUOTE or spoiler, doesn't create bunch of unnecessary tags.
I actually disallow the creation of BB Codes with the names of default BB Codes in v1.2. Problems with the code / editor should be reported as bugs. And the only way to get formatting is to allow tags...?
That's more of an underlying software issue thn the use of [CENTER]. Its the way BB Code Parsing / unparsing works. Fixing that in BBCM may entail rewriting the BB Code Parsing.
UPDATE xf_post SET message = REPLACE(message, '[CENTER]', '')
UPDATE xf_post SET message = REPLACE(message, '[/CENTER]', '')
We use essential cookies to make this site work, and optional cookies to enhance your experience.