<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[PunBB Forums - [beta release]PunBB Twitter]]></title>
		<link>http://punbb.informer.com/forums/topic/21565/beta-releasepunbb-twitter/</link>
		<description><![CDATA[The most recent posts in [beta release]PunBB Twitter.]]></description>
		<lastBuildDate>Mon, 19 Oct 2009 12:06:47 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: [beta release]PunBB Twitter]]></title>
			<link>http://punbb.informer.com/forums/post/131874/#p131874</link>
			<description><![CDATA[<p>so in your case, twitter rejecting messages &gt; 160 chars?&nbsp; i don&#039;t remember if it was same in my case! <img src="http://punbb.informer.com/forums/img/smilies/sad.png" width="15" height="15" alt="sad" /></p><p>does punbb provides any function that returns permalink for any given post/topic? i am not familiar with punbb permalink stuffs!</p>]]></description>
			<author><![CDATA[dummy@example.com (rajuru)]]></author>
			<pubDate>Mon, 19 Oct 2009 12:06:47 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/131874/#p131874</guid>
		</item>
		<item>
			<title><![CDATA[Re: [beta release]PunBB Twitter]]></title>
			<link>http://punbb.informer.com/forums/post/131872/#p131872</link>
			<description><![CDATA[<div class="quotebox"><cite>rajuru wrote:</cite><blockquote><p>please open twitter.class.php</p><p>you will get a line like:</p><div class="quotebox"><blockquote><p>if(!empty($Status) &amp;&amp; TextLength($Status) &lt;= $this-&gt;MaxLength){</p></blockquote></div><p>replace with:</p><div class="quotebox"><blockquote><p>if(!empty($Status)){</p></blockquote></div></blockquote></div><p>Thanks rajuru.</p><p>I tried it with the same topic as before.&nbsp; I don&#039;t see the error message now, but neither is the post submitted to twitter <img src="http://punbb.informer.com/forums/img/smilies/sad.png" width="15" height="15" alt="sad" /> You can see the relevant post here: <a href="http://www.noisyneighbours.net/forum/topic/50/new-lease-advisory-service-fast-and-cheap/">http://www.noisyneighbours.net/forum/to &#133; and-cheap/</a></p><p>Any thoughts?</p><p>EDIT: it&#039;s fixed if I enable the to.ly URL shortening (Twitter seems to reject a Tweet with &gt;160 chars, even if it would be smaller *after* the URL is shortened.&nbsp; If the URL is shortened before sending the Tweet, it accepts it.</p><p>But I&#039;ve also noticed that the To.ly URL uses the filename scheme (viewtopic.php?51 or similar). Would it be possible to use the URL rewritten address, for better traffic generation (links from twitter will include the topic title in the URL)?</p><p>Thanks for your great work, this is a brilliant extension!</p>]]></description>
			<author><![CDATA[dummy@example.com (melat0nin)]]></author>
			<pubDate>Mon, 19 Oct 2009 11:31:59 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/131872/#p131872</guid>
		</item>
		<item>
			<title><![CDATA[Re: [beta release]PunBB Twitter]]></title>
			<link>http://punbb.informer.com/forums/post/131871/#p131871</link>
			<description><![CDATA[<p>please open twitter.class.php</p><p>you will get a line like:</p><div class="quotebox"><blockquote><p>if(!empty($Status) &amp;&amp; TextLength($Status) &lt;= $this-&gt;MaxLength){</p></blockquote></div><p>replace with:</p><div class="quotebox"><blockquote><p>if(!empty($Status)){</p></blockquote></div>]]></description>
			<author><![CDATA[dummy@example.com (rajuru)]]></author>
			<pubDate>Mon, 19 Oct 2009 10:56:29 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/131871/#p131871</guid>
		</item>
		<item>
			<title><![CDATA[Re: [beta release]PunBB Twitter]]></title>
			<link>http://punbb.informer.com/forums/post/131870/#p131870</link>
			<description><![CDATA[<div class="quotebox"><cite>rajuru wrote:</cite><blockquote><div class="quotebox"><cite>melat0nin wrote:</cite><blockquote><p>Rajuru - any thoughts on my problem? (one post above yours)</p></blockquote></div><p>you have already quoted my answer <img src="http://punbb.informer.com/forums/img/smilies/smile.png" width="15" height="15" alt="smile" />.</p></blockquote></div><p>Ah yes, I didn&#039;t see your edit before I replied!</p><p>I am using the version of the extension from here: <a href="http://forum.projanmo.com/extensions/pun_twitter.zip">http://forum.projanmo.com/extensions/pun_twitter.zip</a> (because the other one didn&#039;t work).</p><p>In manifest.xml I see the following code (it is the only place where mb_strlen()/strlen() are used:</p><div class="codebox"><pre><code>        &lt;hook id=&quot;co_common&quot;&gt;&lt;![CDATA[
            $pun_extensions_used = array_merge(isset($pun_extensions_used) ? $pun_extensions_used : array(), array($ext_info[&#039;id&#039;]));
            function ShortenURL($url) {
              $ch = curl_init();
              curl_setopt($ch, CURLOPT_URL, &quot;http://to.ly/api.php?longurl=&quot;.urlencode($url));
              curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
              curl_setopt($ch, CURLOPT_HEADER, 0);
              curl_setopt($ch, CURLOPT_FAILONERROR, 1);
              curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 10);
              $shorturl = curl_exec ($ch);
              curl_close ($ch);
              return $shorturl;
            }
            
            function TextLength($str){
                if(function_exists(&#039;mb_strlen&#039;)){
                /* Set internal character encoding to UTF-8 */
                    mb_internal_encoding(&#039;UTF-8&#039;);
                    return mb_strlen($str);
                } else {
                    return strlen($str);
                }
            }
            
            function hashtag($str,$tags=&#039;&#039;){
            
            }

            
        ]]&gt;&lt;/hook&gt;</code></pre></div><p>It looks like mb_strlen() is already used (if available).&nbsp; What do you think?</p>]]></description>
			<author><![CDATA[dummy@example.com (melat0nin)]]></author>
			<pubDate>Mon, 19 Oct 2009 10:52:47 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/131870/#p131870</guid>
		</item>
		<item>
			<title><![CDATA[Re: [beta release]PunBB Twitter]]></title>
			<link>http://punbb.informer.com/forums/post/131869/#p131869</link>
			<description><![CDATA[<div class="quotebox"><cite>melat0nin wrote:</cite><blockquote><p>Rajuru - any thoughts on my problem? (one post above yours)</p></blockquote></div><p>you have already quoted my answer <img src="http://punbb.informer.com/forums/img/smilies/smile.png" width="15" height="15" alt="smile" />.</p>]]></description>
			<author><![CDATA[dummy@example.com (rajuru)]]></author>
			<pubDate>Mon, 19 Oct 2009 10:46:37 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/131869/#p131869</guid>
		</item>
		<item>
			<title><![CDATA[Re: [beta release]PunBB Twitter]]></title>
			<link>http://punbb.informer.com/forums/post/131868/#p131868</link>
			<description><![CDATA[<div class="quotebox"><cite>rajuru wrote:</cite><blockquote><div class="quotebox"><cite>Bibby wrote:</cite><blockquote><p>One more feature request: Is it possible to extract some content of new topic/reply into tweet?</p></blockquote></div><p> hello,<br />i am sorry, i did not see your post earlier. </p><p>it is possible however no benefit bcoz twitter supports only 140 or 160 chars. so nothing understandible can be shown after showing the topic and URL. max length is too short to show some excepts. </p><br /><div class="quotebox"><cite>Stormeh wrote:</cite><blockquote><p>I&#039;d love to see the addition of newly registered members as tweets, and have a link to the profile.</p></blockquote></div><p>initially i had wish to implement this. however, could not manage time for the same <img src="http://punbb.informer.com/forums/img/smilies/sad.png" width="15" height="15" alt="sad" />. busy with a lots of works. will do if get some moments. i have another cool ext idea too <img src="http://punbb.informer.com/forums/img/smilies/smile.png" width="15" height="15" alt="smile" />. </p><div class="quotebox"><blockquote><p>I just saw the error &quot;Post too long/not set&quot;, and the new topic wasn&#039;t posted to Twitter.&nbsp; Presumably this is because the topic title made the whole thing longer than 140 characters.&nbsp; Is it possible to automatically cut the title (with an elipsis - &#039;...&#039;) where necessary to ensure that a twitter post will always be made?</p></blockquote></div><p>actually, i faced same in some topics too. so in my personal version of the script, i removed the length checking. i awarded the duties to twitter <img src="http://punbb.informer.com/forums/img/smilies/wink.png" width="15" height="15" alt="wink" />. twitter itself will removes additional texts. so if you want, you may try removing the length checking in script. </p><p>if your forum is not in english, you may face it frequently. you may replace strlen() to mb_strlen() that will reduce that ugly message <img src="http://punbb.informer.com/forums/img/smilies/smile.png" width="15" height="15" alt="smile" />.</p></blockquote></div><p>Rajuru - any thoughts on my problem? (one post above yours)</p><p>&quot;I just saw the error &quot;Post too long/not set&quot;, and the new topic wasn&#039;t posted to Twitter.&nbsp; Presumably this is because the topic title made the whole thing longer than 140 characters.&nbsp; Is it possible to automatically cut the title (with an elipsis - &#039;...&#039;) where necessary to ensure that a twitter post will always be made?&quot;</p>]]></description>
			<author><![CDATA[dummy@example.com (melat0nin)]]></author>
			<pubDate>Mon, 19 Oct 2009 10:41:26 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/131868/#p131868</guid>
		</item>
		<item>
			<title><![CDATA[Re: [beta release]PunBB Twitter]]></title>
			<link>http://punbb.informer.com/forums/post/131867/#p131867</link>
			<description><![CDATA[<div class="quotebox"><cite>Bibby wrote:</cite><blockquote><p>One more feature request: Is it possible to extract some content of new topic/reply into tweet?</p></blockquote></div><p> hello,<br />i am sorry, i did not see your post earlier. </p><p>it is possible however no benefit bcoz twitter supports only 140 or 160 chars. so nothing understandible can be shown after showing the topic and URL. max length is too short to show some excepts. </p><br /><div class="quotebox"><cite>Stormeh wrote:</cite><blockquote><p>I&#039;d love to see the addition of newly registered members as tweets, and have a link to the profile.</p></blockquote></div><p>initially i had wish to implement this. however, could not manage time for the same <img src="http://punbb.informer.com/forums/img/smilies/sad.png" width="15" height="15" alt="sad" />. busy with a lots of works. will do if get some moments. i have another cool ext idea too <img src="http://punbb.informer.com/forums/img/smilies/smile.png" width="15" height="15" alt="smile" />. </p><div class="quotebox"><blockquote><p>I just saw the error &quot;Post too long/not set&quot;, and the new topic wasn&#039;t posted to Twitter.&nbsp; Presumably this is because the topic title made the whole thing longer than 140 characters.&nbsp; Is it possible to automatically cut the title (with an elipsis - &#039;...&#039;) where necessary to ensure that a twitter post will always be made?</p></blockquote></div><p>actually, i faced same in some topics too. so in my personal version of the script, i removed the length checking. i awarded the duties to twitter <img src="http://punbb.informer.com/forums/img/smilies/wink.png" width="15" height="15" alt="wink" />. twitter itself will removes additional texts. so if you want, you may try removing the length checking in script. </p><p>if your forum is not in english, you may face it frequently. you may replace strlen() to mb_strlen() that will reduce that ugly message <img src="http://punbb.informer.com/forums/img/smilies/smile.png" width="15" height="15" alt="smile" />.</p>]]></description>
			<author><![CDATA[dummy@example.com (rajuru)]]></author>
			<pubDate>Mon, 19 Oct 2009 10:26:08 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/131867/#p131867</guid>
		</item>
		<item>
			<title><![CDATA[Re: [beta release]PunBB Twitter]]></title>
			<link>http://punbb.informer.com/forums/post/131859/#p131859</link>
			<description><![CDATA[<p>I just saw the error &quot;Post too long/not set&quot;, and the new topic wasn&#039;t posted to Twitter.&nbsp; Presumably this is because the topic title made the whole thing longer than 140 characters.&nbsp; Is it possible to automatically cut the title (with an elipsis - &#039;...&#039;) where necessary to ensure that a twitter post will <em>always</em> be made?</p>]]></description>
			<author><![CDATA[dummy@example.com (melat0nin)]]></author>
			<pubDate>Mon, 19 Oct 2009 08:46:49 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/131859/#p131859</guid>
		</item>
		<item>
			<title><![CDATA[Re: [beta release]PunBB Twitter]]></title>
			<link>http://punbb.informer.com/forums/post/129023/#p129023</link>
			<description><![CDATA[<p>I&#039;d love to see the addition of newly registered members as tweets, and have a link to the profile.</p>]]></description>
			<author><![CDATA[dummy@example.com (Stormeh)]]></author>
			<pubDate>Tue, 14 Jul 2009 08:27:32 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/129023/#p129023</guid>
		</item>
		<item>
			<title><![CDATA[Re: [beta release]PunBB Twitter]]></title>
			<link>http://punbb.informer.com/forums/post/128996/#p128996</link>
			<description><![CDATA[<p>One more feature request: Is it possible to extract some content of new topic/reply into tweet?</p>]]></description>
			<author><![CDATA[dummy@example.com (Bibby)]]></author>
			<pubDate>Sun, 12 Jul 2009 03:41:31 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/128996/#p128996</guid>
		</item>
		<item>
			<title><![CDATA[Re: [beta release]PunBB Twitter]]></title>
			<link>http://punbb.informer.com/forums/post/128994/#p128994</link>
			<description><![CDATA[<div class="quotebox"><cite>Stormeh wrote:</cite><blockquote><p><a href="http://forum.projanmo.com/extensions/pun_twitter.zip">http://forum.projanmo.com/extensions/pun_twitter.zip</a></p><p>Try that link ^</p></blockquote></div><p>It works, thanks Stormeh. <img src="http://punbb.informer.com/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (Bibby)]]></author>
			<pubDate>Sun, 12 Jul 2009 00:17:16 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/128994/#p128994</guid>
		</item>
		<item>
			<title><![CDATA[Re: [beta release]PunBB Twitter]]></title>
			<link>http://punbb.informer.com/forums/post/128973/#p128973</link>
			<description><![CDATA[<div class="quotebox"><cite>Bibby wrote:</cite><blockquote><p>There&#039;s extra strings displayed in the setting page, is it right?<br />And it doesn&#039;t work (no tweet updated).</p><p>Version: 0.9</p><p><span class="postimg"><img src="http://img301.imageshack.us/img301/8797/punbbtwitters.png" alt="http://img301.imageshack.us/img301/8797/punbbtwitters.png" /></span></p></blockquote></div><p><a href="http://forum.projanmo.com/extensions/pun_twitter.zip">http://forum.projanmo.com/extensions/pun_twitter.zip</a></p><p>Try that link ^</p>]]></description>
			<author><![CDATA[dummy@example.com (Stormeh)]]></author>
			<pubDate>Sat, 11 Jul 2009 04:32:35 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/128973/#p128973</guid>
		</item>
		<item>
			<title><![CDATA[Re: [beta release]PunBB Twitter]]></title>
			<link>http://punbb.informer.com/forums/post/128957/#p128957</link>
			<description><![CDATA[<p>There&#039;s extra strings displayed in the setting page, is it right?<br />And it doesn&#039;t work (no tweet updated).</p><p>Version: 0.9</p><p><span class="postimg"><img src="http://img301.imageshack.us/img301/8797/punbbtwitters.png" alt="http://img301.imageshack.us/img301/8797/punbbtwitters.png" /></span></p>]]></description>
			<author><![CDATA[dummy@example.com (Bibby)]]></author>
			<pubDate>Fri, 10 Jul 2009 15:17:12 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/128957/#p128957</guid>
		</item>
		<item>
			<title><![CDATA[Re: [beta release]PunBB Twitter]]></title>
			<link>http://punbb.informer.com/forums/post/128925/#p128925</link>
			<description><![CDATA[<p>Hello,<br />Thanks for posting the screen shot. It is apparent that when you uncheck the To.ly short url box, my extension is not shortening the URL. However, twitter itself now uses bit.ly to shorten url. Here nothing to do on our part. Again now idea why it is not shortened in 3rd link!</p>]]></description>
			<author><![CDATA[dummy@example.com (rajuru)]]></author>
			<pubDate>Thu, 09 Jul 2009 09:32:09 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/128925/#p128925</guid>
		</item>
		<item>
			<title><![CDATA[Re: [beta release]PunBB Twitter]]></title>
			<link>http://punbb.informer.com/forums/post/128914/#p128914</link>
			<description><![CDATA[<p>I&#039;m using this one:<br /><a href="http://forum.projanmo.com/extensions/pun_twitter.zip">http://forum.projanmo.com/extensions/pun_twitter.zip</a></p><p>Here&#039;s two screen shots that may assist you?<br /><span class="postimg"><img src="http://img391.imageshack.us/img391/3617/twitter.png" alt="http://img391.imageshack.us/img391/3617/twitter.png" /></span><br /><span class="postimg"><img src="http://img53.imageshack.us/img53/1126/twitter2.png" alt="http://img53.imageshack.us/img53/1126/twitter2.png" /></span></p>]]></description>
			<author><![CDATA[dummy@example.com (Stormeh)]]></author>
			<pubDate>Thu, 09 Jul 2009 05:22:22 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/128914/#p128914</guid>
		</item>
	</channel>
</rss>
