1 (edited by rajuru 2010-06-01 09:46)

Topic: [beta release]PunBB Twitter

Hello,
Here is my another extension for PunBB. Using this extension forum activities can be posted to your twitter account.

Current it support two updates:
1. Updates on new topic
2. Updates on new post


After installation, go to Settings -> Features. You will get a new section. Enter your desired twitter account's username and password. Now your updates should be posted there.


Download: http://hungrycoder.xenexbd.com/scripts/ … forum.html

Mirror

Suggestion, bug report and other feedback is appreciated.

Re: [beta release]PunBB Twitter

Demo???

Re: [beta release]PunBB Twitter

demo is available in non english. guess u won't understand.

www.twitter.com/projanmo

thanks

Re: [beta release]PunBB Twitter

Hello new update is available.

Current features:
1. Updates on new topic
2. Updates on new post
3. Control what updates are allowed
4. Link to post/topic
5. Auto shortening URL using to.ly

English demo is also added. Please follow the link in first post.

Re: [beta release]PunBB Twitter

thanks man, need that, will install it soon.

MyFootballCafe.com  is Now Online!

6 (edited by Khalid-S 2009-04-28 06:07)

Re: [beta release]PunBB Twitter

Thanks rajuru, but this extension doesnt work for me. I have uploaded the file to /extension directory, and then I've typed my new twitter username and password, that I have created just for the punbb forum (by going to admin -> settings -> features). the twitter account doesn't post any updates at all. I have tried to use my own personal twitter account as well, same thing. sad

Re: [beta release]PunBB Twitter

if you could PM me details, I could check it myself.

thanks

8 (edited by KeyDog 2009-04-28 10:34)

Re: [beta release]PunBB Twitter

very cool idea. but your english demo link http://to.ly/48R (reached via your first post) tries to access a localhost/punbb.... so nothing shows.

I hope you can get this working as its great idea to have new topics on a forum posted to twitter automatically!

Re: [beta release]PunBB Twitter

hello KeyDog,
yep, I use that from localhost. You can't see the link that's right. To see live link please visit www.twitter.com/projanmo

thanks

Re: [beta release]PunBB Twitter

great extension — the only problem is that it also shows that are made in forums that aren't shown to the public. any plans to add the ability to uncheck forums from being posted?

11

Re: [beta release]PunBB Twitter

mihalis wrote:

great extension — the only problem is that it also shows that are made in forums that aren't shown to the public. any plans to add the ability to uncheck forums from being posted?

skipping some forums already added. but I forgot to upload. sorry. will do soon.

Re: [beta release]PunBB Twitter

Khalid-S wrote:

twitter account doesn't post any updates at all

Same problem. Must be i'm doing something wrong? Username/pass is correct.

13

Re: [beta release]PunBB Twitter

i used cURL and mbstring (mb_strlen) for multibyte string length counting. may be some problem with that. please check if both extension are working fine.

14

Re: [beta release]PunBB Twitter

It's a cool thing.. thanks a lot raju bro.

Never explain yourself to anyone. Because the person who likes you doesn’t need it, and the person who dislikes you won’t believe it.

Re: [beta release]PunBB Twitter

rajuru you mean check the twitter extension or is there any specific client url or mbstring extension you use?

16

Re: [beta release]PunBB Twitter

Khalid-S wrote:

rajuru you mean check the twitter extension or is there any specific client url or mbstring extension you use?

hi!
i meant cURL and mbstring!

thanks

17

Re: [beta release]PunBB Twitter

TRIVUz wrote:

It's a cool thing.. thanks a lot raju bro.

pleasure! nice to see u here smile.

Re: [beta release]PunBB Twitter

rajuru wrote:

please check if both extension are working fine.

PHP Info:

curlcURL support     enabled 
cURL Information     libcurl/7.15.5 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5

mbstringMultibyte Support     enabled 
Multibyte string engine     libmbfl 
Multibyte (japanese) regex support     enabled 
Multibyte regex (oniguruma) version     4.4.4 
Multibyte regex (oniguruma) backtrack check     On

Username must be twitt name or e-mail?
Is twitter updates instantly? I mean - I post test message on my forum & at at the same moment my twitter updates?

19

Re: [beta release]PunBB Twitter

TuxPirate wrote:
rajuru wrote:

please check if both extension are working fine.

PHP Info:

curlcURL support     enabled 
cURL Information     libcurl/7.15.5 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5

mbstringMultibyte Support     enabled 
Multibyte string engine     libmbfl 
Multibyte (japanese) regex support     enabled 
Multibyte regex (oniguruma) version     4.4.4 
Multibyte regex (oniguruma) backtrack check     On

Username must be twitt name or e-mail?
Is twitter updates instantly? I mean - I post test message on my forum & at at the same moment my twitter updates?


Yep, twitter username and password.

updates are made instantly. It posts updates immediately after storing to db and just before redirecting you to foo page.

Re: [beta release]PunBB Twitter

Doesn't work sad I think, maybe it's a conflict with some other extension...

21 (edited by Bibby 2009-05-06 08:39)

Re: [beta release]PunBB Twitter

Great extension.

How can it update new topics/posts from one specify forum instead of all forums? like news/announcements forum.

Category
  |- Forum 1: News & Announcements
  |- Forum 2: General Tech Support

I just want to make it post new topics in "News & Announcements" forum to twitter.

22

Re: [beta release]PunBB Twitter

Bibby wrote:

Great extension.

How can it update new topics/posts from one specify forum instead of all forums? like news/announcements forum.

Category
  |- Forum 1: News & Announcements
  |- Forum 2: General Tech Support

I just want to make it post new topics in "News & Announcements" forum to twitter.

I am sorry I yet not uploaded the latest edition. I will upload after implementing hash tag feature. in the new release u will get a box where u can mention which forums are to skip. you can mention all forums ID except these two. that will do this purpose.

thanks

23

Re: [beta release]PunBB Twitter

rajuru wrote:

I am sorry I yet not uploaded the latest edition. I will upload after implementing hash tag feature. in the new release u will get a box where u can mention which forums are to skip. you can mention all forums ID except these two. that will do this purpose.

That's great, sir.

Thanks for your great work. i will test when you release the new version. smile

24

Re: [beta release]PunBB Twitter

Khalid-S wrote:

Thanks rajuru, but this extension doesnt work for me. I have uploaded the file to /extension directory, and then I've typed my new twitter username and password, that I have created just for the punbb forum (by going to admin -> settings -> features). the twitter account doesn't post any updates at all. I have tried to use my own personal twitter account as well, same thing. sad

Dear Khalid-S,
I think I have found a solution for your problem. Though I am not sure, but still try once.

open the /extensions/pun_twitter/twitter.class.php

You will see some codes like the following in line near 60:

curl_setopt($ch, CURLOPT_URL, $URLupdate);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_USERPWD, "$this->Username:$this->Password");

add the following line after that, save the file and upload:

curl_setopt($ch, CURLOPT_HTTPHEADER, array("Expect:"));

I believe it will solve your problem.

Re: [beta release]PunBB Twitter

rajuru.. thank you very much.
you are my second hero for this day tongue