76

Re: [beta release]PunBB Twitter

Can you open the twitter.class.php file inside the pun_twitter directory? then you will find lines like:

$this->Error(4);

$this->Error(5);

just put a echo before that line, like

echo $this->Error(5);

you just need to modify in Status() function!  which is approximately from line # 51 to line #102

i guess you should then get error printed after your post in forum!

77

Re: [beta release]PunBB Twitter

I can't see any error log message after posting new topic or post.

78

Re: [beta release]PunBB Twitter

I switched to another twitter account, failed too.

79

Re: [beta release]PunBB Twitter

Bibby wrote:

I can't see any error log message after posting new topic or post.

did you echoed all instances of $this->Error() ?

80

Re: [beta release]PunBB Twitter

Add an 'echo' before each "Error()", no message was printed in forum page after posting.

81

Re: [beta release]PunBB Twitter

My code:

# cat -b twitter.class.php | grep 'echo'

    51 echo $this->Error(1);
    86 echo $this->Error(4);
    89 echo $this->Error(5);
    91 echo 'Server Response Code: '.$Headers['http_code'];
    95 echo $this->Error(2);
    98 echo $this->Error(3);
   119 //echo $Response;
   203 //echo $Response;
   222 //echo $Response;

82

Re: [beta release]PunBB Twitter

Added 'echo' before ALL "$this->Error()" in twitter.class.php, still no error message after posting new topic or post.

83

Re: [beta release]PunBB Twitter

array_pop($ext_info_stack); $ext_info = empty($ext_info_stack) ? array() : $ext_info_stack[count($ext_info_stack) - 1]; 

Getting this on the Features page as an admin.

Re: [beta release]PunBB Twitter

this extension does not work...

85

Re: [beta release]PunBB Twitter

achtungbaby wrote:

this extension does not work...

Yes, it won't work anymore as twitter dropped that API and now mandatory to use oAuth!

easiest alternative of it:
1. add the Forum's RSS Feed to FeedBurner
2. Link you FeedBurner to your twitter account

that's it! FeedBurner will post from now on!

Thanks

86 (edited by wandy 2010-10-08 09:09)

Re: [beta release]PunBB Twitter

I really wanted an extension like this, but feedburner does a good job too