<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[PunBB Forums — [RELEASE] bbcode_html (Allow html in post, reply, pm)]]></title>
		<link>https://punbb.informer.com/forums/topic/25360/release-bbcodehtml-allow-html-in-post-reply-pm/</link>
		<atom:link href="https://punbb.informer.com/forums/feed/rss/topic/25360/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in [RELEASE] bbcode_html (Allow html in post, reply, pm).]]></description>
		<lastBuildDate>Sat, 23 Apr 2016 20:18:01 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: [RELEASE] bbcode_html (Allow html in post, reply, pm)]]></title>
			<link>https://punbb.informer.com/forums/post/155829/#p155829</link>
			<description><![CDATA[<p>I think it would be better to resolve any tags, but only for the administrator .</p><p>See how it&#039;s done [url=https://[[punbb.info]]/repository/1_4/extensions/pan_html_in_posts/pan_html_in_posts.zip]here[/url]</p><p>There for HTML and script a separate field .</p>]]></description>
			<author><![CDATA[null@example.com (PanBB.Ru)]]></author>
			<pubDate>Sat, 23 Apr 2016 20:18:01 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/155829/#p155829</guid>
		</item>
		<item>
			<title><![CDATA[Re: [RELEASE] bbcode_html (Allow html in post, reply, pm)]]></title>
			<link>https://punbb.informer.com/forums/post/155828/#p155828</link>
			<description><![CDATA[<p>I&#039;ve seen it is possible to put flash games into posts (a .swf works inside the post) with that extension, maybe it&#039;s not risky.<br />But i&#039;ve made a bug of the forum trying the possibily of a javascript code, this sounds risky...<br />Just with that script inside a post (which is not risky script, just an effect on letters <strong>but it closed the topic, nobody could answer, and also closed the possibility of editing or deleting the post, so what about a risky javascript ?</strong>) :<br /></p><div class="codebox"><pre><code>&lt;h2&gt;
&lt;script language=&quot;JavaScript1.2&quot;&gt;

/*
Neon Lights Text
*/

var message=&quot;Welcome to JavaScript Kit!&quot;
var neonbasecolor=&quot;gray&quot;
var neontextcolor=&quot;yellow&quot;
var flashspeed=100  //in milliseconds

///No need to edit below this line/////

var n=0
if (document.all||document.getElementById){
document.write(&#039;&#039;)
for (m=0;m&lt;message.length;m++)
document.write(&#039;&lt;span id=&quot;neonlight&#039;+m+&#039;&quot;&gt;&#039;+message.charAt(m)+&#039;&lt;/span&gt;&#039;)
document.write(&#039;&#039;)
}
else
document.write(message)

function crossref(number){
var crossobj=document.all? eval(&quot;document.all.neonlight&quot;+number) : document.getElementById(&quot;neonlight&quot;+number)
return crossobj
}

function neon(){

//Change all letters to base color
if (n==0){
for (m=0;m&lt;message.length;m++)
//eval(&quot;document.all.neonlight&quot;+m).style.color=neonbasecolor
crossref(m).style.color=neonbasecolor
}

//cycle through and change individual letters to neon color
crossref(n).style.color=neontextcolor

if (n&lt;message.length-1)
n++
else{
n=0
clearInterval(flashing)
setTimeout(&quot;beginneon()&quot;,1500)
return
}
}

function beginneon(){
if (document.all||document.getElementById)
flashing=setInterval(&quot;neon()&quot;,flashspeed)
}
beginneon()


&lt;/script&gt;
&lt;/h2&gt;</code></pre></div><p>If a javascript code can cause dysfonctions of the forum, i guess it would be better not allowing javascript in the html code.<br />EDIT : if i put &quot;&lt;script&gt;&quot; at the beginning it doesn&#039;t try to run the script, i guess the script could run because of the&nbsp; &quot;&lt;script language=&quot;JavaScript1.2&quot;&gt;&quot; at the beginning of the script, a case that wasn&#039;t expected in the extension and let the script trying to run and cause dysfonctions.</p>]]></description>
			<author><![CDATA[null@example.com (zetrader)]]></author>
			<pubDate>Sat, 23 Apr 2016 19:29:16 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/155828/#p155828</guid>
		</item>
		<item>
			<title><![CDATA[Re: [RELEASE] bbcode_html (Allow html in post, reply, pm)]]></title>
			<link>https://punbb.informer.com/forums/post/155827/#p155827</link>
			<description><![CDATA[<p>Ok, maybe the script in the last version is secure enough, i don&#039;t know, what do you think ?<br />About security, i&#039;ve seen that part in the script code :<br /></p><div class="codebox"><pre><code>//Removing possible attacks
          if (strpos($text, &#039;&lt;script&gt;&#039;) !== false &amp;&amp; strpos($text, &#039;&lt;/script&gt;&#039;) !== false )
                       {
                          $text = str_replace(array(&#039;&lt;script&gt;&#039;, &#039;&lt;/script&gt;&#039;), &#039; &#039;, $text);
                            }
                            elseif (strpos($text, &#039;&lt;body&gt;&#039;) !== false &amp;&amp; strpos($text, &#039;&lt;/body&gt;&#039;) !== false )
                       {
                          $text = str_replace(array(&#039;&lt;body&gt;&#039;, &#039;&lt;/body&gt;&#039;), &#039; &#039;, $text);
                            }
                            elseif (strpos($text, &#039;&lt;html&gt;&#039;) !== false &amp;&amp; strpos($text, &#039;&lt;/html&gt;&#039;) !== false )
                       {
                          $text = str_replace(array(&#039;&lt;html&gt;&#039;, &#039;&lt;/html&gt;&#039;), &#039; &#039;, $text);
                            }
                            elseif (strpos($text, &#039;&lt;head&gt;&#039;) !== false &amp;&amp; strpos($text, &#039;&lt;/head&gt;&#039;) !== false )
                       {
                          $text = str_replace(array(&#039;&lt;head&gt;&#039;, &#039;&lt;/head&gt;&#039;), &#039; &#039;, $text);
                            }
          elseif (strpos($text, &#039;&lt;script&gt;&#039;) !== false)
                       {
                          $text = str_replace(&#039;&lt;script&gt;&#039;, &#039; &#039;, $text);
                            }
          elseif (strpos($text, &#039;&lt;/script&gt;&#039;) !== false)
                       {
                          $text = str_replace(&#039;&lt;/script&gt;&#039;, &#039; &#039;, $text);
                            }
          elseif (strpos($text, &#039;text/javascript&#039;) !== false)
                       {
                          $text = str_replace(&#039;text/javascript&#039;, &#039; &#039;, $text);
                            }
        elseif (strpos($text, &#039;&lt;/head&gt;&#039;) !== false)
                       {
                          $text = str_replace(&#039;&lt;/head&gt;&#039;, &#039; &#039;, $text);
                            }
         elseif (strpos($text, &#039;&lt;/body&gt;&#039;) !== false)
                       {
                          $text = str_replace(&#039;&lt;/body&gt;&#039;, &#039; &#039;, $text);
                            }
         elseif (strpos($text, &#039;&lt;head&gt;&#039;) !== false)
                       {
                          $text = str_replace(&#039;&lt;head&gt;&#039;, &#039; &#039;, $text);
                            }
         elseif (strpos($text, &#039;&lt;body&gt;&#039;) !== false)
                       {
                          $text = str_replace(&#039;&lt;body&gt;&#039;, &#039; &#039;, $text);
                            }
         elseif (strpos($text, &#039;&lt;html&gt;&#039;) !== false)
                       {
                          $text = str_replace(&#039;&lt;html&gt;&#039;, &#039; &#039;, $text);
                            }
         elseif (strpos($text, &#039;&lt;/html&gt;&#039;) !== false)
                       {
                          $text = str_replace(&#039;&lt;/html&gt;&#039;, &#039; &#039;, $text);
                            }</code></pre></div><p>Is it safe enough like that ?</p>]]></description>
			<author><![CDATA[null@example.com (zetrader)]]></author>
			<pubDate>Sat, 23 Apr 2016 19:06:22 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/155827/#p155827</guid>
		</item>
		<item>
			<title><![CDATA[Re: [RELEASE] bbcode_html (Allow html in post, reply, pm)]]></title>
			<link>https://punbb.informer.com/forums/post/155826/#p155826</link>
			<description><![CDATA[<p>Yes, but not enough to hide the button. It is not problem...</p><p>It is also necessary to check a message for the presence of the tag [html]&nbsp; and [/html] in the file post.php.</p>]]></description>
			<author><![CDATA[null@example.com (PanBB.Ru)]]></author>
			<pubDate>Sat, 23 Apr 2016 18:18:21 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/155826/#p155826</guid>
		</item>
		<item>
			<title><![CDATA[Re: [RELEASE] bbcode_html (Allow html in post, reply, pm)]]></title>
			<link>https://punbb.informer.com/forums/post/155825/#p155825</link>
			<description><![CDATA[<p>Yes i have tried before, it works as a user, new user or guest (if we allow guests to post).<br />Maybe a way to avoid news users to use htm would be to hide the html button from bbcode buttons and tell the html function only to users that you know well ? If it helps in some functions allowing html for some members.<br />I&#039;ve seen Abir made some changes to avoid some security attacks, maybe it&#039;s secure enough now, i don&#039;t know, i guess it would be enough if new users don&#039;t see it o can&#039;t do it.</p>]]></description>
			<author><![CDATA[null@example.com (zetrader)]]></author>
			<pubDate>Sat, 23 Apr 2016 17:39:24 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/155825/#p155825</guid>
		</item>
		<item>
			<title><![CDATA[Re: [RELEASE] bbcode_html (Allow html in post, reply, pm)]]></title>
			<link>https://punbb.informer.com/forums/post/155824/#p155824</link>
			<description><![CDATA[<p>You have tried to place the tags as a user?</p><p>if all the user may add [html] tag , it is necessary to check for the presence of [html] tag.</p>]]></description>
			<author><![CDATA[null@example.com (PanBB.Ru)]]></author>
			<pubDate>Sat, 23 Apr 2016 17:25:18 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/155824/#p155824</guid>
		</item>
		<item>
			<title><![CDATA[Re: [RELEASE] bbcode_html (Allow html in post, reply, pm)]]></title>
			<link>https://punbb.informer.com/forums/post/155822/#p155822</link>
			<description><![CDATA[<p>Hello, i guess that allowing every new user to post html may be dangerous, would that be possible to allow only admin to post and edit html in post ?</p>]]></description>
			<author><![CDATA[null@example.com (zetrader)]]></author>
			<pubDate>Sat, 23 Apr 2016 12:04:41 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/155822/#p155822</guid>
		</item>
		<item>
			<title><![CDATA[Re: [RELEASE] bbcode_html (Allow html in post, reply, pm)]]></title>
			<link>https://punbb.informer.com/forums/post/146190/#p146190</link>
			<description><![CDATA[<p>It worked thank you so much !!!!</p>]]></description>
			<author><![CDATA[null@example.com (Eretz)]]></author>
			<pubDate>Mon, 27 Aug 2012 10:40:34 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/146190/#p146190</guid>
		</item>
		<item>
			<title><![CDATA[Re: [RELEASE] bbcode_html (Allow html in post, reply, pm)]]></title>
			<link>https://punbb.informer.com/forums/post/146189/#p146189</link>
			<description><![CDATA[<p>OK thank you so much for this advice !!!!!! I try this and get back. </p><p>RULE N°1 : CHECK THE EXTENSION VERSION BEFORE ACTING IN ANY WAY :&#039;-( This little action without checking version cost me lots of problem...</p>]]></description>
			<author><![CDATA[null@example.com (Eretz)]]></author>
			<pubDate>Mon, 27 Aug 2012 10:31:03 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/146189/#p146189</guid>
		</item>
		<item>
			<title><![CDATA[Re: [RELEASE] bbcode_html (Allow html in post, reply, pm)]]></title>
			<link>https://punbb.informer.com/forums/post/146188/#p146188</link>
			<description><![CDATA[<div class="quotebox"><cite>Eretz wrote:</cite><blockquote><p>OK I copied pasted define(&#039;FORUM_DISABLE_HOOKS&#039;, 1); on config.php and logically I&#039;ve lost all my extensions nd my hooks, but at least my website works...</p><p>I would like to supress all the effects of this extension. </p><p>Where should I go, be it on source code files or in database, to erase all the effects of this extension ? </p><p>Then I will be able to get my extensions back, and my website back to normalty. </p><p>Can the developer of this extension tells where this extension make changes and tell how to erase it ?</p></blockquote></div><p>1. (&#039;FORUM_DISABLE_HOOKS&#039;, 1); on config.php<br />2. you deleted the extension in the wrong way before so put it back and then disable and uninstall it.<br />3. remove the 1.&nbsp; (&#039;FORUM_DISABLE_HOOKS&#039;, 1); on config.php<br />4. activate the old extensions you had before.</p>]]></description>
			<author><![CDATA[null@example.com (barateau)]]></author>
			<pubDate>Mon, 27 Aug 2012 09:54:35 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/146188/#p146188</guid>
		</item>
		<item>
			<title><![CDATA[Re: [RELEASE] bbcode_html (Allow html in post, reply, pm)]]></title>
			<link>https://punbb.informer.com/forums/post/146186/#p146186</link>
			<description><![CDATA[<p>OK I copied pasted define(&#039;FORUM_DISABLE_HOOKS&#039;, 1); on config.php and logically I&#039;ve lost all my extensions nd my hooks, but at least my website works...</p><p>I would like to supress all the effects of this extension. </p><p>Where should I go, be it on source code files or in database, to erase all the effects of this extension ? </p><p>Then I will be able to get my extensions back, and my website back to normalty. </p><p>Can the developer of this extension tells where this extension make changes and tell how to erase it ?</p>]]></description>
			<author><![CDATA[null@example.com (Eretz)]]></author>
			<pubDate>Mon, 27 Aug 2012 09:39:40 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/146186/#p146186</guid>
		</item>
		<item>
			<title><![CDATA[Re: [RELEASE] bbcode_html (Allow html in post, reply, pm)]]></title>
			<link>https://punbb.informer.com/forums/post/146184/#p146184</link>
			<description><![CDATA[<p>I went in the database, and I I didn&#039;t fin at all what this extension changed, be it on config table, on anycode_hook table, or on extension_hook table. </p><p>Can anyone tell me where this extension made change on my website and where I can change this so that I can erase all the changes and get back to previous situation ?</p>]]></description>
			<author><![CDATA[null@example.com (Eretz)]]></author>
			<pubDate>Mon, 27 Aug 2012 09:02:15 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/146184/#p146184</guid>
		</item>
		<item>
			<title><![CDATA[Re: [RELEASE] bbcode_html (Allow html in post, reply, pm)]]></title>
			<link>https://punbb.informer.com/forums/post/146183/#p146183</link>
			<description><![CDATA[<p>I opened config.php and copy paste //define(&#039;FORUM_DISABLE_HOOKS&#039;, 1);</p><p>It changes nothing...</p><p>What I don&#039;t understand is that I re-uploaded the directory without the changes made by this extension but it changed nothing !!! Usually, when I make a mistale and reupload previous version from local folder, it get back to previous situation. </p><p>Here, it changes nothing !! What has been changed by this extension on my website ??? </p><p>Oh my god it&#039;s panic here !!!</p>]]></description>
			<author><![CDATA[null@example.com (Eretz)]]></author>
			<pubDate>Mon, 27 Aug 2012 08:43:27 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/146183/#p146183</guid>
		</item>
		<item>
			<title><![CDATA[Re: [RELEASE] bbcode_html (Allow html in post, reply, pm)]]></title>
			<link>https://punbb.informer.com/forums/post/146181/#p146181</link>
			<description><![CDATA[<p>I don&#039;t want to change my version, I just want to have my websoite back to it original situation !!!</p><p>I can&#039;t uninstall this extension because I can&#039;t access to the admin board. I have erased this extension (both folder and in database but it changes nothing, I still have this message !!</p><p>Oh my god.</p>]]></description>
			<author><![CDATA[null@example.com (Eretz)]]></author>
			<pubDate>Mon, 27 Aug 2012 08:33:28 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/146181/#p146181</guid>
		</item>
		<item>
			<title><![CDATA[Re: [RELEASE] bbcode_html (Allow html in post, reply, pm)]]></title>
			<link>https://punbb.informer.com/forums/post/146179/#p146179</link>
			<description><![CDATA[<p>This extension has just killed my website !!!!!!!!!!!!!!</p>]]></description>
			<author><![CDATA[null@example.com (Eretz)]]></author>
			<pubDate>Mon, 27 Aug 2012 08:31:02 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/146179/#p146179</guid>
		</item>
	</channel>
</rss>
