<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[PunBB Forums — shoutbox_pun - a punbb shoutbox]]></title>
		<link>https://punbb.informer.com/forums/topic/24853/shoutboxpun-a-punbb-shoutbox/</link>
		<atom:link href="https://punbb.informer.com/forums/feed/rss/topic/24853/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in shoutbox_pun - a punbb shoutbox.]]></description>
		<lastBuildDate>Tue, 22 Dec 2015 17:21:46 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: shoutbox_pun - a punbb shoutbox]]></title>
			<link>https://punbb.informer.com/forums/post/155310/#p155310</link>
			<description><![CDATA[<p>There&#039;s an option in settings to put it at the top of the board</p>]]></description>
			<author><![CDATA[null@example.com (ams)]]></author>
			<pubDate>Tue, 22 Dec 2015 17:21:46 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/155310/#p155310</guid>
		</item>
		<item>
			<title><![CDATA[Re: shoutbox_pun - a punbb shoutbox]]></title>
			<link>https://punbb.informer.com/forums/post/155079/#p155079</link>
			<description><![CDATA[<p>It would be nice if you can hook it up somewhere after the announcement div. I could not find an appropriate one. People might get lazy scrolling down to the bottom to see the shoutbox, not to mention if the site has too many subs.</p>]]></description>
			<author><![CDATA[null@example.com (Bryan25)]]></author>
			<pubDate>Mon, 12 Oct 2015 08:32:54 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/155079/#p155079</guid>
		</item>
		<item>
			<title><![CDATA[Re: shoutbox_pun - a punbb shoutbox]]></title>
			<link>https://punbb.informer.com/forums/post/154166/#p154166</link>
			<description><![CDATA[<p>There&#039;s an update with fixes to a few bugs and a few minor improvements</p><p>There&#039;s 1 security fix and 1 breaking change (previous shouted links will look funny)</p>]]></description>
			<author><![CDATA[null@example.com (ams)]]></author>
			<pubDate>Sun, 14 Sep 2014 11:05:03 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/154166/#p154166</guid>
		</item>
		<item>
			<title><![CDATA[Re: shoutbox_pun - a punbb shoutbox]]></title>
			<link>https://punbb.informer.com/forums/post/149814/#p149814</link>
			<description><![CDATA[<p><span class="postimg"><img src="http://i.imgur.com/AQD1TXd.png" alt="http://i.imgur.com/AQD1TXd.png" /></span></p><p>Not work</p>]]></description>
			<author><![CDATA[null@example.com (irfanfauziin)]]></author>
			<pubDate>Wed, 03 Jul 2013 23:17:47 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/149814/#p149814</guid>
		</item>
		<item>
			<title><![CDATA[Re: shoutbox_pun - a punbb shoutbox]]></title>
			<link>https://punbb.informer.com/forums/post/149642/#p149642</link>
			<description><![CDATA[<p>Yes, I&#039;ve noticed this. Part of me thinks it perhaps should be tied in with some better handling and a &#039;timeout&#039; - I don&#039;t like the idea of people hitting the server forever just from leaving the browser window open.</p><p>I think a fix would be to pass back a new CSRF token in the XML, perhaps each time, and update this with javascript in the DOM. This should solve the problem.</p><p>I&#039;m not sure what your plan/workflow is but it&#039;d be really useful for the project for you to pass these fixes you&#039;re making back as pull requests on github</p><p>Thanks<br />Andy</p>]]></description>
			<author><![CDATA[null@example.com (ams)]]></author>
			<pubDate>Thu, 13 Jun 2013 08:22:40 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/149642/#p149642</guid>
		</item>
		<item>
			<title><![CDATA[Re: shoutbox_pun - a punbb shoutbox]]></title>
			<link>https://punbb.informer.com/forums/post/149261/#p149261</link>
			<description><![CDATA[<p>Question regarding csrf token (this sounds related to Francisco FR&#039;s problem)</p><p>Right now, when you leave the shoutbox open long enough, it&#039;ll eventually &quot;crash&quot; and stop working, due to a CSRF token mismatch. The reason this is happening is because a static CSRF token is being compared to one that gets generated on each poll and each new message (so basically, every 1.6 seconds). In simpler terms, each time it checks for new shouts or adds a new one, it&#039;ll check these two tokens, and eventually the static one will lag behind, and mismatch. </p><p>The comparison&#039;s in data.php on line 26:</p><div class="codebox"><pre><code>$_GET[&#039;csrf_token&#039;] != generate_form_token(&#039;./extensions/shoutbox_pun/data.php&#039;)</code></pre></div><p>I understand that the reason for this is to help prevent cross-site attacks, and in this specific case, prevent bad people from posting shouts to your shoutbox without your permission. Does anyone have any idea on how to get around this? It looks like one solution is to regenerate the static token before it expires, but the token is generated via php code, and only gets called on page refresh. The alternative is to remove the check.</p><p>This problem also occurs with base PunBB functions, like modifying settings in the admin panel. The site gets around it by prompting you to confirm your action. I haven&#039;t looked at the code, but I imagine during this time, they regenerate the token, and then the action passes the check and goes through. But we can&#039;t do that with shouts, unless we force a page refresh every ~30 minutes.</p><p>Would be totally grateful for any help on this. Thanks!</p>]]></description>
			<author><![CDATA[null@example.com (helliax)]]></author>
			<pubDate>Thu, 16 May 2013 21:58:48 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/149261/#p149261</guid>
		</item>
		<item>
			<title><![CDATA[Re: shoutbox_pun - a punbb shoutbox]]></title>
			<link>https://punbb.informer.com/forums/post/149245/#p149245</link>
			<description><![CDATA[<div class="quotebox"><cite>ams wrote:</cite><blockquote><div class="quotebox"><cite>helliax wrote:</cite><blockquote><p>I&#039;ve managed to implement username links, but I&#039;m trying to figure out the best way to go about tying it to an option, so it can be turned on and off through the forum settings. </p><p>Right now, the link is generated in the javascript. Specifically, the getHTMLFromMessage() function in shoutbox-pun.js. So in other words, I can&#039;t access the PHP config values directly. One way I figure I can do it, is to create a hidden &lt;input /&gt; that has the value, and grab that value from javascript. But that seems really hackish. Does anyone have any suggestions, or just other mods to check out, to see how they did it?</p><p>I forked andrew&#039;s project so I can work on it without messing up his project, so you can look at the code I have now: <a href="https://github.com/helliax/shoutbox_pun">https://github.com/helliax/shoutbox_pun</a>. Preferably, all my major changes will get turned into options, so we end up with one mod instead of two with just minor differences.</p></blockquote></div><p>Why not add the option in the XML output in data.php? getShouts could have an additional &lt;options&gt; bit.</p><p>Please feel free to submit a pull request once the changes are done</p></blockquote></div><p>This is sort of so obvious now I don&#039;t know why I didn&#039;t think of it immediately at the time. Thanks!</p>]]></description>
			<author><![CDATA[null@example.com (helliax)]]></author>
			<pubDate>Tue, 14 May 2013 17:09:59 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/149245/#p149245</guid>
		</item>
		<item>
			<title><![CDATA[Re: shoutbox_pun - a punbb shoutbox]]></title>
			<link>https://punbb.informer.com/forums/post/149182/#p149182</link>
			<description><![CDATA[<p>What Kushi has done?</p>]]></description>
			<author><![CDATA[null@example.com (Trace)]]></author>
			<pubDate>Fri, 10 May 2013 11:54:46 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/149182/#p149182</guid>
		</item>
		<item>
			<title><![CDATA[Re: shoutbox_pun - a punbb shoutbox]]></title>
			<link>https://punbb.informer.com/forums/post/149176/#p149176</link>
			<description><![CDATA[<p>Brilliant Kushi!</p>]]></description>
			<author><![CDATA[null@example.com (that.ones.taken)]]></author>
			<pubDate>Fri, 10 May 2013 02:21:42 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/149176/#p149176</guid>
		</item>
		<item>
			<title><![CDATA[Re: shoutbox_pun - a punbb shoutbox]]></title>
			<link>https://punbb.informer.com/forums/post/149170/#p149170</link>
			<description><![CDATA[<div class="quotebox"><cite>helliax wrote:</cite><blockquote><p>I&#039;ve managed to implement username links, but I&#039;m trying to figure out the best way to go about tying it to an option, so it can be turned on and off through the forum settings. </p><p>Right now, the link is generated in the javascript. Specifically, the getHTMLFromMessage() function in shoutbox-pun.js. So in other words, I can&#039;t access the PHP config values directly. One way I figure I can do it, is to create a hidden &lt;input /&gt; that has the value, and grab that value from javascript. But that seems really hackish. Does anyone have any suggestions, or just other mods to check out, to see how they did it?</p><p>I forked andrew&#039;s project so I can work on it without messing up his project, so you can look at the code I have now: <a href="https://github.com/helliax/shoutbox_pun">https://github.com/helliax/shoutbox_pun</a>. Preferably, all my major changes will get turned into options, so we end up with one mod instead of two with just minor differences.</p></blockquote></div><p>Why not add the option in the XML output in data.php? getShouts could have an additional &lt;options&gt; bit.</p><p>Please feel free to submit a pull request once the changes are done</p>]]></description>
			<author><![CDATA[null@example.com (ams)]]></author>
			<pubDate>Thu, 09 May 2013 07:57:03 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/149170/#p149170</guid>
		</item>
		<item>
			<title><![CDATA[Re: shoutbox_pun - a punbb shoutbox]]></title>
			<link>https://punbb.informer.com/forums/post/149064/#p149064</link>
			<description><![CDATA[<p>We will watch your development, helliax <img src="https://punbb.informer.com/forums/img/smilies/smile.png" width="15" height="15" alt="smile" />.</p>]]></description>
			<author><![CDATA[null@example.com (Trace)]]></author>
			<pubDate>Fri, 03 May 2013 20:12:47 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/149064/#p149064</guid>
		</item>
		<item>
			<title><![CDATA[Re: shoutbox_pun - a punbb shoutbox]]></title>
			<link>https://punbb.informer.com/forums/post/149061/#p149061</link>
			<description><![CDATA[<p>I&#039;ve managed to implement username links, but I&#039;m trying to figure out the best way to go about tying it to an option, so it can be turned on and off through the forum settings. </p><p>Right now, the link is generated in the javascript. Specifically, the getHTMLFromMessage() function in shoutbox-pun.js. So in other words, I can&#039;t access the PHP config values directly. One way I figure I can do it, is to create a hidden &lt;input /&gt; that has the value, and grab that value from javascript. But that seems really hackish. Does anyone have any suggestions, or just other mods to check out, to see how they did it?</p><p>I forked andrew&#039;s project so I can work on it without messing up his project, so you can look at the code I have now: <a href="https://github.com/helliax/shoutbox_pun">https://github.com/helliax/shoutbox_pun</a>. Preferably, all my major changes will get turned into options, so we end up with one mod instead of two with just minor differences.</p>]]></description>
			<author><![CDATA[null@example.com (helliax)]]></author>
			<pubDate>Fri, 03 May 2013 15:05:24 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/149061/#p149061</guid>
		</item>
		<item>
			<title><![CDATA[Re: shoutbox_pun - a punbb shoutbox]]></title>
			<link>https://punbb.informer.com/forums/post/147765/#p147765</link>
			<description><![CDATA[<p>Yes, you&#039;re right! But you should give admins permission to set what BBCode should be, and what not <img src="https://punbb.informer.com/forums/img/smilies/smile.png" width="15" height="15" alt="smile" />.</p>]]></description>
			<author><![CDATA[null@example.com (Trace)]]></author>
			<pubDate>Sat, 19 Jan 2013 13:49:53 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/147765/#p147765</guid>
		</item>
		<item>
			<title><![CDATA[Re: shoutbox_pun - a punbb shoutbox]]></title>
			<link>https://punbb.informer.com/forums/post/147764/#p147764</link>
			<description><![CDATA[<div class="quotebox"><cite>Trace wrote:</cite><blockquote><p>Don&#039;t forget to implement BBCode too! <img src="https://punbb.informer.com/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /></p></blockquote></div><p>I think that&#039;s kinda tricky! BBCode wasn&#039;t intended for single line &#039;shouts&#039;. I can see the URL tag being useful but aside from that I think it&#039;s just going to give people power to annoy <img src="https://punbb.informer.com/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (ams)]]></author>
			<pubDate>Sat, 19 Jan 2013 13:45:43 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/147764/#p147764</guid>
		</item>
		<item>
			<title><![CDATA[Re: shoutbox_pun - a punbb shoutbox]]></title>
			<link>https://punbb.informer.com/forums/post/147747/#p147747</link>
			<description><![CDATA[<p>Don&#039;t forget to implement BBCode too! <img src="https://punbb.informer.com/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (Trace)]]></author>
			<pubDate>Fri, 18 Jan 2013 16:25:51 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/147747/#p147747</guid>
		</item>
	</channel>
</rss>
