vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Add-On Releases - vBulletin 2 Twitter - Take Your News Straight To Twitter! (https://vborg.vbsupport.ru/showthread.php?t=208488)

AHealthForum 03-15-2009 10:00 PM

vBulletin 2 Twitter - Take Your News Straight To Twitter!
 
1 Attachment(s)
vBulletin2 Twitter Courtesy A Health Forum http://ahealthforum.com
Special Thanks to Jarvis From http://seovb.com for help
vbtotwitt.php copyright Vojtech Semecky released under the terms of GPL
================================================== =========

This modification will take one of your latest news threads and post it directly to your twitter account. You must have RSS enabled for this modification to work. You can specify a forum to pull the content from using external.php?f=FORUMID

The RSS feed will post your thread title directly into your Twitter account, and then create a link back using TinyURL. The links are automatically converted into tinyurl.com links via the TinyURL API


Install instructions

1. Upload the includes folder into your forum root. This will automatically place the 2 scripts need to operate this into the "includes/cron/" folder
2. Install the product-ahealthforumcomvbtwit.xml file via the Product Manager in your adminCP
3. Navigate to vBulletin Options -> vBulletin Options -> vBulletin 2 Twitter and enter your name and password.
4. Hit Save and Wait 2 minutes
5. View your twitter account to confirm that an update was posted.
6. Enter the URL to your forum feed.

Notice: By default for testing purposes this makes one tweet announcing you've installed vB2Twitter You are free to delete this tweet as it is for testing purposes only!!!!

================================================== =============

vBulletin 2 Twitter Options

1. Twitter Username: This is your Twitter.com username. If you don't have one yet, you can get one for free at http://twitter.com

2. Twitter Password: This is your password for your twitter account. Notice that its not hashed or encypted so anyone with adminCP access can view it. If you can't trust those who have your AdminCP information with such details, then this mod isn't for you sorry.

3. Feed URL: This can be to any sites feed if you want, but I suggest pointing it to your news forum and creating a prefix such as [Breaking News] to make the most of this. Your twitter posts will then be prefixed with [Breaking News] Thread Title link to thread.

================================================== ===========


Again, this modification will take the latest thread from the forum RSS feed you specify. I don't beleive in spamming on twitter with useless crap, so I've made this modification to only take one thread at a time from your forums RSS feed.


Trouble Shooting:

If it does not automatically update to your account. Go into the scheduled tasks manage and run the task manually.

external.php gives a blank page. Enable RSS from your vBulletin Admin Control Panel.

AHealthForum 03-16-2009 05:40 AM

Reserved

tanand79 03-16-2009 10:59 AM

not working

hollosch 03-16-2009 12:25 PM

I'm using zoints-seo, and i get "Error: RSS file not found, dude." when i use the scheduled task...

ericgtr 03-16-2009 01:26 PM

FYI, this can be done without a modification by placing the RSS feed of your forum into twitterfeed.com I do this myself for one of my more popular forums. It can also do all forums as well.

hollosch 03-16-2009 01:48 PM

Quote:

Originally Posted by ericgtr (Post 1769611)
FYI, this can be done without a modification by placing the RSS feed of your forum into twitterfeed.com I do this myself for one of my more popular forums. It can also do all forums as well.

thanx for this.

-1 cron-job in my vB

raaowdot 03-16-2009 02:35 PM

Won't work for me either. I'm using the RSS feed /external.php?type=RSS2 which displays all open nonrestricted forum posts and this plugin may require the forum code only.

I've resorted to using the twitterfeed.com for now but it only post a maximum of 5 messages every 30mins so at busy time messages will be missed.

Any chance of an update to get this working as the popularity of Twitter is growing fast and my users want this feature.

Note this is my first posts here in 2 years as I've never has the need to ask something that wasn't already answered a million times before but Twitter is pretty new and we need more plugins. The Twitter on Profile pages works brilliantly though.

AHealthForum 03-16-2009 05:00 PM

Some tips to help get it working.

Make sure your server has cURL installed or it may not work correctly.

After installing and you enter your RSS feed location. Go to the forum where you selected the RSS feed come from and make a fast post in there.

vBulletin Scheduled tasks don't seem to run every minute for some reason, so it may take a few minutes for it to update to twitter

I just uninstalled on my forums, and reinstalled following the instructions and it still works okay: http://twitter.com/healthforum Feel free to register an account at health forums and make a test post to see.

lord_of_chaos 03-16-2009 05:47 PM

Twitterfeed.com does only run the Cronjob every 30 Minutes...

@AHealthForum:
1. Could you advertise a little bit less inside your product? "HealthForum" everywhere annoys me. ;)

2. This mod always posts the last RSS-item into my Twitter Account. It doesn't care that the item is two weeks old and that it have been posted before.

My Twitter profile looked like that:
- "News from 2.03.09"
- "Some other handmade Twit"
- "News from 2.03.09"

Jasem 03-16-2009 06:37 PM

not working, thank you :confused:

AHealthForum 03-16-2009 07:03 PM

Quote:

Originally Posted by lord_of_chaos (Post 1769821)
Twitterfeed.com does only run the Cronjob every 30 Minutes...

@AHealthForum:
1. Could you advertise a little bit less inside your product? "HealthForum" everywhere annoys me. ;)

Its not every where? And sure next time i create a product and share i'll keep your feelings in mind ;)

Quote:


2. This mod always posts the last RSS-item into my Twitter Account. It doesn't care that the item is two weeks old and that it have been posted before.

My Twitter profile looked like that:
- "News from 2.03.09"
- "Some other handmade Twit"
- "News from 2.03.09"
This is does do, I haven't been able to find a work around, but i haven't actively looked for one yet either as I just use my twitter account to post updates from the forums and this is good enough for that :D

:up:

AHealthForum 03-16-2009 07:03 PM

Quote:

Originally Posted by Jasem (Post 1769867)
not working, thank you :confused:

Your welcome?

wizardan 03-16-2009 07:55 PM

Didn't work for me either.
Ran the scheduled task manually and got an error message posted to my twitter page.
Uninstalled for now.

AHealthForum 03-16-2009 08:56 PM

Quote:

Originally Posted by wizardan (Post 1769929)
Didn't work for me either.
Ran the scheduled task manually and got an error message posted to my twitter page.
Uninstalled for now.

Make sure your have your RSS enabled on your forums, and cURL support on the server.

This may also only work with PHP5 as i haven't tested on PHP4 yet


I'm in the process of moving to a another hosting company that should let me test this in PHP4 and PHP5 to see if that maybe a problem for some users.

Flep 03-17-2009 04:42 PM

I get wrong TinyURL.com link.

m0nde 03-18-2009 10:55 AM

this exported something to twitter, but didn't do it properly.

what was tweeted was
Code:

<![CDATA[BostonLove News: Version Upgrade, Database Optimization
is there something i can do to fix that?

AHealthForum 03-18-2009 03:05 PM

Quote:

Originally Posted by m0nde (Post 1771053)
this exported something to twitter, but didn't do it properly.

what was tweeted was
Code:

<![CDATA[BostonLove News: Version Upgrade, Database Optimization
is there something i can do to fix that?

I'm not sure, i've never seen it include that.

Try viewing your RSS feed in the browser and see if thats the title.

If not, try deleting the tweet, and then waiting for it to update again.

Xencored 03-18-2009 03:15 PM

sorry for my dumbness but how do i "Enable RSS from your vBulletin Admin Control Panel." i cant find it

Thanks

AHealthForum 03-18-2009 03:21 PM

Quote:

Originally Posted by animemike (Post 1771193)
sorry for my dumbness but how do i "Enable RSS from your vBulletin Admin Control Panel." i cant find it

Thanks

AdminCP -> vBulletin Options -> External Data provider

Xencored 03-18-2009 03:33 PM

Quote:

Originally Posted by AHealthForum (Post 1771197)
AdminCP -> vBulletin Options -> External Data provider

Nice one thanks works Ace <3:up:

AHealthForum 03-18-2009 09:19 PM

Quote:

Originally Posted by animemike (Post 1771205)
Nice one thanks works Ace <3:up:

Thanks, glad to hear its working for others, thought i was going crazy and it only worked for me. :rolleyes:

Xencored 03-19-2009 12:49 AM

Quote:

Originally Posted by AHealthForum (Post 1771426)
Thanks, glad to hear its working for others, thought i was going crazy and it only worked for me. :rolleyes:

Well am no pro but this is my twitter page >>> http://twitter.com/animeisland <<<
Looks good to me Thanks

m0nde 03-19-2009 07:45 AM

Quote:

Originally Posted by AHealthForum (Post 1771185)
I'm not sure, i've never seen it include that.

Try viewing your RSS feed in the browser and see if thats the title.

If not, try deleting the tweet, and then waiting for it to update again.

Thanks for the prompt reply.

I've set it up to just read my news forum. When I view what is in that feed, I see the following:

http://www.bostonlove.org/forums/external.php?f=28

There's no sign of that "cdata" code in there.

Here's the actual twitter feed:

http://twitter.com/bostonlove

rinkrat 03-19-2009 03:37 PM

Quote:

Originally Posted by ericgtr (Post 1769611)
FYI, this can be done without a modification by placing the RSS feed of your forum into twitterfeed.com I do this myself for one of my more popular forums. It can also do all forums as well.

Wow! Thanks for the tip!

Brandon Sheley 03-19-2009 04:22 PM

nice idea, I'll have to check this out sometime

puregraf 03-20-2009 06:46 PM

it does work with PHP4 i have it working on my site, it only posted 1 post though and i put the main RSS feed for the entire forum, there should be more posts posted though.. well see

ZGeek 03-20-2009 11:46 PM

I just set it up for my site and it works perfectly. Much better than twitterfeed.

Thanks so much for this!!

AHealthForum 03-21-2009 06:10 AM

Quote:

Originally Posted by puregraf (Post 1772787)
it does work with PHP4 i have it working on my site, it only posted 1 post though and i put the main RSS feed for the entire forum, there should be more posts posted though.. well see

It only takes your latest forum post one at a time. So whatever the last RSS feed post is, this will be your tweet when the RSS updates.

AHealthForum 03-21-2009 06:13 AM

Quote:

Originally Posted by ZGeek (Post 1773018)
I just set it up for my site and it works perfectly. Much better than twitterfeed.

Thanks so much for this!!

Great glad to hear! I have to agree as well since this will let you do an unlimited amount by setting the cron to constantly run. A lot more flexibility imo by setting different cron times

AHealthForum 03-23-2009 02:25 AM

Update: I've been using this mod since released here, which was the same day I created the Twitter account and I have 62 followers and my traffic has increased about 40%. And i've only posted 3-4 tweets myself :D

ManagerJosh 03-24-2009 09:34 AM

Does this support multiple forum ids?

Brandon Sheley 03-25-2009 12:47 AM

btw, how is this different than using twitfeed?
http://twitterfeed.com/

cheers

nhlchuck 03-26-2009 10:41 PM

Quote:

Originally Posted by AHealthForum (Post 1773178)
It only takes your latest forum post one at a time. So whatever the last RSS feed post is, this will be your tweet when the RSS updates.

What I am seeing is it is posting the same thread over and over even if there is no new post there since the last RSS update. I am doing something wrong?

http://twitter.com/DomainNameForum

AHealthForum 03-27-2009 04:28 AM

Quote:

Originally Posted by Loco.M (Post 1776313)
btw, how is this different than using twitfeed?
http://twitterfeed.com/

cheers

This doesn't limit you to X amount per hour.

Doesn't rely on 3rd party site that could go down

Cheers

AHealthForum 03-27-2009 04:30 AM

Quote:

Originally Posted by ManagerJosh (Post 1775684)
Does this support multiple forum ids?

Yes, you can put whatever forum ID you want in the RSS feed URL

AHealthForum 03-27-2009 04:30 AM

Quote:

Originally Posted by nhlchuck (Post 1777851)
What I am seeing is it is posting the same thread over and over even if there is no new post there since the last RSS update. I am doing something wrong?

http://twitter.com/DomainNameForum

Change the time in between the task.

AdminCP -> Scheduled Tasks -> vBulletin 2 Twitter

nhlchuck 03-27-2009 11:45 AM

Thank you!

nhlchuck 03-28-2009 10:28 PM

One more question, using on a different site than mentioned above. If I manually run it from scheduled tasks it works. If I don't, it never pulls the feed on it's own. Any thoughts?

motowebmaster 03-29-2009 05:37 PM

Thanks For This.

AHealthForum 03-29-2009 09:23 PM

Quote:

Originally Posted by nhlchuck (Post 1779341)
One more question, using on a different site than mentioned above. If I manually run it from scheduled tasks it works. If I don't, it never pulls the feed on it's own. Any thoughts?

make sure you're getting visitors to your site and that $cronimage is in your footer.

You could also try to edit the cron times so it only runs once every 10 minutes or so rather then once a minute.


All times are GMT. The time now is 05:20 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01475 seconds
  • Memory Usage 1,838KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (19)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete