PDA

View Full Version : Integration with vBulletin - vBulletin Tweet Poster!


Pages : 1 2 [3]

AzH
02-28-2010, 12:53 PM
I love this. I have it installed on two forums. The second one caused me some headaches but I was able to delete the necessary MySQL entries and try again.

Excellent job.

Twitter: http://twitter.com/evilgamers

bahrainonline
03-02-2010, 02:57 AM
still waiting if it can support arabic or not

Milad
03-02-2010, 06:03 PM
Of course, it supports Arabic

bahrainonline
03-03-2010, 09:49 AM
Of course, it supports Arabic

Milad

Thanks for your replying, but i am getting unreadable text in twitter, how can i fix this

Thanks

plz see the attached

Milad
03-03-2010, 02:33 PM
What's your forum encoding?

bahrainonline
03-04-2010, 10:33 AM
its
windows-1256

waiting for your comments

Milad
03-04-2010, 01:33 PM
The hack includes function to convert the encoding to UTF-8, use that option.

UTF-8 is mandatory to post tweets to twitter.com

El Burro
03-04-2010, 06:19 PM
Anyway to stop it tweeting from an RSS feed Forum I have.

If I can't either omit or select forums to use this in I'll have to use the plugin to tweet manually only. Which will make it work instead of a time saving wonder plugin.

My Twitter followers would find these RSS Forum tweets really annoying as there are hundreds of RSS Feed threads daily.

Thanks for your work.

Milad
03-04-2010, 07:24 PM
It has the option to be enabled / disabled in forums. see forum options!

El Burro
03-04-2010, 07:30 PM
OK thanks, sorry no time to read 500+ posts.

vidan
03-04-2010, 07:36 PM
Milad, please update this into vb 4.0
your works really much appreciated.
i love the random thread thingy

Milad
03-04-2010, 07:48 PM
OK thanks, sorry no time to read 500+ posts.
You could have known this, if you read my first post :-)

bahrainonline
03-06-2010, 06:09 AM
The hack includes function to convert the encoding to UTF-8, use that option.

UTF-8 is mandatory to post tweets to twitter.com

UTF-8 is not appearing

plz see the attached

Milad
03-06-2010, 06:54 AM
You need to specify the charset of your forum, this is the source charset. The target source is fixed to UTF-8!

Milad
03-06-2010, 08:13 AM
fow windows-1256 choose cp1256!

bahrainonline
03-06-2010, 02:43 PM
Thanks alot Milad, its working now

weindians
03-06-2010, 08:45 PM
installed... all values are correct.... i didnt get hello world tweet.... but consumer key and secret are appearing in vb tweeter options... then i tried run in sheduled tasks ..it says twitter key and token arent registered in database..authorise...but i already done it and it redirected back to acp after i clicked allow @ twitter.... what would be the solution?

Milad
03-06-2010, 09:34 PM
You haven't authorized the hack correctly!

weindians
03-07-2010, 05:47 AM
what else i could do??? i clicked the authrize link from vbullletin tweeter options...entered the key and secret .... clicked on link ... when it launched the twitter app page i clicked "allow"... it went back to acp... ket and secret was displayed in vb acp options.... anything else missing in authrizing??

wold3mort
03-09-2010, 12:06 PM
this product is compatible with vb4?

zelnik
03-09-2010, 12:11 PM
this product is compatible with vb4?

Nope :( I'm waiting patiently.....

SBlueman
03-09-2010, 12:31 PM
Odd.....Tweets have been acting up this morning....these are some of the results popping off on Twitter:

http://twitter.com/GridironFans

Cardinals FS Kerry Rhodes Eager http://gridironfans.com/forums/latest-nfl-headlines/124900-cardinals-fs-kerry-rhodes-eager-fresh-start.html
Anquan Boldin Feels The Ravens http://gridironfans.com/forums/latest-nfl-headlines/124899-anquan-boldin-feels-ravens-perfect-fit-him.html
Browns Plan To Keep NT Shaun Rogers http://gridironfans.com/forums/latest-nfl-headlines/124895-browns-plan-keep-nt-shaun-rogers.html
Patriots Close To A Deal With TE Daniel http://gridironfans.com/forums/latest-nfl-headlines/124892-patriots-close-deal-te-daniel-fells.html

MotMann
03-09-2010, 10:01 PM
My questions once again...

I have postet a new thread and that postet on twitter over your skript.
A mod from my Board delete the Tweet on twitter.
a) How i re-tweet the Thread from vB again? The "t" Icon will be glow blue.

b) I have in cronjob (vBulletin Tweet Poster: Hot Threads) followed problems:
Array
(
[threadid] => 11538
[title] => Spielesound ?ber Headset
[forumid] => 76
[userid] => 2865
[usergroupid] => 2
[membergroupids] =>
)
URL re-written by vBSEO!
http://www.xboxgamertag.de/f76-xbox-360-hardware/11538-spielesound-ueber-headset.html

URL Shortened Successfully!
http://bit.ly/cYiaeB
Tweet: Spielesound ?ber Headset: Hallo !, Also es geht um folgendes: Ich w?rde gerne den Spielesound von der Xbox auf meinen http://bit.ly/cYiaeB
Length: 138

Array
(
[request] => /statuses/update.xml
[error] => Incorrect signature
)
Twitter message:
<?xml version="1.0" encoding="UTF-8"?>
<hash>
<request>/statuses/update.xml</request>
<error>Incorrect signature</error>
</hash>

c: In my linkbacks List from vB are no Links to bitly or Twitter, just backlinks to my own side. What is there wrong?

d: in the Linkback Mail i can read:
Here is the associated message:
***************
Blogs vbmenu_register("vbbloglinks", true
But, the Linkbacks are not from the Blog, there are from the Forums.

e) if i click on the "t" Icon, some Tarnsferes to Twitter will be failed. What is wrong?

Thank's for support.....need help :)

omniqix
03-25-2010, 06:45 AM
installed and works great on my v3.8 board thanks

Hope 4.0 version comes out soon I like this vbulletin tweeter more then others out there :)

ps2wiz
03-25-2010, 06:56 AM
Looks like a great mod, but will it work on vBulletin 3.7?

Asdrubael
03-25-2010, 08:29 AM
Hi Milad. Very strange problem here. When I try to manually tweet a post / thread, then the grey T-Icon turns into a progress icon but nothing happens then. Also, the auomatic tweet function wont work. It keeps saying "1 Threads stripped from database!" but there is no Tweet on twitter.

Also, there are no further logs for me.

* I double checked the access settings in Twitter, they are OK
* I re-authorized two times
* I tried it with and without bit.ly auth / api
* I tried with and without iconv
* This is the way I installed this addon: Uploaded files, uploaded XML

Hope you can help me :>

Oh and BTW: The automatic tweet after authorization worked perfectly for me.

Uberguilds
04-06-2010, 01:26 AM
Fatal error: Call to undefined function vbseo_get_forum_info() in /storage/****/forums/includes/twitterposter/functions_twitterposter.php on line 51

Line 51: vbseo_prepare_seo_replace();

VBSEO 3.0.0 RC6
VB 3.8.0

This is on a manual run. The Tweetpost is authenticated fine, got the message to twitter, but it is not posting threads at all.

HALP

Uberguilds
04-06-2010, 04:43 AM
Fixed the problem, Because i had VBSEO 3.0.0 vbseo_get_forum_info() needed to be changed to get_forum_info()

bplinson
04-06-2010, 06:41 PM
Finally got it working! Great hack!

Uberguilds
04-07-2010, 10:12 PM
Does anyone have a more refined version of twitterposter_hot.php than what was provided in this mod?

More specifically, this right here isn't exactly the greatest way to pull hot threads from the database:

(only gripe I have about this great product)



$get_hot_threads = $vbulletin->db->query_read("SELECT
thread.threadid, thread.title, thread.forumid,
post.pagetext,
user.userid, user.usergroupid, user.membergroupids
FROM " . TABLE_PREFIX . "thread AS thread
LEFT JOIN " . TABLE_PREFIX . "post AS post ON (post.postid = thread.firstpostid)
LEFT JOIN " . TABLE_PREFIX . "deletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND type = 'thread')
LEFT JOIN " . TABLE_PREFIX . "user AS user ON (user.userid = thread.postuserid)
WHERE thread.open <> 10
AND thread.visible = 1
AND thread.tweeted = 0
AND thread.dateline >= " . $vbulletin->options['twitter_hot_timespan'] . "
" . (count($restricted_forums) > 0 ? "AND thread.forumid NOT IN (" . implode(',', $restricted_forums) . ")" : "") . "
AND deletionlog.primaryid IS NULL
AND (thread.views >= " . $vbulletin->options['hotnumberviews'] . " OR thread.replycount >= " . $vbulletin->options['hotnumberposts'] . ")
ORDER BY thread.dateline

Stormlilly
04-08-2010, 05:34 AM
Any plans for a 4.0 version?

Milad
04-08-2010, 06:10 AM
Yes,,,,,

MikeTrin
04-09-2010, 03:49 PM
Confirmed, threads in my test forum are being pulled every 24 days rather than hours. I imagine this is because the code in twitterposter_hot.php reads:

$vbulletin->options['twitter_hot_timespan'] = TIMENOW - ($vbulletin->options['twitter_hot_timespan'] * 86400);

As a work around until Milad fixes you could set Hot Threads Look up Time Span = 1(for 24 hrs) in the admincp control for this plugin.

I wish this was mentioned at the top of this thread in with details about the hack...

I knew my forums wasn't as busy as twitter was saying... ;)

thanks.

MyDroidWorld
04-10-2010, 01:17 AM
Any plans for a 4.0 version?

Yes,,,,,

Ive been waiting for this! 3.8 was great!

Chicago_VLNU_4s
04-13-2010, 11:29 PM
installed

zelnik
04-14-2010, 06:16 PM
Yes,,,,,

Hi Milad,

As you may remember I was one of the first people to install your great addon and miss it greatly now I've moved to vb4 :(

The 2 current automatic twitter posters and nowhere near as good as yours, neither of them will even post an rss feed to twitter :(

I look forward to your upgrade, any idea roughly when you will be able to do it?

Thanks

DNG
04-17-2010, 02:54 PM
installed,

how i get to choose which usergroup or forums id that post threads on twitter??

Thanks for the Mod, Nominated for MOTM ;)

Reef Man
04-19-2010, 05:51 PM
I want the 4.0.X version. Any tentative schedule?

Alecsmith
04-28-2010, 11:04 AM
I will say simply great installed many thanks.

press install as well 5 star :)

laztrix
05-03-2010, 08:39 PM
I used the settings in the preview but no thread is submitted to twitter altough all access information are in tact.

I'm wondering what I did wrong but unfortunately can't figure out what ...

KaneR
05-12-2010, 08:39 PM
I've installed this and it's been working the past couple of days but now when I try to tweet a post I get this

<br />
<b>Fatal error</b>: Cannot redeclare class OAuthException in <b>/home/......./public_html/forum/includes/twitterposter/twitteroauth/OAuth.php</b> on line <b>8</b><br />

Mum
05-14-2010, 10:51 PM
I get the same error on installing.

marshal_ramdev
05-15-2010, 07:47 PM
I am unable to upload the plugin

It is giving me error

Database error in vBulletin 3.8.3:

Invalid SQL:
ALTER TABLE `thread` ADD `tweeted` BOOL NOT NULL DEFAULT '0';;

MySQL Error : Duplicate column name 'tweeted'
Error Number : 1060

What could be the problem ?

Milad
05-15-2010, 09:48 PM
You have to drop the column tweeted

make sure it's not installed, if so, uninstall it.

Regards

marshal_ramdev
05-16-2010, 05:23 PM
I never isntalled the plugin , 1 time

One plugin is installed but it is vbulletin 2 twitter ..

Same error ! what to do ?? and how to drop the column tweeted ?

Thanks

Milad
05-16-2010, 05:36 PM
ALTER TABLE `thread` DROP `tweeted`;

ShawneyJ
05-17-2010, 03:09 AM
Any plans for a 4.0 version?

Yes,,,,,

sweet, this is the only twitter addon/hack i like. hope this comes out soon.
no release date as yet mate?

marshal_ramdev
05-17-2010, 09:21 AM
ALTER TABLE `thread` DROP `tweeted`;

I am not good at SQL level , plz let me know how to do it ??

Thanks

Milad
05-17-2010, 12:19 PM
I am not good at SQL level , plz let me know how to do it ??

Thanks
http://www.vbulletin.com/forum/showthread.php?101567-How-To-Run-A-Query

marshal_ramdev
05-17-2010, 05:43 PM
Now after running the query it says

#1091 - Can't DROP 'tweeted'; check that column/key exists

what to do now ?

marshal_ramdev
05-19-2010, 09:05 AM
??? anyone ??

Milad
05-19-2010, 09:39 AM
It seems like the column is dropped, try to install the hack again.

marshal_ramdev
05-19-2010, 03:14 PM
Now it is saying

Invalid SQL:
ALTER TABLE `forum` ADD `twitterenabled` TINYINT(1) UNSIGNED NOT NULL DEFAULT '1';;

MySQL Error : Duplicate column name 'twitterenabled'
Error Number : 1060

what to do now ?

thanks

Milad
05-19-2010, 04:22 PM
It seems like all of the new columns are exist, you have to drop them all before you can install it again.

Regards

marshal_ramdev
05-19-2010, 06:43 PM
Milad , ahh and how to do that ?? in all ?

Thanks n Regards

marshal_ramdev
05-21-2010, 12:40 PM
waiting ??

marshal_ramdev
05-24-2010, 08:42 AM
bump !

FernandoFG
05-24-2010, 10:11 PM
when i try to import the addon, i get this error msg:

"Connection timed out (110)"

any help?

Problem solved with using the "override" option by installing the addon!

I did get it after i uploaded / imported the addon.
After i tried with "override addon" the timeout error doesn't come...

I have the same issue, I can't import the product. The override option doesn't makes a difference, please help!

MyDroidWorld
05-25-2010, 12:09 AM
Any chance we might see this soon for 4.0.3? I really liked this on 3.8.4!

steeler7
05-26-2010, 03:00 AM
Any chance we might see this soon for 4.0.3? I really liked this on 3.8.4!

It works "good enough" on my 4.0.3 until Milad completely updates it.

I basically had to disable the manual tweeting box figuring that the template changes for vb4 would mess that up and about the only issue I have is on the tool/button bar under each post (where the view IP, ban cards, reply, quote, edit buttons are), on the left, the buttons shift down because of the size of the "just tweeted" button. It's not a big enough deal IMO.

Word or advice, be careful if you try to run on vb4.0.3 cause it will Tweet all threads your forum has made since that last auto tweet. I had to clean up a ton of tweets to avoid getting a spam label

MyDroidWorld
05-28-2010, 01:49 AM
It works "good enough" on my 4.0.3 until Milad completely updates it.

I basically had to disable the manual tweeting box figuring that the template changes for vb4 would mess that up and about the only issue I have is on the tool/button bar under each post (where the view IP, ban cards, reply, quote, edit buttons are), on the left, the buttons shift down because of the size of the "just tweeted" button. It's not a big enough deal IMO.

Word or advice, be careful if you try to run on vb4.0.3 cause it will Tweet all threads your forum has made since that last auto tweet. I had to clean up a ton of tweets to avoid getting a spam label

Thanks for the info! Going to have to give it a shot!

MyDroidWorld
05-29-2010, 12:50 AM
It works "good enough" on my 4.0.3 until Milad completely updates it.

I basically had to disable the manual tweeting box figuring that the template changes for vb4 would mess that up and about the only issue I have is on the tool/button bar under each post (where the view IP, ban cards, reply, quote, edit buttons are), on the left, the buttons shift down because of the size of the "just tweeted" button. It's not a big enough deal IMO.

Word or advice, be careful if you try to run on vb4.0.3 cause it will Tweet all threads your forum has made since that last auto tweet. I had to clean up a ton of tweets to avoid getting a spam label

So how did you get past the fact it wont let you install the xml? Or am I missing something?

funmasti
05-30-2010, 09:44 AM
this is actually cool.. installed

Mum
05-30-2010, 07:43 PM
Does it work for you, doesn't work for me.

steeler7
06-02-2010, 12:25 PM
So how did you get past the fact it wont let you install the xml? Or am I missing something?

I actually never had the XML uninstalled in the first place when I converted from 3.8.4. I pretty much just made sure it was "enabled" in my product manager. I converted with all of my MODs from 3.8.4 in place and upgraded and deleted them afterwards

Nano_
06-13-2010, 11:02 PM
Tagged and waiting for vB4 version!

footzker
06-22-2010, 09:12 AM
Is there any way to 'untweet' your thread? I tweeted my thread and then deleted it from the twitter. Now I can't tweet it back again, because the 'tweet' icon is blue and it just takes me to the twitter post does not exist anymore.

P.S. Milad! Thanks for this amazing hack!

NoPretender
06-23-2010, 03:40 PM
The manual tweet button isn't showing for me. Checked and double checked all the permissions. The forum has manual tweeting enabled, Administrator usergroup is allowed to manual tweet, the forum is viewable to guests and automatic tweeting is disabled.

I thought maybe it was my style, so switched to default but made no difference. Ideas?

---
EDIT: Odd, I decided to reimport the product and chose to overwrite the other, and now it's working. Nevermind.

tamiyausa
06-23-2010, 07:15 PM
VB4 version for sure!

A_1
06-26-2010, 05:03 PM
this is not working with me , my vb version is 3.8.5 also Openssl installed complied with PHP , and no firewall installed or working into my server, i found this error ,

Can't reach twitter, either the port 443 is closed by a firewall, you didn't enter the correct Consumer Key and Consumer Secret values, or you don't have openSSL complied to your PHP installation.

and my info is correct

ShawneyJ
06-27-2010, 02:57 PM
Now it is saying

Invalid SQL:
ALTER TABLE `forum` ADD `twitterenabled` TINYINT(1) UNSIGNED NOT NULL DEFAULT '1';;

MySQL Error : Duplicate column name 'twitterenabled'
Error Number : 1060

what to do now ?

thanks

It seems like all of the new columns are exist, you have to drop them all before you can install it again.

Regards

Milad , ahh and how to do that ?? in all ?

Thanks n Regards


what no answer mate??? been going at this for awhile, driving me frigging nuts!!!

edit: sorry, it just goes from MySQL Error : Duplicate column name 'twitterenabled' back and forth to another a few posts back,
dropping this one i dont know how please?
working fine on my other forums, just not 1 !!

ShawneyJ
06-27-2010, 11:10 PM
ok, i had to drop all these 1 by 1 then the product re-installed.

ALTER TABLE `thread` DROP `tweeted`
ALTER TABLE `forum` DROP `twitterenabled`
ALTER TABLE `thread` DROP `tweet_screen_name`
ALTER TABLE `usergroup` DROP `twitterposter`

go to phpmyadmin and chose your database, then click SQL: Run SQL query/queries on database.

run the above separate.
then re-upload the product.

ShawneyJ
06-29-2010, 01:26 AM
this hack works fine on all my forum apart from 1.

Can't reach twitter, either the port 443 is closed by a firewall, you didn't enter the correct Consumer Key and Consumer Secret values, or you don't have openSSL complied to your PHP installation.

Consumer Key and Consumer Secret values are correct, i contacted my host about openSSL and everything is fine.
any advice on this please guys?

wow the Support is fast :D

vidan
07-03-2010, 09:37 PM
update to vbulletin 4 please

rluna559
07-05-2010, 10:58 AM
Getting this error when trying to install.

Fatal error: Cannot redeclare class OAuthException in /home/rluna559/public_html/nailforums.com/includes/twitterposter/twitteroauth/OAuth.php on line 8

I saw some other people had the same error, how do I fix this and authorize my app? I used this before successfully on another forum, but ran into a brickwall on this installation.

Nano_
07-06-2010, 03:36 AM
Getting this error when trying to install.

Fatal error: Cannot redeclare class OAuthException in /home/rluna559/public_html/nailforums.com/includes/twitterposter/twitteroauth/OAuth.php on line 8

I saw some other people had the same error, how do I fix this and authorize my app? I used this before successfully on another forum, but ran into a brickwall on this installation.

OAuthException class is used by Facebook. Change class name may resolve.

biftek
07-07-2010, 01:24 AM
finally after some playing around and swearing my head , i got this working , i kept on getting the failed to authorize message , reading previously to delete the connection in the twitter profile and retry , so i did that and it worked

rluna559
07-07-2010, 03:47 AM
Getting this error when trying to install.

Fatal error: Cannot redeclare class OAuthException in /home/rluna559/public_html/nailforums.com/includes/twitterposter/twitteroauth/OAuth.php on line 8

I saw some other people had the same error, how do I fix this and authorize my app? I used this before successfully on another forum, but ran into a brickwall on this installation.

Got my problem fixed. It had to do with the php settings on the server. I have my forum hosted on hostgator and I contacted support. I directed them to the information I found on this website and they fixed the problem.

http://community.invisionpower.com/resources/documentation/index.html/_/knowledge-base/previous-versions/310-twitter-fatal-error-cannot-redeclare-class-or-return-to-log-in-while-trying-to-register-r451

I'm running this add-on on 3.6.12 with no problems.

ShawneyJ
07-07-2010, 04:08 AM
god still no answer to my help!!!!

drsli
07-17-2010, 10:13 AM
ok, i had to drop all these 1 by 1 then the product re-installed.

ALTER TABLE `thread` DROP `tweeted`
ALTER TABLE `forum` DROP `twitterenabled`
ALTER TABLE `thread` DROP `tweet_screen_name`
ALTER TABLE `usergroup` DROP `twitterposter`

go to phpmyadmin and chose your database, then click SQL: Run SQL query/queries on database.

run the above separate.
then re-upload the product.
Many thanks for this useful explanation. Now I?m able to run this excellent product again. :)

shuwarriors
07-21-2010, 06:27 PM
I've just noticed my tweets are pointing to an old URL.

I recently moved from forum.domain.net to domain.net/forum

I've changed all settings I can see, but its not pointing to the new location. How can I fix this?

Milad
07-23-2010, 07:08 PM
It should take your up to date settings, it seems like you didn't change all settings, double-check.

On the other hand, you should have placed a way to redirect all old URLs to the new ones. so even if someone visits an old URL, you would survive.

sweetguy2004
07-30-2010, 06:10 PM
I want to use this hack & i have installed it successfully but after install i don't see any changes in my board there is not twit button in postbit & nothing in navbar too please anyone help

Here is my board u can check it is installed but there is no changes http://www.vedesi.com

ShawneyJ
08-01-2010, 02:32 AM
I fixed the problem with it not working with vbseo 3.5. It was an easy fix.

in includes/twitterposter/functions_twitterposter.php

change this line in function initialize_vbseo()


require_once(DIR . '/includes/functions_vbseo.php');


to:


require_once(DIR . '/vbseo/includes/functions_vbseo.php');


vbSEO changed the structure of where the files are in 3.5. This hack couldn't find the file it needed. Once you change that line it will work.

See http://twitter.com/macminiforums

thats help and should be in the first thread created :o thanks.

designBox
08-05-2010, 11:36 AM
thats help and should be in the first thread created :o thanks.

I second this.
Thank you for the fix.

MikeTrin
08-07-2010, 08:51 PM
subscribed and waiting for 4.x version. worked great in 3.whatever!:)

Firedshot
08-09-2010, 07:23 PM
Get the problem where i click allow and it come back with doesn't work and don't know why

philipnet
08-21-2010, 03:51 PM
I've subscribed as well.
I'm definitely interested in a 4.0 version of this mod :)

wtrk
08-26-2010, 05:22 PM
there should be an option to select which vbseo your using so you dont have to edit the files.

proxx
09-12-2010, 01:44 PM
after upgrading to vb4 , it seems this mod still works. Does it work for you guys too on VB4?

R0L3X
09-28-2010, 05:40 PM
Hi, tanks for this great mod!

I get this error when I run the task

Warning: require_once([path]/includes/functions_vbseo.php) [function.require-once]: failed to open stream: No such file or directory in [path]/includes/twitterposter/functions_twitterposter.php on line 47

Fatal error: require_once() [function.require]: Failed opening required '/home/sitename/domains/sitename.com/public_html/forums/includes/functions_vbseo.php' (include_path='.:/usr/local/lib/php') in /home/sitename/domains/sitename.com/public_html/forums/includes/twitterposter/functions_twitterposter.php on line 47

How can i fix this error ?

I'm running vBseo 3.5.2

Milad
09-28-2010, 09:03 PM
<a href="https://vborg.vbsupport.ru/showthread.php?p=1988322#post1988322" target="_blank">https://vborg.vbsupport.ru/showt...22#post1988322</a>

shuwarriors
09-29-2010, 07:19 AM
How can I make the tweet poster which appears in the footer available to more than just myself as the main admin account?

Can you make it available to a user group?

LakeAnna
10-05-2010, 03:02 AM
How is it possible to just tweet new threads created and not auto post threads that are a month old etc. Thanks

LakeAnna
10-05-2010, 03:19 AM
Confirmed, threads in my test forum are being pulled every 24 days rather than hours. I imagine this is because the code in twitterposter_hot.php reads:

$vbulletin->options['twitter_hot_timespan'] = TIMENOW - ($vbulletin->options['twitter_hot_timespan'] * 86400);

As a work around until Milad fixes you could set Hot Threads Look up Time Span = 1(for 24 hrs) in the admincp control for this plugin.


Exact same issue - I assume this is still an open issue a year later - hope this fix works

LakeAnna
10-05-2010, 03:29 AM
I do have one problem tho. It seems to be tweeting everything! some stuff is months old. How do I stop that?

That has nothing to do with it, it will be solved by itself.

Still researching this problem but I have to admit this doesnt give me confidence - can you explain further? Is it magic?

duartecon
11-14-2010, 11:29 PM
I'm in AdminCP -> Scheduled Tasks -> Scheduled Task Manager, then locate the task of "Tweet vBulletin Poster" it works just the topics are not posted on Twitter, but when I click run to see if there are any errors is created topics in Twitter. What can be?

Ramsesx
11-15-2010, 11:24 AM
Well done Milad, thanks for that.

A.Chakery
12-03-2010, 10:42 AM
Hello Milad,

First thanks for this great plugin

I have a problem here, I am protecting my admincp folder by a .htaccess file (passwd)
so I think this application is not working fine because the twittposter.php is placed at admincp directory.

is there any way to make it work ?

Thanks

Milad
12-03-2010, 10:55 AM
admincp/twittposter.php is used for authorizing the mod only, after you use it, there is no real use for it other than testing the connection!

A.Chakery
12-03-2010, 11:01 AM
Thanks for the great support

so I wonder why Hello World have not been posted to my twitter.

is it possible to place this *.php file somewhere else?

Milad
12-03-2010, 11:19 AM
No, you should check the instructions and make sure you followed them correctly!

A.Chakery
12-03-2010, 11:54 AM
thanks, the problem was .htaccess passwd, it didnt let twitter to access the *.php file (twitterposter.php)

Regards.

A.Chakery
12-04-2010, 11:07 AM
Milad I have a new problem,

When I try to post a new tweet or create a new thread, I get this errors :

Warning: require_once([path]/includes/functions_vbseo.php) [function.require-once]: failed to open stream: No such file or directory in [path]/includes/twitterposter/functions_twitterposter.php on line 47

Fatal error: require_once() [function.require]: Failed opening required '/home/name/public_html/includes/functions_vbseo.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/name/public_html/includes/twitterposter/functions_twitterposter.php on line 47

do you have any idea ?

thanks

Milad
12-04-2010, 11:23 AM
Someone posted a fix for this in some pages previously, go back through them!

Warlord
12-29-2010, 07:34 PM
This is pretty awesome. Installed.

Emmett Brown
12-31-2010, 03:35 PM
Anyone have any idea how we would make it either Strip spoiler tags or at least through some "***SPOILER***" text in front of it. Just got some flak on twitter from spoiling something. :(

Edgespeeder06
01-02-2011, 05:22 AM
help, tells me authorization isn't enabled yet it has been since it posted the first hello.

I get this error message as well when I try to do a authorize after I log back into the admin panel...any idea?
For some reason, authorization failed! I don't know!

Edgespeeder06
01-02-2011, 05:38 AM
After reading all the previous threads, I still can't get the authorization to work ughhh

Edgespeeder06
01-02-2011, 05:44 AM
it works thank you!!!

Edgespeeder06
01-02-2011, 12:57 PM
well it all works except for my url shortening link and I copied the codes correctly.

I get this: Error #203: You must be authenticated to access shorten

Edgespeeder06
01-03-2011, 01:36 AM
fixed, now its not automatically tweeting only when I run the task manually?

ShawneyJ
01-09-2011, 04:53 AM
I fixed the problem with it not working with vbseo 3.5. It was an easy fix.

in includes/twitterposter/functions_twitterposter.php

change this line in function initialize_vbseo()


require_once(DIR . '/includes/functions_vbseo.php');


to:


require_once(DIR . '/vbseo/includes/functions_vbseo.php');


vbSEO changed the structure of where the files are in 3.5. This hack couldn't find the file it needed. Once you change that line it will work.

See http://twitter.com/macminiforums

thanks ;)

Edgespeeder06
01-12-2011, 11:40 PM
guess I'll just remove this one and get the other version since no help on my not auto posting issue yet

SamirDarji
01-14-2011, 06:15 PM
I just saw this. Interesting. Making mental note to try it.

QFIT
02-01-2011, 04:06 PM
Cannot get Authorize to work. It opens twitter in a new tab. Click Allow, and twitter gives me a pin. Redirect never occurs.

Milad
02-02-2011, 04:11 AM
make the twitter application settings properly.

Goomzee
02-02-2011, 04:35 AM
show error when i put below url in twitter apps

www.mydomain.com/forum/admincp/twitterposter.php

after blank callurl field

it's show me this message

You've successfully granted access to MKNexusonline!

Simply return to MKNexusonline and enter the following PIN to complete the process.


Please people make user friendly twitter mod

chuotlac
02-15-2011, 05:51 AM
Not compatible with version 4.1.0 :(

ruthlessthugsta
02-20-2011, 07:18 PM
ran the scheduled task and got this message.

twitter keys and tokens aren't registered in the database


what do i need to do??

newbie here.

floggerss
03-01-2011, 06:05 PM
I have this error, but the guest can see links

I'm not seeing any updates after the one "#vBulletin Tweet Poster by http://services.milado.net/ Hello World! #testoauth".

vBulletin Tweet Poster

Last run was at: 21-Feb-2011 23:26
--------------------------------------------------------------------------------
Excluded forums
Zona Cam
Encuentros Stylers
Encuentros y Perdidas
Solo Chicas
Solo Chicos
Academia de Dise?o
Zona VIP
Secci?n VIP
Zona Staff
Administraci?n
Usuarios
Batallas
Modificaciones
Zona Admin
--------------------------------------------------------------------------------
142 thread(s) have been fetched from the database!


Nothing is post on the twitter

c0der
04-24-2011, 02:49 PM
thx bro

شكرا يا حبيبي ومنور المنتدى

smartie33
05-09-2011, 08:15 AM
I installed the addon in our vB 3.7.3. but I can't see the tweets.

vB don't show any error and bit.ly is working well because it shows the shortened URL's. So it's only Twitter that don't receive the message.

Any idea what could happens ??

By other hand, how can I use the test plugins to check the system?

Thanks in advance

Robbie P
05-09-2011, 11:58 AM
This addon does not work on my installation of vBulletin 3.8.7 - can anyone help me?

Black Tiger
05-31-2011, 10:58 PM
Confirmation, not working on vBulletin 3.8.7. Twitter also changed the authentication method. I get these notices when running the cronjob:
Array
(
[error] => Could not authenticate with OAuth.
[request] => /statuses/update.xml
)
and under that:
Twitter message:

<?xml version="1.0" encoding="UTF-8"?>
<hash>
<error>Could not authenticate with OAuth.</error>
<request>/statuses/update.xml</request>
</hash>

=============
Never mind.
Fixed by editing the permissions manually in Twitter and force re-authorisation.

8thos
06-11-2011, 05:04 AM
<a href="https://vborg.vbsupport.ru/showthread.php?t=265025" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=265025</a>

SamirDarji
06-13-2011, 06:28 PM
The author is alive in well. :)

Cyburbia
11-01-2011, 11:25 PM
Another report: worked in 3.8.7, not in 4.1.7. Otherwise, a nice app, but time to uninstall. :(

as7apcool
11-02-2011, 01:02 AM
Thanks 4 amazing work

newguy
03-08-2012, 10:27 AM
I have had this installed for a long long time. I moved servers on Dec 3 2011. The new server did not have curl support in PHP, and I just corrected this today (March 8 2012). With in minuets of curl getting installed the server CPU went up, to many SQL connections. Eventually the data center rebooted the server and changed the wait_timeout to compensate. Now the DB errors are

Invalid SQL:
UPDATE setting SET value = '1331204351' WHERE varname = 'twitter_lastrun';

MySQL Error : MySQL server has gone away


I am not wanting to ask them to increase the wait time out because it will take me right back with to many SQL connections.

What can be done so the modification don't try to tweet everything since Dec 3? I hope I explained what is going on with me. I have this disabled in my adminCP right now.

newguy
03-14-2012, 11:17 PM
ok, i had to drop all these 1 by 1 then the product re-installed.

ALTER TABLE `thread` DROP `tweeted`
ALTER TABLE `forum` DROP `twitterenabled`
ALTER TABLE `thread` DROP `tweet_screen_name`
ALTER TABLE `usergroup` DROP `twitterposter`

go to phpmyadmin and chose your database, then click SQL: Run SQL query/queries on database.

run the above separate.
then re-upload the product.

I have done that and I still get this error on instal the product.

Database error in vBulletin 3.8.7:

Invalid SQL:
ALTER TABLE `thread` ADD `tweeted` BOOL NOT NULL DEFAULT '0';;

MySQL Error : Duplicate column name 'tweeted'
Error Number : 1060

newguy
03-15-2012, 08:51 AM
Please change this modification to NOT SUPPORTED.

Simon Lloyd
03-15-2012, 09:19 AM
Then why dont you delete the column "tweeted" from your database?

newguy
03-15-2012, 09:28 AM
Then why dont you delete the column "tweeted" from your database?

I have done that already like I said 3 posts back.

newguy
04-10-2012, 09:47 AM
This modification does not work anymore since twitter made changes, and this modification is not supported by the developer.

Black Tiger
04-10-2012, 11:35 AM
As of since when? I still got messages on twitter from April 3rd. When did Twitter make those changes?

mahmo0od
04-10-2012, 04:57 PM
good product milad
but twitterfeed.com
solve this problem
i am waiting new product from your excellent coding

Black Tiger
04-10-2012, 07:12 PM
What exactly is your problem? My forumtweets are still posted with this mod without any problems. There were just a couple made today.

newguy
04-26-2012, 08:35 AM
What exactly is your problem? My forumtweets are still posted with this mod without any problems. There were just a couple made today.

When I run the task I am told this.
vBulletin Tweet Poster

twitter keys and tokens aren't registered in the database, authorize the hack please! exiting!

I have went through the process step by step at least 10 times. When I am in the adminCP and I try too authorize with my Consumer Key and Consumer Secret I get a white page.

gigglegirl
05-21-2012, 04:34 AM
I installed this and my forum went completely haywire. I uninstalled but still having problems with security tokens missing and other things.
Any help available?

Simon Lloyd
05-21-2012, 06:59 AM
I installed this and my forum went completely haywire. I uninstalled but still having problems with security tokens missing and other things.
Any help available?Your issue won't be because of this hack, if you've uninstalled it all will be back as it was before you installed, you must have changed something else, i have it working on vb3.8.7 no problem :)

sleepyboy2004
05-29-2012, 03:51 AM
Tried to look everywhere about changing the number of tweets per day as I have already got complain about spamming. Anyone know where to manually hack this or change it to like every 60 mins at least or something. I love it and its great. Just today and it has brought a lot more traffic to my site. But its a little on the over kill for some. Any help would be great. Thanks

Milad
05-29-2012, 09:44 AM
Edit the scheduled task.

sleepyboy2004
05-30-2012, 05:08 AM
Edit the scheduled task.

Ok, found it but a bit confused on how to edit it. Any quick tips?

<cron varname="twitterposter" active="1" loglevel="0">
<filename>./includes/twitterposter/twitterposter_task.php</filename>
<scheduling weekday="-1" day="-1" hour="-1" minute="6,16,26,36,46,56" />
</cron>
<cron varname="twitterposter_hot" active="1" loglevel="0">
<filename>./includes/twitterposter/twitterposter_hot.php</filename>
<scheduling weekday="-1" day="-1" hour="-1" minute="9,19,29,39,49,59" />

Milad
05-30-2012, 08:24 AM
edit in admincp

Alfa1
06-08-2012, 03:04 PM
Can this be expanded to post to facebook as well?

Some suggestions:

On active sites it would be beneficial to only post the most interesting threads, instead of spamming hundreds of low quality threads a day.
For example by only posting threads:
- Which received more than X reputation (1st post)
- Which are recommended by specified usergroups. (give specific usergroups a 'post to the sites twitter feed' button)

sleepyboy2004
09-26-2012, 11:34 AM
Well lets just say this stopped working for me. I tried to re create the app and re install everything. And all good. but when I try to register the APP and submit the consumer and secret key, it just takes me to a blank page and address reads

http://mydomain/admincp/twitterposter.php?do=doauthorize

Anyone else having this issue?

sleepyboy2004
09-26-2012, 12:06 PM
Just to verify, I tested this on a new test forum, and same thing. So my guess is something on the server was changed. So now something need to be modified.

sleepyboy2004
09-26-2012, 12:37 PM
Called my hosting services and no changes have been made on the server. Everything looked normal and good. So I guess is back to here. If anyone has any help, please share. Thanks. I will try to look at the files and see if I can find a fix. If so I will post here too.

chefy
10-16-2012, 04:29 PM
It looks like this one stopped working on Oct, 10 by an unknown reason. Is there any error log I can check?

Simon Lloyd
10-16-2012, 04:52 PM
Stopped for me too on 10th October!

Black Tiger
10-16-2012, 05:07 PM
Same problem here, hope it can be fixed.

chefy
10-16-2012, 05:13 PM
For anyone interested, I found the problem: https://dev.twitter.com/discussions/11595


I'd verify that you're using the right paths for everything -- we retired unversioned and unsubdomained endpoints yesterday -- so if you're using twitter.com/oauth/* you should use api.twitter.com/oauth/* and if you're using API urls like twitter.com/statuses/user_timeline you should use URLs like api.twitter.com/1/statuses/user_timeline instead.


Check the date of the reply from the Twitter employee (Oct, 11) and notice that he mentions "yesterday" thus referring to Oct, 10 so... that's the problem! I got no time to tell you what you should change in order to get it working again but it appears to be an easy job (just search and replace the new API path).

ShawneyJ
10-17-2012, 07:14 AM
(just search and replace the new API path).

thanks, just re-placed URL's in product to api.twitter etc, still not working. tried searching URL's in files etc, but cant seem to find any URL's to replace.

Will have another look tomorrow. ATM this mod 100% no longer works on any of my sites.

Simon Lloyd
10-17-2012, 08:31 AM
Thanks but i tried making those changes but no good :(

ShawneyJ
10-17-2012, 09:28 AM
Yeah, i looked some more, but no luck again.

I am now using this mod: https://vborg.vbsupport.ru/showthread.php?t=236278&page=44&highlight=tweet

It works great! for 3.8.X, long as you dont use bitly.

Simon Lloyd
10-17-2012, 12:01 PM
Hmmm, it'd be a shame to have to change as this was a great mod, thanks for the link though :)

mykkal
10-17-2012, 05:10 PM
Yea... i'm unable to use the mod anymore as well. I noticed mymodeltalk's social network traffic dropping significantly. This program was the best 3.8 had. I hope it is updated somehow and soon.

A lot of forums are still 3.8

Simon Lloyd
10-17-2012, 06:47 PM
Use the link ShawneyJ posted, put your vbulletin in debug mode, in the untouchables copy down ALL of this mods api keys, secrets...etc and simpy enter them all in to the new mod, use tinyurl instead of bit.ly, give it an hour and hey presto tweets working :)

nick-harper
10-18-2012, 09:23 AM
I hope this can be fixed as it shows a preview of the thread as well as the title whereas the other just shows the title :(

Black Tiger
10-19-2012, 12:02 PM
Yep, I will wait for a fix for this too.
Maybe somebody finds out and can make a "find this and replace with such" kind of manual for us.

nick-harper
10-22-2012, 08:34 AM
Has anybody found a fix for this as yet :(

CristianoDiaz
10-22-2012, 07:41 PM
I found the solution to the problem.

You have to change the URLs in several files:

In includes\twitterposter\twitteroauth\twitterOAuth.p hp

Change:

public static $TO_API_ROOT = "https://twitter.com";

To:

public static $TO_API_ROOT = "https://api.twitter.com";

In includes\twitterposter\class_twitterposter.php

Change:

$content = $this->twitter_api('https://twitter.com/statuses/update.xml', array('status' => $this->status), 'POST');

To:

$content = $this->twitter_api('https://api.twitter.com/1/statuses/update.xml', array('status' => $this->status), 'POST');

Also change:

$content = $this->twitter_api('https://twitter.com/statuses/destroy/' . $this->statusid . '.xml', array(), 'POST');

To:

$content = $this->twitter_api('https://api.twitter.com/1/statuses/destroy/' . $this->statusid . '.xml', array(), 'POST');

==

That's it - I ran the scheduled task and the new threads went through to Twitter again. The key is not just the change to api.twitter.com, but on the two actual API calls, putting a /1/ before the API function. They added versioning to the API calls (but don't add it on the OAuth call).

Hope that helps - it fixed it in my forum running 3.8

Black Tiger
10-22-2012, 09:32 PM
Christiano, you're the best! I also got 3.8.x running. Thank you very much for sharing your solution with us!!
Working like a charm again!:)

Simon Lloyd
10-23-2012, 12:21 AM
That's it - I ran the scheduled task and the new threads went through to Twitter again. The key is not just the change to api.twitter.com, but on the two actual API calls, putting a /1/ before the API function. They added versioning to the API calls (but don't add it on the OAuth call).

Hope that helps - it fixed it in my forum running 3.8Funny, i did all that a week ago but it didnt work, howvere i've just removed the change from OAuth and it worked, thanks :)

sleepyboy2004
11-05-2012, 08:16 AM
I made all my changes, however, when I try to authorize my Keys, on Fire fox it takes me to just a blank screen and on IE it gives me =/

The website cannot display the page

HTTP 500

Most likely causes:
•The website is under maintenance.
•The website has a programming error.

What you can try:
Refresh the page.
Go back to the previous page.

sleepyboy2004
11-05-2012, 08:23 AM
If possible to manually authorize it by entering the info on a file and uploading it to the server? or forcing it?

mykkal
11-28-2012, 07:01 PM
I was able to get twitter posting again using the solution Cristan gave however hash tags aren't working. It's posting the link instead of the link plus hash tag. Does anyone know how to fix that?

Example: BOSTON MODELS $1000 to $1300 http://bit.ly/VCOESi

SHOULD BE

#CASTING BOSTON MODELS $1000 to $1300 http://bit.ly/VCOESi

I found the solution to the problem.

You have to change the URLs in several files:

SonSahne
05-26-2013, 08:37 PM
For some reason, authorization failed! I don't know!

Enough! :(

mykkal
05-26-2013, 09:03 PM
Enough! :(

LOL it hasn't worked for a while. You have to use twitterfeed.com (http://twitterfeed.com) because they keep it working & authenticating.


This plugin hasn't been updated for a while and newer versions of vbulletin have been released. 3.8.7 has reached EOL (end of life).

Simon Lloyd
05-26-2013, 10:06 PM
Its still working fine on my 3.8 board?

mykkal
05-27-2013, 06:19 AM
Its still working fine on my 3.8 board?

Until you upgrade past 3.8.7 PL1 it will... at least from my knowledge. Depends on your patch level.

EWGF
06-12-2013, 11:51 PM
^That's bogus. It worked fine on any vB 3.8 with the changes of post #663.

The product officially died yesterday with the EOL of Twitter API 1.0, hard to tell if it can be fixed as easily to work with Twitter API 1.1

dethfire
06-16-2013, 01:55 PM
I just noticed the this mod died on June 11th. I hope it can get fixed. It was highly useful! :(

Goomzee
06-17-2013, 05:41 AM
this mod not working for me anymore

nick-harper
06-20-2013, 02:59 PM
Also died for me :( Would anybody want to fix it? I would be happy to make a donation!

dethfire
06-20-2013, 03:07 PM
Also died for me :( Would anybody want to fix it? I would be happy to make a donation!

I would too! I bet Twitter has lots a bunch of tweets from this lol

designBox
07-04-2013, 08:39 AM
Also died for me :( Would anybody want to fix it? I would be happy to make a donation!

Same situation here, anyone?

Black Tiger
07-04-2013, 08:51 AM
Same problem here since last month. Any help would be greatly appreciated.
It would be very nice if somebody could post a "search this and replace with that" kind of code.:)

Bill1965
04-04-2014, 07:09 AM
If someone can fix this I will make a donation.Thank you

PM me if you can.

jet rex
11-15-2014, 10:59 AM
Can`t find
Consumer Key
Consumer Secret
in new Twitter :(

greigeh
03-12-2016, 09:42 PM
No longer works.