<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Module: BBcode version 2 (complete rewrite)</title>
        <description>[size=x-large]Please, download this one for testing only[/size]
[size=x-large]This module will be available in Phorum 5.2.8 and up by default[/size]

During the MySQL conference, a lot of work was done on a total rewrite of the BBcode module. This has resulted in a new version of the module that in my opinion truly deserves its &quot;version 2&quot; tag. If you want to test out this new module, then download the package from this thread. Remember that this is a newly born and that some parts of the code were typed in after a few Guinness, so I can&#039;t promise you that it is a good idea to drop this on a production environment yet. But if you&#039;re willing to take a gamble here, I promise that I&#039;ll be at your service for quick bug fixes from the 3rd of May on (then I&#039;ll be back from my U.S. vacation).

For upgrading, first remove (or move) the existing mods/bbcode directory. Then unpack and install the new one in the mods/bbcode directory. Go to the admin interface to make Phorum update the module info (actually not really needed I think, but it&#039;s a good idea to do so anyway). Check out the module&#039;s settings screen for a few new items in there. That should be about it. Let me know if you run into upgrading problems, so I can take care of them in my code.

[b]Some of the features for this new version:[/b]
[list]
[*]The new module implements a real tokenizing parser, which is both very fast and allows for easy and flexable implementation of BBcode tags.

[*]The parser can correct several problems like tags for which no close tag is provided and wrongly nested tags (this makes this version of the BBcode module extremely useful for those people that must/want to run their Phorum site using the application/xml content type).

[*]It is now possible to cleanly escape tag arguments, making it possible to implement tags that look like [thetagname argument=&quot;Some [quoted] \&quot;scary\&quot; argument&quot;]. This is for example very useful for the &quot;quote&quot; tag in combination with message authors that have names with brackets in them (not unfamiliar for people that run gaming forums, where often clan names in brackets are prefixed to the author names, e.g. &quot;[MyCoolKlan] McShoot&#039;3m&quot;. With the current BBcode module, we replace the brackets with other safe characters, which works but is not a really nice way to handle this.

[*]The \[email] tag was extended with a &quot;subject&quot; argument, so the subject for the mail link can be set.

[*] (I hear you think: &quot;Finally!!!&quot;) the \[list] tag was implemented, which makes it possible to add itemized lists to the messages (just like the one that I use here for summing up the new features). An easy to use tool for the Editor Tools module was also implemented for this new tag. Thanks to the new parser code, even lists in lists are not problem at all!

[*] A feature was added to make it possible to escape BBcode tags in a message by prepending them with a backslash, like \\[email]. The tag will then not be interpreted by the parser, so it is shown as is in the message. The backslash is of course not shown in this case. This feature can be turned on and off on the module&#039;s settings screen, because not every forum will make use of it.

[*] Preparations have been made to make it possible to cache the token list that is generated by the parser, which would make this module even faster than it already is. To give you an idea, here are some timings for a rather complicated message that I ran 1000 times through the module:

0.0495929718018 init parser
0.507103919983 tokenizer
0.253345012665 renderer

This comes down to 0.81 miliseconds per fully rendered message. But if we would put the tokenizer data in a cache, this would even go down to 0.30 miliseconds. Because I didn&#039;t really feel the difference between these timings :) I decided to not implement tokenizer caching for now.

[*] Probably some other cool stuff that I forgot to mention.
[/list]</description>
        <link>https://www.phorum.org/support/read.php?62,129667,129667#msg-129667</link>
        <lastBuildDate>Mon, 12 Oct 2026 04:52:22 -0500</lastBuildDate>
        <generator>Phorum 6.0.4</generator>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129667,151575#msg-151575</guid>
            <title>Re: Module: BBcode version 2 (complete rewrite)</title>
            <link>https://www.phorum.org/support/read.php?62,129667,151575#msg-151575</link>
            <description><![CDATA[ No, the module is now part of the distribution. Your version is newer.]]></description>
            <dc:creator>Maurice Makaay</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Tue, 19 Jun 2012 10:58:33 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129667,151573#msg-151573</guid>
            <title>Re: Module: BBcode version 2 (complete rewrite)</title>
            <link>https://www.phorum.org/support/read.php?62,129667,151573#msg-151573</link>
            <description><![CDATA[ I have currently BBcode (version 2.0.11)<br />
Should I upgrade it with this version? (2.0.7)]]></description>
            <dc:creator>melx</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Tue, 19 Jun 2012 02:41:14 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129667,151214#msg-151214</guid>
            <title>Re: Module: BBcode version 2 (complete rewrite)</title>
            <link>https://www.phorum.org/support/read.php?62,129667,151214#msg-151214</link>
            <description><![CDATA[ I add:<br />
<br />
    &#039;fleft&#039; =&gt; array(<br />
        BBCODE_INFO_DESCRIPTION   =&gt;&#039;[fleft]float left aligned content[/fleft]&#039;,<br />
        BBCODE_INFO_HASEDITORTOOL =&gt; TRUE,<br />
        BBCODE_INFO_DEFAULTSTATE  =&gt; 2,<br />
        BBCODE_INFO_REPLACEOPEN   =&gt; &#039;&lt;div style=&quot;float: left;&quot; class=&quot;bbcode&quot;&gt;&#039;,<br />
        BBCODE_INFO_REPLACECLOSE  =&gt; &#039;&lt;/div&gt;&#039;<br />
    ),<br />
    &#039;fright&#039; =&gt; array(<br />
        BBCODE_INFO_DESCRIPTION   =&gt;&#039;[fright]float right aligned content[/fright]&#039;,<br />
        BBCODE_INFO_HASEDITORTOOL =&gt; TRUE,<br />
        BBCODE_INFO_DEFAULTSTATE  =&gt; 2,<br />
        BBCODE_INFO_REPLACEOPEN   =&gt; &#039;&lt;div style=&quot;float: right;&quot; class=&quot;bbcode&quot;&gt;&#039;,<br />
        BBCODE_INFO_REPLACECLOSE  =&gt; &#039;&lt;/div&gt;&#039;<br />
    ),]]></description>
            <dc:creator>Marco</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Mon, 16 Apr 2012 15:49:09 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129667,147293#msg-147293</guid>
            <title>Re: Module: BBcode version 2 (complete rewrite)</title>
            <link>https://www.phorum.org/support/read.php?62,129667,147293#msg-147293</link>
            <description><![CDATA[ Hi Maurice,<br />
<br />
I published a new version of my <a href="http://www.phorum.org/phorum5/read.php?65,129717" target="_blank" >German Language Files Package</a> which includes also translations for you module in two character sets iso-8859-1 and utf-8.<br />
<br />
Please add the attached language files to the next release of your module and remove maybe existing old style files like german.php oder german-sie.php. Thanks!<br />
<br />
Regards<br />
Oliver]]></description>
            <dc:creator>Oliver Riesen-Mallmann</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Tue, 04 Jan 2011 04:24:19 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129667,147068#msg-147068</guid>
            <title>Re: Module: BBcode version 2 (complete rewrite)</title>
            <link>https://www.phorum.org/support/read.php?62,129667,147068#msg-147068</link>
            <description><![CDATA[ Could you post the code that you are trying to post in here, so we can see what you are doing exactly?]]></description>
            <dc:creator>Maurice Makaay</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Sat, 04 Dec 2010 11:40:40 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129667,147065#msg-147065</guid>
            <title>Re: Module: BBcode version 2 (complete rewrite)</title>
            <link>https://www.phorum.org/support/read.php?62,129667,147065#msg-147065</link>
            <description><![CDATA[ This is an absolutely awesome module. <br />
<br />
 But I am having a problem with it.  Formatting in all languages works flawlessly in preview from the post view.  But after I post and read from the read view, the preformatted text tag block containing the formatted code is flattened.  All of the formatting tags such as the list item and span tags have been removed and the formatted code block is seen as one large horizontally scrolling line with no breaks.  The outer most pre tag is present but inside that, the formatting tags are gone.<br />
<br />
Any idea what I might be doing wrong here?<br />
<br />
Thanks &amp; Regards,<br />
<br />
  Wes]]></description>
            <dc:creator>WesR</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Sat, 04 Dec 2010 07:08:44 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129667,146726#msg-146726</guid>
            <title>Re: Module: BBcode version 2 (complete rewrite)</title>
            <link>https://www.phorum.org/support/read.php?62,129667,146726#msg-146726</link>
            <description><![CDATA[ Thanks Maurice for your answer, it&#039;s now OK with the setting option]]></description>
            <dc:creator>victoria</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Mon, 08 Nov 2010 06:00:57 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129667,146692#msg-146692</guid>
            <title>Re: Module: BBcode version 2 (complete rewrite)</title>
            <link>https://www.phorum.org/support/read.php?62,129667,146692#msg-146692</link>
            <description><![CDATA[ If you go to the BBcode module settings in the admin interface, you will find an option there to define whether or not a new window should open for links.]]></description>
            <dc:creator>Maurice Makaay</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Sat, 06 Nov 2010 14:27:06 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129667,146691#msg-146691</guid>
            <title>Re: Module: BBcode version 2 (complete rewrite)</title>
            <link>https://www.phorum.org/support/read.php?62,129667,146691#msg-146691</link>
            <description><![CDATA[ I would like to open à new page which BBCode URL.<br />
<br />
I suppose, I need to modify one or more ligne in the code file.<br />
What I have to do as modifies to have an open windows with an URL  as : <a href="http://www.phorum.org/" target="_blank" >Phorum</a>]]></description>
            <dc:creator>victoria</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Sat, 06 Nov 2010 14:17:47 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129667,145818#msg-145818</guid>
            <title>Re: Module: BBcode version 2 (complete rewrite)</title>
            <link>https://www.phorum.org/support/read.php?62,129667,145818#msg-145818</link>
            <description><![CDATA[ Dear Maurice Makaay, <br />
  Got it! Thanks. <br />
Regards,<br />
Sreenadh]]></description>
            <dc:creator>Sreenadh OG</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Tue, 21 Sep 2010 14:17:18 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129667,145816#msg-145816</guid>
            <title>Re: Module: BBcode version 2 (complete rewrite)</title>
            <link>https://www.phorum.org/support/read.php?62,129667,145816#msg-145816</link>
            <description><![CDATA[ You will have to install the <a href="http://www.phorum.org/phorum5/read.php?62,127363" target="_blank" >BBcode GeSHi module</a>, which provides syntax highlighting and modified the editor tools to show the drop down that you are talking about.]]></description>
            <dc:creator>Maurice Makaay</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Tue, 21 Sep 2010 09:32:04 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129667,145815#msg-145815</guid>
            <title>Re: Module: BBcode version 2 (complete rewrite)</title>
            <link>https://www.phorum.org/support/read.php?62,129667,145815#msg-145815</link>
            <description><![CDATA[ Hi,<br />
In he BBCode Editor toolbar used in this forum I find in the code button various options such as &quot;Plain text, CSS, HTML, Javascript&quot; etc. How to get a similar list in the BBCode editor used in our forum as well. Currently when I click that button in our forum I am not getting that dropdown div panel but instead the selected text is getting covered with the [code] BB code tag only.<br />
  Can some one help please.<br />
Regards,<br />
Sreenadh]]></description>
            <dc:creator>Sreenadh OG</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Tue, 21 Sep 2010 09:16:44 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129667,144146#msg-144146</guid>
            <title>Re: Module: BBcode version 2 (complete rewrite)</title>
            <link>https://www.phorum.org/support/read.php?62,129667,144146#msg-144146</link>
            <description><![CDATA[ i add a image size check function in bb code editor, maybe you could add this too<br />
<br />
file : mods/bbcode_editor_tools.js<br />
function editor_tools_handle_img();<br />
<br />
[code=&quot;javascript&quot;]<br />
var jsImage = {<br />
    width : &#039;&#039;,<br />
    height : &#039;&#039;,<br />
    options:{maxwidth:-1,maxheight:-1,minwidth:10,minheight:10,onSucess:&#039;&#039;},<br />
    <br />
    reset : function() {<br />
        var t = jsImage;<br />
        t.width = t.height = &#039;&#039;;<br />
    },<br />
    <br />
    update : function() {<br />
        var t = jsImage;<br />
        <br />
        t.width = t.preloadImg.width;<br />
        t.height = t.preloadImg.height;<br />
        <br />
        var r=&#039;&#039;;<br />
        if(t.options.minwidth&gt;0 &amp;&amp; t.width&lt;t.options.minwidth)<br />
        {<br />
            r=&#039;image too small&#039;;<br />
        }<br />
        else if(t.options.minheight&gt;0 &amp;&amp; t.height&lt;t.options.minheight)<br />
        {<br />
            r=&#039;image too small&#039;;<br />
        }<br />
        else if(t.options.maxwidth&gt;0 &amp;&amp; t.width&gt;t.options.maxwidth)<br />
        {<br />
            r=&#039;image too big, max width=&#039;+t.options.maxwidth+&#039; px&#039;;<br />
        }<br />
        else if(t.options.maxheight&gt;0 &amp;&amp; t.height&gt;t.options.maxheight)<br />
        {<br />
            r=&#039;image too big, max height=&#039;+t.options.maxheight+&#039; px&#039;;<br />
        }        <br />
        else<br />
        {<br />
            if(t.onSucess!=undefined &amp;&amp; t.onSucess!=&#039;&#039;)<br />
            {<br />
                t.onSucess(t.preloadImg.src);<br />
            }<br />
            return;<br />
        }<br />
        alert(r);<br />
    },<br />
    <br />
    get : function(src) {<br />
        var t = jsImage;<br />
        <br />
        t.reset();<br />
        if ( ! src ) {<br />
        	return &quot;invalid image url&quot;;<br />
        }<br />
        <br />
        t.preloadImg = new Image();<br />
        t.preloadImg.onload = t.update;<br />
        t.preloadImg.onerror = t.reset;<br />
        t.preloadImg.src = src;    <br />
    },<br />
    <br />
    check : function(src,options) {<br />
        var t = jsImage;<br />
        <br />
        if(typeof(options)==&#039;object&#039;)<br />
        {<br />
            for(var i in t.options)<br />
            {<br />
                if(options<i>!=undefined)<br />
                {<br />
                    t.options<i>=options<i>;<br />
                }<br />
            }<br />
        }<br />
        <br />
        t.get(src);    <br />
    }<br />
}<br />
var editor_tools_handle_img_ok=function (url)<br />
{<br />
    editor_tools_add_tags(&#039;<img src="http://&#039; + url + &#039;" class="bbcode" border="0" />&#039;, &#039;&#039;);<br />
    editor_tools_focus_textarea();<br />
}<br />
function editor_tools_handle_img()<br />
{<br />
    var url = &#039;[<a href="http://&#039" target="_blank"  rel="nofollow">&</a>];;<br />
<br />
    for (;;)<br />
    {<br />
        // Read input.<br />
        url = prompt(editor_tools_translate(&quot;enter image url&quot;), url);<br />
        if (url == null) return; // Cancel clicked.<br />
        url = editor_tools_strip_whitespace(url);<br />
<br />
<br />
        // Check the URL scheme (http, https, ftp and mailto are allowed).<br />
        var copy = url.toLowerCase();<br />
        if (copy == &#039;[<a href="http://&#039" target="_blank"  rel="nofollow">&</a>]; || (<br />
            copy.substring(0,7) != &#039;[<a href="http://&#039" target="_blank"  rel="nofollow">&</a>]; &amp;&amp;<br />
            copy.substring(0,8) != &#039;[<a href="https://&#039" target="_blank"  rel="nofollow">&</a>]; &amp;&amp;<br />
            copy.substring(0,6) != &#039;[<a href="ftp://&#039" target="_blank"  rel="nofollow">&</a>];)) {<br />
            alert(editor_tools_translate(&quot;invalid image url&quot;));<br />
            continue;<br />
        }<br />
<br />
        // Check image width &amp; height<br />
        jsImage.check(url,{maxwidth:600,maxheight:600,onSucess:editor_tools_handle_img_ok});<br />
<br />
        break;<br />
    }<br />
<br />
}<br />
[/code]</i></i></i>]]></description>
            <dc:creator>zetoun</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Mon, 19 Apr 2010 11:17:09 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129667,144094#msg-144094</guid>
            <title>Re: Module: BBcode version 2 (complete rewrite)</title>
            <link>https://www.phorum.org/support/read.php?62,129667,144094#msg-144094</link>
            <description><![CDATA[ Fixed in <a href="http://trac.phorum.org/changeset/4717" target="_blank"  rel="nofollow">changeset 4717</a>, thanks.]]></description>
            <dc:creator>Maurice Makaay</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Fri, 16 Apr 2010 09:32:33 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129667,144093#msg-144093</guid>
            <title>Re: Module: BBcode version 2 (complete rewrite)</title>
            <link>https://www.phorum.org/support/read.php?62,129667,144093#msg-144093</link>
            <description><![CDATA[ Hi Maurice,<br />
<br />
I just installed version 5.2.15a which includes also the BBCode Module in version 2.0.10 and I noticed that language strings for the new left/right alignment tags are missing in english.php.<br />
<br />
Regards<br />
Oliver]]></description>
            <dc:creator>Oliver Riesen-Mallmann</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Fri, 16 Apr 2010 08:17:06 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129667,139323#msg-139323</guid>
            <title>Re: Module: BBcode version 2 (complete rewrite)</title>
            <link>https://www.phorum.org/support/read.php?62,129667,139323#msg-139323</link>
            <description><![CDATA[ Thanks, i didn&#039;t see these buttons. My limited english language doesn&#039;t help me.]]></description>
            <dc:creator>Anonymous User</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Sat, 18 Jul 2009 13:01:34 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129667,139320#msg-139320</guid>
            <title>Re: Module: BBcode version 2 (complete rewrite)</title>
            <link>https://www.phorum.org/support/read.php?62,129667,139320#msg-139320</link>
            <description><![CDATA[ I am not fully sure what you are trying here. You want to remove the smiley button? Then go to the settings of the smileys module and disable the options &quot;Enable body smiley button in the editor tools&quot; and/or &quot;Enable subject smiley button in the editor tools&quot;.]]></description>
            <dc:creator>Maurice Makaay</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Sat, 18 Jul 2009 12:06:30 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129667,139316#msg-139316</guid>
            <title>Re: Module: BBcode version 2 (complete rewrite)</title>
            <link>https://www.phorum.org/support/read.php?62,129667,139316#msg-139316</link>
            <description><![CDATA[ I don&#039;t know anything in php but i try to make an implementation of the module, for a  better compatibility with the smileys module:<br />
<br />
-Incorporating a smiley line which allows to disable the smiley tool box in the tool bar while letting the smileys enabled:<br />
<br />
&quot;Enabled&quot;, or &quot;Enabled + editor tools button&quot;]]></description>
            <dc:creator>Anonymous User</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Sat, 18 Jul 2009 08:25:24 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129667,136377#msg-136377</guid>
            <title>Re: Module: BBcode version 2 (complete rewrite)</title>
            <link>https://www.phorum.org/support/read.php?62,129667,136377#msg-136377</link>
            <description><![CDATA[ tnx maurice]]></description>
            <dc:creator>zadar</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Wed, 04 Feb 2009 03:29:00 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129667,136375#msg-136375</guid>
            <title>Re: Module: BBcode version 2 (complete rewrite)</title>
            <link>https://www.phorum.org/support/read.php?62,129667,136375#msg-136375</link>
            <description><![CDATA[ That occurance is defined in the bbcode module language file.<br />
mods/bbcode/lang/....php<br />
You&#039;d have to create a language file for the BBcode module to override that.]]></description>
            <dc:creator>Maurice Makaay</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Tue, 03 Feb 2009 17:34:12 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129667,136373#msg-136373</guid>
            <title>Re: Module: BBcode version 2 (complete rewrite)</title>
            <link>https://www.phorum.org/support/read.php?62,129667,136373#msg-136373</link>
            <description><![CDATA[ Sorry i didnt explain well. I translated lang file...but i cannot find <br />
<br />
<img src="http://labaratoriya.com/daniel/quote.jpg" class="bbcode" border="0" /><br />
this quote to translate]]></description>
            <dc:creator>zadar</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Tue, 03 Feb 2009 17:09:19 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129667,136370#msg-136370</guid>
            <title>Re: Module: BBcode version 2 (complete rewrite)</title>
            <link>https://www.phorum.org/support/read.php?62,129667,136370#msg-136370</link>
            <description><![CDATA[ Sure you can. It is in a language string.<br />
<br />
You can directly edit the &quot;QuoteMessage&quot; language key in include/lang/&lt;yourlanguage&gt;.php, however that does not allow for easy upgrading. <br />
<br />
An easier way of overriding this language string would be by adding code like this to the end of templates/&lt;yourtemplate&gt;/header.tpl:<br />
<br />
[code=&quot;php&quot;]<br />
&lt;?php $PHORUM[&#039;DATA&#039;][&#039;LANG&#039;][&#039;QuoteMessage&#039;] = &#039;Your quote string&#039; ?&gt;<br />
[/code]<br />
<br />
You can also us the custom language module, but for overriding only one language string, this might be too much of an overkill solution.]]></description>
            <dc:creator>Maurice Makaay</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Tue, 03 Feb 2009 13:56:13 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129667,136361#msg-136361</guid>
            <title>Re: Module: BBcode version 2 (complete rewrite)</title>
            <link>https://www.phorum.org/support/read.php?62,129667,136361#msg-136361</link>
            <description><![CDATA[ Question: Is it possible to translate &#039;Quote&#039; in Quote box??]]></description>
            <dc:creator>zadar</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Tue, 03 Feb 2009 07:16:19 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129667,131570#msg-131570</guid>
            <title>Re: Module: BBcode version 2 (complete rewrite)</title>
            <link>https://www.phorum.org/support/read.php?62,129667,131570#msg-131570</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>Maurice Makaay</strong><br />
I fixed the problem. I repackaged 2.0.7 with this fix included.</div></blockquote>
<br />
Thanks Maurice!<br />
<br />
Regards<br />
Oliver]]></description>
            <dc:creator>Oliver Riesen-Mallmann</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Wed, 02 Jul 2008 13:54:01 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129667,131564#msg-131564</guid>
            <title>Re: Module: BBcode version 2 (complete rewrite)</title>
            <link>https://www.phorum.org/support/read.php?62,129667,131564#msg-131564</link>
            <description><![CDATA[ I fixed the problem. I repackaged 2.0.7 with this fix included.]]></description>
            <dc:creator>Maurice Makaay</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Wed, 02 Jul 2008 13:09:54 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129667,131547#msg-131547</guid>
            <title>Re: Module: BBcode version 2 (complete rewrite)</title>
            <link>https://www.phorum.org/support/read.php?62,129667,131547#msg-131547</link>
            <description><![CDATA[ Thanks for that one. It will certainly help. I&#039;ll take a look at it.]]></description>
            <dc:creator>Maurice Makaay</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Wed, 02 Jul 2008 04:16:25 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129667,131546#msg-131546</guid>
            <title>Re: Module: BBcode version 2 (complete rewrite)</title>
            <link>https://www.phorum.org/support/read.php?62,129667,131546#msg-131546</link>
            <description><![CDATA[ Hi Maurice,<br />
<br />
<blockquote class="bbcode"><div><small>Quote<br /></small><strong>Maurice Makaay</strong><br />
Can you also check the signature for that user?</div></blockquote>
<br />
That&#039;s the reason why I wasn&#039;t able to reproduce this warning in my tests, I don&#039;t see signatures...<br />
<br />
It was a bad signature like this (cutted URL-tag):<br />
<br />
<pre class="bbcode">
Touran-Club u.Langzeittest Mitglied aus Bremen VW Touran 1.4 TSI Highline Deep Black Nardofelgen m. Sportfahrwerk Cross-Grill u.Rückleuchten/Netztrennwand/Winterpaket/Multifunktionslenkrad/ Ladeboden /CH LH/Thanks to ImageShack for [URL=http://imageshack.</pre>
<br />
Regards<br />
Oliver]]></description>
            <dc:creator>Oliver Riesen-Mallmann</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Wed, 02 Jul 2008 04:13:37 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129667,131543#msg-131543</guid>
            <title>Re: Module: BBcode version 2 (complete rewrite)</title>
            <link>https://www.phorum.org/support/read.php?62,129667,131543#msg-131543</link>
            <description><![CDATA[ Can you take a look at the source of [<a href="http://forum.langzeittest.de/read.php?422,419652,419653" target="_blank"  rel="nofollow">forum.langzeittest.de</a>] to see what the body text looks like? Can you also check the signature for that user? I&#039;m not sure what triggers this warning and it would be nice to have a test case.]]></description>
            <dc:creator>Maurice Makaay</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Wed, 02 Jul 2008 03:40:59 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129667,131540#msg-131540</guid>
            <title>Re: Module: BBcode version 2 (complete rewrite)</title>
            <link>https://www.phorum.org/support/read.php?62,129667,131540#msg-131540</link>
            <description><![CDATA[ Hi Maurice,<br />
<br />
I get sometimes the following message in event log (offset is different):<br />
<br />
<pre class="bbcode">
PHP notice: Uninitialized string offset: 1021

PHP notice generated at /var/www/langzeittest.de/html/intern/phorum-5.2.8-RC1/mods/bbcode/api.php:777

Back trace:

Function bbcode_api_tokenize called at
{path to Phorum}/mods/bbcode/bbcode.php:102
----
Function phorum_mod_bbcode_format called
----
Function call_user_func_array called at
{path to Phorum}/common.php:1555
----
Function phorum_hook called at
{path to Phorum}/include/format_functions.php:172
----
Function phorum_format_messages called at
{path to Phorum}/read.php:717
----

Request info:

HTTP_HOST = forum.langzeittest.de
HTTP_REFERER = [<a href="http://forum.langzeittest.de/read.php?422,419652,419653" target="_blank"  rel="nofollow">forum.langzeittest.de</a>]
REQUEST_URI = /read.php?422,419652,419654
QUERY_STRING = 422,419652,419654</pre>
<br />
It comes from <br />
<br />
<pre class="bbcode">
// If the current tag does not take arguments, then it is
// apparently wrong and we can continue searching for the next tag.
// We can also continue if there is no space, indicating the start
// for a new argument.
elseif ($text[$cursor] != &#039; &#039; ||
        empty($current_tag[BBCODE_INFO_ARGPARSETREE])) {
        $state = 1;
        continue;
}</pre>
<br />
I&#039;m using version 3.0.6, so line number can vary from your yesterdays new version.<br />
<br />
Regards<br />
Oliver]]></description>
            <dc:creator>Oliver Riesen-Mallmann</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Wed, 02 Jul 2008 03:32:08 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,129667,131489#msg-131489</guid>
            <title>Re: Module: BBcode version 2 (complete rewrite)</title>
            <link>https://www.phorum.org/support/read.php?62,129667,131489#msg-131489</link>
            <description><![CDATA[ It can work that way if the PHP integration is done using CGI or FastCGI, since you can then assign a different script handler to different sites or even directories. If PHP is loaded as a server module, then it&#039;s not possible however.]]></description>
            <dc:creator>Maurice Makaay</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Tue, 01 Jul 2008 13:13:12 -0500</pubDate>
        </item>
    </channel>
</rss>
