PDA

View Full Version : New Posting Features - WS vBulletin Tweet Poster


Pages : 1 2 [3] 4

ictvb
07-16-2011, 10:38 PM
@wampforum You might want to check with your twitter application (under "Your access token") if the access token level is Read-write and not Read-only.

If it's Read-only, you have to revoke access for the application on your normal twitter account, delete your current application and create a new application with the same information. Just this time, be sure to check Settings > Application Type and set it to Read and write before generating the OAuth Access token. I think this should be added to the Q&A list.

wampforum
07-17-2011, 11:49 AM
@wampforum You might want to check with your twitter application (under "Your access token") if the access token level is Read-write and not Read-only.

If it's Read-only, you have to revoke access for the application on your normal twitter account, delete your current application and create a new application with the same information. Just this time, be sure to check Settings > Application Type and set it to Read and write before generating the OAuth Access token. I think this should be added to the Q&A list.


You sir are brilliant! Works perfectly now. I checked the main read write was enabled but couldnt alter the access token one.

Thanks mate

kall
07-26-2011, 04:50 AM
Looking at the plugins used, I wonder - does it post to Twitter when a thread is created automatically?

eg: RSS poster?

Mosh
07-26-2011, 10:05 AM
Looking at the plugins used, I wonder - does it post to Twitter when a thread is created automatically?

eg: RSS poster?

No, it does not.

kall
07-26-2011, 10:46 AM
No, it does not.
Ahh well, I'll stick with my tweaked version of buro's. Thanks anyway. :)

oddmud
07-27-2011, 02:09 PM
When is this going to be made for Facebook pages?!

barca4ever
07-29-2011, 02:31 PM
Big thanks for your effort!

I have installed the hack and configured all settings.

The problem is when I post a new thread, no tweet is generated!

I enabled "vBulletin 2 Twitter: Test/Debug Module 1" and set my userid (1) instead of (XXX)

But I got a blank page when I tried to browse my forum with my userid!

I even changed the IF statement to be if ($vbulletin->userinfo['userid']==1) but still no success

Any help will be highly appreciated!

webgroup
08-02-2011, 08:52 PM
Working fine in 4.1.5

Thanks!

Qwest
08-12-2011, 01:26 PM
This thing works FLAWLESSLY except for a small problem.

It is sending the showthread.php URL instead of the vBSEO url.

Is there a setting or code change to fix that?

Mosh
08-12-2011, 09:29 PM
This thing works FLAWLESSLY except for a small problem.

It is sending the showthread.php URL instead of the vBSEO url.

Is there a setting or code change to fix that?
Not at the moment. I do not own or have vBSEO installed, so do not know how to invoke vBSEO URLs. Is there a link to the vBSEO website that I can view that shows me how to do that with the vBSEO API?

Seductor
08-15-2011, 02:53 PM
Does the plugin send the new tweets just after setting up it or it takes some time?

Videx
08-15-2011, 04:03 PM
Does the plugin send the new tweets just after setting up it or it takes some time?Once it's working, tweets should show up virtually instantly.

If you're having trouble getting it running, be sure to read this entire thread and try everything that has been suggested. Starting with making sure your manual tweets are working.

sweetpotato
08-15-2011, 05:13 PM
Why These tweets will only be posted if they are 140 characters or shorter? This is the tittle or content of post/thread?

Thank,

sweetpotato
08-16-2011, 06:28 AM
I see NULL for debug module 1 and

object(stdClass)#14 (2) { ["error"]=> string(22) "Status is a duplicate." ["request"]=> string(23) "/1/statuses/update.json" }

for Debug Module 2

How to make it post tweet please?

steeler7
08-22-2011, 06:37 PM
Great idea, I will add it to the list of features for the next version as it should be easy enough to add it in.

Please !

I can't wait until this option is added!

Reef Man
08-23-2011, 09:48 PM
Any way to make this work on blog entries?

grey_goose
08-29-2011, 03:22 PM
For some reason my hash tags aren't showing up?

how are they seperated in the admincp setting? with spaces #example1 #example2 or with commas #example1,#example2

NoSGR
09-03-2011, 10:52 PM
Tested & Working on 4.1.5!

Thank you very much, your job is something more than perfect!

Mosh
09-04-2011, 03:12 AM
Why These tweets will only be posted if they are 140 characters or shorter?
Correct.
This is the tittle or content of post/thread?
Just the title of the thread.

Mosh
09-04-2011, 03:20 AM
I see NULL for debug module 1 and

object(stdClass)#14 (2) { ["error"]=> string(22) "Status is a duplicate." ["request"]=> string(23) "/1/statuses/update.json" }
for Debug Module 2

How to make it post tweet please?
Sounds like the application you created is Read-Only.

Follow the instructions in Post #501 (https://vborg.vbsupport.ru/showpost.php?p=2221337&postcount=501), which should fix it.

Mosh
09-04-2011, 03:21 AM
Any way to make this work on blog entries?
Probably, but it is not something I am interest in adding.... see the FAQ in the first post as to why not.

Mosh
09-04-2011, 03:22 AM
For some reason my hash tags aren't showing up?

how are they seperated in the admincp setting? with spaces #example1 #example2 or with commas #example1,#example2
Hashtags are separated by spaces not commas.

mmacrypt
09-04-2011, 03:29 AM
Mine quite working today or yesterday. it also took a long time to post new threads, I've disabled for now but hope to dig into it this weekend. I hadn't made any changes so not sure what's going on, I'll update any info I can find as this is a great mod.

flyordieforum
09-06-2011, 04:26 PM
Hey guys; our tweeter feed shows only our tweets. do you know how to set it so that it streams the tweets of the accounts we follow?

kall
09-06-2011, 05:02 PM
Question:
Can you please add the ability to tweet RSS feeds, CMS articles, Blogs, calendar events etc?
Answer:
This hack tweets live to twitter, and as none of the requests above are guaranteed to be live (ie they can be set to be published later), I will not be adding the any of the above to this hack and that is highly unlikely to ever change.
RSS feeds can be set to be 'published later'? How?

(Even so.. why is a post that comes up 'later' considered to be less important than one posted 'live'?)

iyama
09-07-2011, 12:35 PM
Failure:

Warning: require_once(bitly.php) [function.require-once]: failed to open stream: No such file or directory in [path]/newthread.php(277) : eval()'d code on line 150

Fatal error: require_once() [function.require]: Failed opening required 'bitly.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/kneusjes/public_html/forum/newthread.php(277) : eval()'d code on line 150

iyama
09-07-2011, 06:23 PM
After go to is.gd and make a new twitter aplication again:

Warning: require_once(twitter.php) [function.require-once]: failed to open stream: No such file or directory in [path]/newthread.php(277) : eval()'d code on line 162

Fatal error: require_once() [function.require]: Failed opening required 'twitter.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/kneusjes/public_html/forum/newthread.php(277) : eval()'d code on line 162

Mosh
09-07-2011, 09:07 PM
Failure:

Warning: require_once(bitly.php) [function.require-once]: failed to open stream: No such file or directory in [path]/newthread.php(277) : eval()'d code on line 150

Fatal error: require_once() [function.require]: Failed opening required 'bitly.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/kneusjes/public_html/forum/newthread.php(277) : eval()'d code on line 150

After go to is.gd and make a new twitter aplication again:
Warning: require_once(twitter.php) [function.require-once]: failed to open stream: No such file or directory in [path]/newthread.php(277) : eval()'d code on line 162

Fatal error: require_once() [function.require]: Failed opening required 'twitter.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/kneusjes/public_html/forum/newthread.php(277) : eval()'d code on line 162

I suspect that you have a different twitter hack installed..... for two reasons:

my hack does not have a file called twitter.php
files for this hack are uploaded to the includes folder and not the forum root folder itself

Those error messages are not something that could be generated from my hack.

iyama
09-09-2011, 03:20 PM
Any help?

string(20) "This is a test tweet" object(stdClass)#9 (2) { ["error"]=> string(22) "Status is a duplicate." ["request"]=> string(23) "/1/statuses/update.json" }
Warning: Cannot modify header information - headers already sent by (output started at [path]/includes/class_bootstrap.php(103) : eval()'d code:10) in [path]/includes/functions.php on line 5170


En on Twitter it shows "This is a test tweet" 2x

Mosh
09-10-2011, 06:58 AM
Any help?
string(20) "This is a test tweet" object(stdClass)#9 (2) { ["error"]=> string(22) "Status is a duplicate." ["request"]=> string(23) "/1/statuses/update.json" }
Warning: Cannot modify header information - headers already sent by (output started at [path]/includes/class_bootstrap.php(103) : eval()'d code:10) in [path]/includes/functions.php on line 5170

En on Twitter it shows "This is a test tweet" 2x

It means this hack works, and more importantly that you still have one or both of the debug plugins still active..... ensure both plugins are disabled. Set up your vBulletin Options for this hack and you should be ready to go.

Phaedrus
09-13-2011, 02:23 AM
Guh...

Installed it on a shared server, worked fine. Upgraded to a semi-dedicated, worked fine. Upgraded to VPS... Not working.

I made sure that apache is running with curl with openssl... It's installed just like before... Not working.

I tried turning on the debugs.. It puts my reply box text a bit off and I get:

NULL NULL
Warning: Cannot modify header information - headers already sent by (output started at [path]/includes/class_bootstrap.php(103) : eval()'d code:58) in [path]/includes/functions.php on line 3904

Same error for each of them... (the NULL doesn't repeat when only one is on, but the error message is the same.)

Conclusion: My server's resolv.config was set wrong... When that was corrected, boom. Everything works again. Even with the 4.1.5 upgrade going...

dany_danay
09-23-2011, 09:16 AM
Not showing tweets.. Not error given. I think its because my accses token is read only.. How can i change it? I do not find...
Sorry my english

Mosh
09-23-2011, 10:17 AM
Not showing tweets.. Not error given. I think its because my accses token is read only.. How can i change it? I do not find...
Sorry my english

Look for this question in the FAQ section of the first post for your answer:
I think I have set up everything correctly, the thread and/or post is created with no issues, there are no errors, but nothing is posted to twitter. Help !!!

Habsterix
09-23-2011, 05:43 PM
It's very unfortunate that they can't find a fix for the accents, as our forum is in French.

Also, unless I'm missing something, there are only two settings: 1- Tweet only the first post, or; 2- Tweet the first post AND every time someone replies

I wish they had a bit more flexibility to adjust which Tweets you want. For example, odd or even replies, or every "x" number of replies...

Other than that, it's great!

Phibes
09-25-2011, 05:01 PM
Plugin is working great. But tweet not send with special chars (like ö, ü). How can i solve this?

addamroy
09-27-2011, 07:15 PM
I'm unsure about some settings in the admin cp

I selected from the drop-down 'disable in selected forums', but there's nowhere for me to specify forum-IDs in the admincp, only a place for me to specify ALLOWED forums.

Am I missing something here or what am I doing wrong?

Videx
09-27-2011, 08:13 PM
I'm unsure about some settings in the admin cp

I selected from the drop-down 'disable in selected forums', but there's nowhere for me to specify forum-IDs in the admincp, only a place for me to specify ALLOWED forums.

Am I missing something here or what am I doing wrong?It's the next box - "WS vBulletin Tweet Poster Selected Forums". Enter the forum IDs you want to disable.

You are correct the text on this box is wrong, from a time before the options were added to disable forums.

elcoxx
10-07-2011, 01:23 PM
Hi,

How Can I add a Post Prefix to each tweet? (Like many websites such as Twitterfeed.com), for example:

[Post Prefix Here] Tweet content bit.ly/TweetURL23

Another example:

[Forum] vBulletin, the best forum system bit.ly/TweetURL23

Thanks.

Mosh
10-09-2011, 12:54 AM
Hi,

How Can I add a Post Prefix to each tweet? (Like many websites such as Twitterfeed.com), for example:

[Post Prefix Here] Tweet content bit.ly/TweetURL23

Another example:

[Forum] vBulletin, the best forum system bit.ly/TweetURL23

Thanks.
You can enable Thread Prefixes in the AdminCP options for this hack, and it will be used for the post prefix when replies are tweeted, as well as when creating a thread that is tweeted.

elcoxx
10-09-2011, 01:26 AM
You can enable Thread Prefixes in the AdminCP options for this hack, and it will be used for the post prefix when replies are tweeted, as well as when creating a thread that is tweeted.

I am talking about a standard prefix for all tweets made with this add-on, not vbulletin thread prefix, have you tried twitterfeed.com? this service provides what I am saying.

Mosh
10-09-2011, 02:13 AM
I am talking about a standard prefix for all tweets made with this add-on, not vbulletin thread prefix, have you tried twitterfeed.com? this service provides what I am saying.
I have not tried twitterfeed.com, and if it is not thread prefixes or hash tags you are after then this hack does not have what you asked for.

elcoxx
10-09-2011, 02:25 AM
I have not tried twitterfeed.com, and if it is not thread prefixes or hash tags you are after then this hack does not have what you asked for.

It's ok mate, many thanks.
Really nice add-on anyway.

LOGECT
10-09-2011, 01:57 PM
Is that possible to tweet threads that published by RSS feed ?

Thank you.

thomas
10-28-2011, 01:32 AM
Thanks for this mod, works perfectly on 4.1.7!

tomshawk
10-31-2011, 11:53 PM
I've installed this, set it up on one forum only for testing.

When I create a post, I get no errors and the thread posts fine.
It shows up in my bity account but nothing in Twitter.
I've deleted the App 3 times and recreated verifying Read & Write but still nothing.

Any help would be greatly appriciated

Help

tomshawk
11-01-2011, 01:28 AM
Error from report plugin 1

Fatal error: Cannot use object of type stdClass as array in /home/d3sanc/public_html/forums/includes/class_bootstrap.php(98) : eval()'d code on line 10
Error from report 2object(stdClass)#13 (2) { ["error"]=> string(34) "Could not authenticate with OAuth." ["request"]=> string(23) "/1/statuses/update.json" }

any help greatly appriciated

Mosh
11-01-2011, 10:11 PM
Error from report plugin 1

Fatal error: Cannot use object of type stdClass as array in /home/d3sanc/public_html/forums/includes/class_bootstrap.php(98) : eval()'d code on line 10
Error from report 2object(stdClass)#13 (2) { ["error"]=> string(34) "Could not authenticate with OAuth." ["request"]=> string(23) "/1/statuses/update.json" }

any help greatly appriciated

It means one (or more) of the following is incorrectly entered in the AdminCP Options:

Consumer Key
Consumer Secret
Access Token
Access Token Secret


Because of the above, this hack can not authenticate with Twitter using OAuth authentication.

tomshawk
11-02-2011, 01:02 AM
Well, I know I had the keys correct

I finally got it working after deleting the app and recreating it about 20 times using different options.

What finally worked was "NOT" filling in the Callback URL

Thank you though, excellent addon

https://twitter.com/#!/D3Sanctuary (https://twitter.com/#%21/D3Sanctuary)

jorgejgm
11-21-2011, 02:15 PM
Hello,

Thank you very much for the plugin. Only a "bug".
Messages that are pending moderation, once approved will not be posted on the twitter account. Any solution?

The version of vbulletin 4.18 suite CMS ON, blog off.

Thank you very much.

Mosh
11-21-2011, 09:05 PM
Hello,

Thank you very much for the plugin. Only a "bug".
Messages that are pending moderation, once approved will not be posted on the twitter account. Any solution?

The version of vbulletin 4.18 suite CMS ON, blog off.

Thank you very much.

Sorry, it not a "bug", I wrote it that way. Only threads and posts that posted to your forum straight away and not moderated or delayed in any way will be tweeted.

jorgejgm
11-22-2011, 08:56 AM
Sorry, it not a "bug", I wrote it that way. Only threads and posts that posted to your forum straight away and not moderated or delayed in any way will be tweeted.


Ok thank you very much. Out of curiosity, why? What are the benefits?

For the future I think it would be interesting to configuration option.

Thanks.

Videx
11-22-2011, 02:26 PM
I thought it was just the way vb4 worked. Anything coming from internally won't trigger the "new post" hooks. Only a live person pressing the "post" button will do that.

But if not, I too would second the suggestion to include this option as a new feature!

Ignore moderated posts? y/n

MikaN
12-01-2011, 03:41 PM
Bug:

If you have Forum Component URL setting active (under Settings ->Site Name / URL / Contact Details) it will be added to the bit.ly url.

For example: if you have there http://www.example.com/forum

then every twitter link is broken because bit.ly link is wrong. It looks like this:
http://www.example.com/forum/http://www.example.com/showthread.php...

The reason for this is that if that Forum Component URL is set that
'fetch_seo_url('thread', $threadinfo);' function will return

http://www.example.com/forum/showthread.php

but if it's not set it will return

showthread.php

So when you have this in your code:
$baseURL = $vbulletin->options['bburl'] . '/' . fetch_seo_url('thread', $threadinfo);

it means that if Forum Component URL is set it goes like this:
$baseURL = www.example.com/forum . '/' . http://www.example.com/forum/showthread.php..
-> $baseurl = http://www.example.com/forum/http://www.example.com/forum/showthread.php

If it is not set it will be correct
$baseURL = www.example.com/forum . '/' . showthread.php..
-> www.example.com/forum/showthread.php...

bobber
12-14-2011, 12:11 PM
Hello,
Once many thanks for the add.

I only wish in my Forum CMS News integrate with Twitter just as I do that?
Thank you for any tip.

Methok
12-23-2011, 10:57 PM
Hi Mosh,

Just as a suggestion. Could you possibly add a tick box to the end of the Hash tag text box maybe with default ticked. So if the poster don't want it tweeted they can deselect it?

Thanks

- Methok

To be honest, that is not something that interests me at all, as I have already added all the hash tag functionality to this hack that I am going to add. AdminCP defined hash tags are supposed to unalterable by users, that is the way it should work. But if the need for this for one of my sites ever occurs, then I may change my mind.

Hi,

I never meant so they controlled the hash tags.

I meant so as they control if the post gets tweeted or not.

- Methok

Mmmm.... OK, that is something I may be interested in adding to this hack. Let me think about it for a while and I will get back to you.


Hiya buddy, Any chance this can become an option yet?

icona
12-29-2011, 09:16 AM
Hi, works fine for me under vb 4.1.9!

Thank's a lot!

GTX2
01-01-2012, 03:19 PM
Using this hack for tweeter, would love to see a similar hack for facebook ;)

Anyoldname
01-10-2012, 02:31 PM
Awesome plugin thanks so much! :)

steeler7
01-12-2012, 06:02 PM
Any idea on how I could this Mod to only submit from Prefixes that I select/input. I've got my forum organized by Prefixes and some that are general questions and such i'd like to not have go out to Twitter. I'll apply any code changes

ForceHSS
01-13-2012, 02:25 AM
from what I remember you can only leave out forums for now I am sure someone can code it for you if asked

gezuvor
01-18-2012, 03:09 PM
Great mod! Installed and rated!

This product is great, but I have one suggestion:

You should have an option to choose the usergroups which threads will be published.

The way it is now, my tweeter can get many spam messages before I realize that there is a spammer on my board.

Any progress on this WS? I would like to have this same feature, to block newbs from spamming...

Skierpetros
01-19-2012, 11:51 AM
When titles are in Greek the mod doesn't work... :S

tpearl5
01-19-2012, 04:26 PM
Has anyone tweaked this to only work with the CMS?

Videx
01-19-2012, 06:30 PM
Has anyone tweaked this to only work with the CMS?You could exclude all but your CMS forum. I'm not sure if those tweet since they're internally generated, but won't hurt to try.

riteshsanap
01-25-2012, 06:40 AM
Does not working with vbulletin 4.1.10

ForceHSS
01-25-2012, 11:40 AM
Does not working with vbulletin 4.1.10

yes working on mine

jorgejgm
01-30-2012, 02:18 PM
From day 28 it does not work, same thing happens to you?

Videx
01-30-2012, 05:09 PM
From day 28 it does not work, same thing happens to you?Working here today in 4.1.8. https://twitter.com/#!/BlueRidgeBuzz

mjfan227
02-02-2012, 02:50 AM
This is waaaay too complicated for me. Too bad, it's a great mod.

mjfan227
02-03-2012, 02:24 AM
Awesome. Works like a charm. Thank you so much.

res6cue
02-04-2012, 11:00 AM
Working perfectly with 4.1.10

Mosh, any plans to add Google's goo.gl URL shortening service as an option?

DanHamilton
02-13-2012, 07:58 AM
Seems great, Installing now!

DrPrepper
02-20-2012, 09:08 PM
I had some issues with the bit.ly service of this plugin (invalid login) which made me wonder what was wrong with my username (=my email). But somehow I found the page https://bitly.com/a/your_api_key which showed both my API key and my username, which was completely different from my mail address. But it workes! So: before using bit.ly, check your username on this page, especially when you log into bit.ly with your twitter account, you should check this.

Videx
02-21-2012, 02:48 AM
...or just don't use bit.ly. I really don't see the fascination with them. As soon as we had the option to use is.gd I went with them instead.

But has anyone else had trouble with Twitterfeed lately? They've stopped posting our stuff to Facebook claiming "Couldn't parse feed, check your blog or feed URL and try again".

res6cue
02-21-2012, 03:32 AM
is.gd works well, but I'd really love to see goo.gl added to the mod. I'm not holding my breath, though.

sportsfroma2
03-06-2012, 05:58 PM
Just installed this, so far it's great with 4.1.11

I did commit the mistake of the read-only settings instead of read/write, but the great FAQ's listed here told me how to fix that...

Thanks!

tpearl5
03-06-2012, 06:43 PM
You could exclude all but your CMS forum. I'm not sure if those tweet since they're internally generated, but won't hurt to try.
Right, but then the tweets would lead to the comment thread. blah

australiaforum
03-24-2012, 08:19 AM
just want to say i had a bit of trouble installing this but after recreating the app in twitter it is now working.

Liquid Shock Ga
03-26-2012, 02:34 PM
Re-installed. had an issue with getting it to work at first with my old theme. Working great now. Thanks!

LouiseWilson
04-01-2012, 07:01 AM
As this works with 3.8 I've installed it works but there is no
Hash tag field

Mosh
04-01-2012, 10:09 AM
As this works with 3.8 I've installed it works but there is no
Hash tag field

Looks like the newthread template has changed in vBulletin 3.8.7..... so, in the AdminCP edit the vBulletin 2 Twitter: Add Hashtag Field To New Thread plugin via Plugins & Products -> Plugin Manager and completely replace the contents with the following:

if ($vbulletin->options['ms_vbtwitter_enable'] && ($vbulletin->options['ms_vbtwitter_enable_hashtag'] == 1 || $vbulletin->options['ms_vbtwitter_enable_hashtag'] == 3) && (!empty($vbulletin->options['ms_vbtwitter_twitter_consumer_key'])) && (!empty($vbulletin->options['ms_vbtwitter_twitter_consumer_secret'])) && (!empty($vbulletin->options['ms_vbtwitter_twitter_oauth_token'])) && (!empty($vbulletin->options['ms_vbtwitter_twitter_oauth_token_secret'])))
{
$twitterEnabled = false;
switch ($vbulletin->options['ms_vbtwitter_forums'])
{
case 1: // include selected forums
$forums = explode(",", $vbulletin->options['ms_vbtwitter_enabled_forums']);
$twitterEnabled = (in_array($foruminfo['forumid'], $forums)) ? true : false;
unset($forums);
break;
case 2: // exclude selected forums
$forums = explode(",", $vbulletin->options['ms_vbtwitter_enabled_forums']);
$twitterEnabled = (!in_array($foruminfo['forumid'], $forums)) ? true : false;
unset($forums);
break;
default: // include all forums
$twitterEnabled = true;
}

if ($twitterEnabled)
{
if ($vbulletin->options['templateversion'] >= "4.0.0")
{
$hashtag_field = '<div class="blockrow"><label for="hashtags" class="full">' . $vbphrase['hashtags'] . ':</label>
<input type="text" class="primary full textbox" name="hashtags" id="hashtags" value="' . $hashtag_values . '" maxlength="' . $vbulletin->options['titlemaxchars'] . '" tabindex="1" /></div>';
vB_Template::preRegister('newthread',array('hashta g_field' => $hashtag_field));
$vbulletin->templatecache['newthread'] = str_replace('$messagearea', '$hashtag_field . $messagearea', $vbulletin->templatecache['newthread']);
}
else
{
$hashtag_field = '<div class="smallfont">' . $vbphrase['hashtags'] . ':</div>
<div><input type="text" class="bginput" name="hashtags" id="hashtags" value="' . $hashtag_values . '" size="40" maxlength="' . $vbulletin->options['titlemaxchars'] . '" tabindex="1" /></div>';
$search = '<!-- / subject field -->';
$vbulletin->templatecache['newthread'] = str_replace($search, '$hashtag_field . $search', $vbulletin->templatecache['newthread']);
}
}
unset($twitterEnabled);
}

LouiseWilson
04-02-2012, 10:06 AM
Hi Mosh
Still a no go when the changes have been made.
Hashtags option is set to : Both User & AdminCP defined has tags.
The AdminCP defined one does show up on twitter when posted however no field on the new thread as yet.

Videx
04-02-2012, 11:58 AM
The AdminCP defined one does show up on twitter when posted however no field on the new thread as yet.Make sure you're using the default vb style when troubleshooting something like this. And a test login wouldn't hurt.

Now that you've forced me to notice hashtags, I guess I'm going to have to enable them just to see how they work.

L4nti4n
04-02-2012, 02:33 PM
Hi Mosh,

I have some kind of hint on how to fix the problem with the special characters.
I'm running a german forum with your tweetposter installed (great plugin, thank you for it :) ), so it's very likely that ? ? or ? is included in the title of a topic. As I was getting sick of tweeting every second post manually, just because one of my Team members forgot about the fact, that special characters don't work, I had a look into the plugin code and guessed, that there might be something wrong with the encoding.

Long story short, all I've done was forcing the encoding of the title to UTF-8 in the "Thread to Twitter" Plugin.

That's how the bit of code looks on my end now:

if ((strlen($tweet) + strlen($newpost['title']) + $urlTagLength > 140) && (strlen($tweetDots) + $urlTagLength < 140))
//some more code here
} else {
$tweet .= utf8_encode($newpost['title']) . ' ' . $shortURL . ' ' . $hashtag_values;
}


Same thing in the part of the code I left out at that point. It might not be the best solution but it's working fine on my end. Maybe that'll help for any further version or anyone who has the same problem.

Regards,
L4nti4n.

PS: If you don't want the code to be posted like that, just tell me, I'll remove it then.

LouiseWilson
04-02-2012, 05:17 PM
Make sure you're using the default vb style when troubleshooting something like this. And a test login wouldn't hurt.

Now that you've forced me to notice hashtags, I guess I'm going to have to enable them just to see how they work.

Videx
Now you must think I'm stupid....... What makes you think I do not use the default VB to de bug all my issues..... Jumping the Gun I think.

and If the mod dev wishes a test login he can pm me.

Mosh
04-08-2012, 07:49 AM
Videx
Now you must think I'm stupid....... What makes you think I do not use the default VB to de bug all my issues..... Jumping the Gun I think.

and If the mod dev wishes a test login he can pm me.

Yes, if you can PM me temp administrator login details, then I will have a look at your installation for you.

Weeds
04-18-2012, 11:13 AM
Do i need to put the # every time?

What do i need to do if i want to post

#vb #theme #twitter

do i need , or space?

Mosh
04-18-2012, 11:44 AM
Do i need to put the # every time?

Yes

What do i need to do if i want to post

#vb #theme #twitter

do i need , or space?

A space, just like you posted.

Weeds
04-18-2012, 12:01 PM
I been posting without # all the time :D ok i guess i get more people now reading now

datoneer
05-08-2012, 10:05 AM
Question:

I think I have set up everything correctly, the thread and/or post is created with no issues, there are no errors, but nothing is posted to twitter. Help !!!

Answer:

On the Details tab of your Twitter Application (at https://dev.twitter.com), check the following:

Under the OAuth settings section, check Access level is set to Read and write not Read-only
Under the Your access token section, check Access level is set to Read and write not Read-only

This fixed my problem!! Thank you great mod!

TroyTrojansFan
05-12-2012, 05:22 PM
I'm using the modification and it is working fine as far as posting to Twitter. I am not using a URL shortening service. However the problem is that when I use to make new threads on my forums I would see a good increase in traffic as a result.

Now when I post threads there is no difference between the numbers of the who's online before and after making threads and posting to the Twitter service. It's like the traffic has dropped dramatically??

Any ideas of why that might be? Did Twitter ban me or something? :confused:

It seems this started around March 6-7th. I'm using the v4.0.003 version. :confused:

Videx
05-12-2012, 07:03 PM
If Twitter suspended you then you could tell right away because you wouldn't see your posts getting tweeted.

Maybe you installed some anti-bot software recently? Or something you have is just working better. Consider using a shortening service so you can count the actual clicks.

TroyTrojansFan
05-12-2012, 07:40 PM
I did install the GlowHost - Spam-O-Matic modification back a while ago. I can't remember exactly when but it might have been near that time. I just can't remember. I've disabled that and will see if that helps. Thanks for the ideas. :up:

TroyTrojansFan
05-12-2012, 08:37 PM
I just upgraded to the 4.0.6 version and it is working. I am not having any installation problems. I also disabled the Spam - O - Host modification to see if that was causing problems. It's a little early to tell right now if this fixed it or not.

Videx
05-12-2012, 10:05 PM
Be careful what you wish for. No question spammers and bots generate hits, but you make that sound like a Good Thing rather than a deal with the devil.

TroyTrojansFan
05-13-2012, 01:39 AM
I don't think the extra traffic was spammers and bots as I've been using the modification for quite a while now. I've at times gone through the who's online to see that they were using non-bot and spammer IP addresses and Internet providers. I also usually check the physical location of the IP address as well. Most overseas IP addresses for my forums are spammers, bots, and trolls. I had never made any comments that I thought spammers and bots were a good thing, I'm not sure what gave you that idea?

Are you suggesting that this modification is only good for attracting spammers and bots?

Finally, it looks like my providers server stats are messed up. They are not reporting right, in fact they are not reporting at all right now. Definitely very frustrating.

datoneer
05-29-2012, 05:17 PM
Can you please upgrade to 4.1.12

Gemma
05-29-2012, 05:32 PM
Can you please upgrade to 4.1.12

Works fine with 4.1.12 and 4.2

datoneer
05-29-2012, 05:45 PM
Hmm not for me

ru55ian
06-09-2012, 08:30 PM
awesome plugin, works great on 4.2

ultimategeek
06-24-2012, 05:37 PM
Well i wish i could get this to work :(
nothing happens no error message and no tweet.

i have everything done correct and i have checked to make sure i have
cURL with OpenSSL compiled into your php
JSON support compiled into your php
which i do and nothing, so any help would be great

Mosh
06-25-2012, 09:18 AM
Well i wish i could get this to work :(
nothing happens no error message and no tweet.

i have everything done correct and i have checked to make sure i have
cURL with OpenSSL compiled into your php
JSON support compiled into your php
which i do and nothing, so any help would be great

Try the answer to Question 4 in the FAQ section of the first post.

ultimategeek
06-27-2012, 09:58 AM
got it working now Mosh thank you :up:

Budabing
07-02-2012, 03:11 AM
OMG! I love it.:up: Donation coming your way soon :)

Just sent you a donation. Thank you for your work

prof3ta
07-03-2012, 03:35 PM
Super straightforward. Had no problems whatsoever and it took 30 minutes to do it. Thank you.

Videx
07-03-2012, 03:53 PM
Time to repeat an old feature request: Facebook integration.

I've used a couple different solutions - one stopped working suddenly for no apparent reason, and the other was like rocket science to set up and takes 5-6 hours for posts to appear.

SNATCH3R
07-03-2012, 05:10 PM
thanks...installed this wonderful mod and working perfect....

betterthanyours
07-03-2012, 07:42 PM
Installed it all and seems like there is no life on twitter. I posted a test thread and see nothing.

Any help on this or any way to test it?

CharlieDelta
07-03-2012, 07:54 PM
Time to repeat an old feature request: Facebook integration.

I second that request. :)
Come on Mosh.:D

autoescala
07-04-2012, 06:51 AM
I second that request. :)
Come on Mosh.:D

+1

Thank you very much to the creator, I love this mod, one of the best I see here... five star rating!!

IMMaster
07-05-2012, 09:30 PM
Hi
Is it possible to post the thread title taken from the Editor instead from the URL ?

Videx
07-06-2012, 12:54 AM
Hi
Is it possible to post the thread title taken from the Editor instead from the URL ?I don't understand the question. You can't Tweet from the editor; you have to post first. What would be the point?

autoescala
07-06-2012, 06:21 AM
I experience in these days that the poster only tweets some forums of my web, I dont understand why? I check the option tweet all forums! any idea ?

IMMaster
07-09-2012, 10:26 PM
Hi
I found after install the hack that in Arabic VB when the title is English it sends to twitter but if the title is Arabic it doesn't .
Do you have any solution?

KidHTML
07-15-2012, 04:58 PM
Just installed this great mod and everything is working on my forums end however the thread is not posting to my twitter account? Twitter is not allowing me to change the Read and Write feature, it goes right back to read only after saving?

Also what should go in the callback url field?

Thanks in advance!

KidHTML
07-15-2012, 05:15 PM
Forget my last post, I didnt give twitter time to refresh my app. Great mod man, A+ will donate!

cloferba
08-01-2012, 06:38 PM
Many users create new threads on my forum but the mod only tweet a few. Why this? for example, in the last hour, people have created 6 new threads.

Videx
08-01-2012, 11:04 PM
Many users create new threads on my forum but the mod only tweet a few. Why this? for example, in the last hour, people have created 6 new threads.You must have some forums excluded? Check your settings.

cloferba
08-02-2012, 02:59 PM
You must have some forums excluded? Check your settings.

No, there isn?t any forum excluded.

Videx
08-02-2012, 03:33 PM
Tried a different shortener, or none at all for testing? I dunno; in 4.2 I've got a couple private forums excluded, but otherwise everything seems to be okay via is.gd.

What's the Twitter link? Could you just have some of these filtered out of your twitter app?

datoneer
08-05-2012, 10:08 PM
Doesn't work on 4.2.0

Videx
08-06-2012, 12:15 AM
Doesn't work on 4.2.0Yes it does. This mod has little to do with vb versions, so unless some major internal change is made this should keep working. Works fine here in 4.2.0.

acast
08-09-2012, 09:18 PM
Many users create new threads on my forum but the mod only tweet a few. Why this? for example, in the last hour, people have created 6 new threads.I have the same problem. Did you solve it?

I am with 4.1.9. I dont know the reason that makes one thread goes to twitter or not, but i miss a lot of threads going to twitter, and i dont know why.

acast
08-11-2012, 12:50 PM
Tried a different shortener, or none at all for testing? I dunno; in 4.2 I've got a couple private forums excluded, but otherwise everything seems to be okay via is.gd.

What's the Twitter link? Could you just have some of these filtered out of your twitter app?I tried all the shorteners, and i still have the same problem. Is nothing to be with the excluded forums. It happens in the same forum. Sometimes, the threads go to twitter, sometimes don't.

acast
08-15-2012, 04:38 PM
I think i discover the reason why dont post so many threads to twitter: the characters. My forum is spanish, so most of them have ´in their titles, so it seems that it's the reason. Any idea of a solution?

ProFifaLeagues
08-15-2012, 09:02 PM
Working superb for us on 4.2 pl2 Thanks Mosh

Videx
08-16-2012, 12:21 AM
I think i discover the reason why dont post so many threads to twitter: the characters. My forum is spanish, so most of them have ?in their titles, so it seems that it's the reason. Any idea of a solution?Good point, at least for the non-English forums. The obvious first troubleshooting question: Can you tweet the exact same characters manually? What is the exact URL you connect to to do this?

I would assume so, but the author may have a difficult time reproducing the error himself if his is an English forum.

acast
08-16-2012, 10:47 AM
Good point, at least for the non-English forums. The obvious first troubleshooting question: Can you tweet the exact same characters manually? What is the exact URL you connect to to do this?

I would assume so, but the author may have a difficult time reproducing the error himself if his is an English forum.

Ok, i also have a manual tweet button in my forum, and the answer is Yes. I can tweet manually with spanish characters. I use the code spend it by twitter to do this:

https://twitter.com/about/resources/buttons

The one give it there to put in the showthread template.

nyenius
08-17-2012, 09:33 PM
Doesn't work on 4.2.0

Yes it does. This mod has little to do with vb versions, so unless some major internal change is made this should keep working. Works fine here in 4.2.0.

i'm using 4.2 and it works like a charm....

nyenius
08-17-2012, 11:17 PM
Oh btw, the hashtags didn't shown up on the tweets... is there any solving I've missed?

LouiseWilson
08-20-2012, 01:10 AM
I've been having some issue with this, from when I have moved host, I have the required things installed for this mod to work , and tried to debug but when I debug I get a null error at the top of the site any solutions to this ?

Mosh
08-20-2012, 10:49 AM
I think i discover the reason why dont post so many threads to twitter: the characters. My forum is spanish, so most of them have ?in their titles, so it seems that it's the reason. Any idea of a solution?

Try the answer to Question 16 in the FAQ section of the first post.

Mosh
08-20-2012, 10:50 AM
I've been having some issue with this, from when I have moved host, I have the required things installed for this mod to work , and tried to debug but when I debug I get a null error at the top of the site any solutions to this ?

Try the answer to Question 4 in the FAQ section of the first post.

Mosh
08-20-2012, 10:53 AM
Oh btw, the hashtags didn't shown up on the tweets... is there any solving I've missed?

There are only two things I can think of, you have either not done Step 5 of the install instructions or this hacks code has been altered in some way to prevent hash tags from being added.

acast
08-20-2012, 01:44 PM
Try the answer to Question 16 in the FAQ section of the first post.I missed that. Thankss.

In one of the link they said:



For me it worked out that utf8_encode not worked properly in some cases, so i built this workaround to create tweets (below there is an extract with the interesting elements):

[...]

//html_entity_decode needs the Encoding Parameter!

$tweet = strip_tags(html_entity_decode($title,ENT_QUOTES,"UTF-8"));

$tweet = trim($tweet); // may help

[...]

//Check encoding again

if (mb_detect_encoding($tweet, "auto") != 'UTF-8'){
$tweet = utf8_encode($tweet);
}

//TRANSLITERATION via iconv
//
// Important: Use setlocale!

if (function_exists('iconv') && tweet_use_translit === true) {
setlocale(LC_CTYPE, 'de_DE.utf8');
$tweet = @iconv('UTF-8', 'ASCII//TRANSLIT//IGNORE', $tweet);
}
[...]





That would work for me? Where i have to put that?

LouiseWilson
08-21-2012, 03:35 PM
thanks for the response Mosh, but the application is fine any other ideas ?

hype901
08-28-2012, 09:31 PM
This worked like a champ unlike others I tried!

LouiseWilson
08-30-2012, 04:46 AM
I'm still getting null when I'm trying to see what the issue is with this mod, can anyone see a problem with my twitter settings.

I've recreated a new application, but it seems to not work any longer it did when I first Installed it, then moved host then it stopped.

https://vborg.vbsupport.ru/external/2012/08/16.png

Videx
08-30-2012, 12:54 PM
If all it took was a move to a new host to stop it, I would first suspect some server security settings blocking things. If it's a shared server - or maybe even a vps - try contacting support. If it's your own server, try checking your security settings.

Also, don't use any shortening when testing.

LouiseWilson
08-30-2012, 02:05 PM
I've testing over and over again with firewall off, mod security etc etc all I'm seeing in the error logs are

[30-Aug-2012 12:29:41] CSRF state token does not match one provided.
[30-Aug-2012 12:42:42] CSRF state token does not match one provided.
[30-Aug-2012 12:54:55] CSRF state token does not match one provided.

I know it tries to connect with twitter as I tried the old user & password authentication to post to twitter which it would not allow for the obvious reasons, so I'm not being blocked
I'm just out of Ideas now

hype901
08-31-2012, 08:06 PM
Installed the application a few days ago. It has been working GREAT up until 7-8 hours ago when it just stopped posting new threads or replies to threads. Unsure what has happened because I have changed no settings. Anyone else having issues with it today?

LouiseWilson
09-13-2012, 12:33 PM
Seems like the errors in the log are nothing to do with this mod, as I've been investigation

When enabling
vBulletin 2 Twitter: Test/Debug Module 2
I get a 200 parseerror and a NULL at the top of the forum still, anyone else got any Ideas ?

Videx
09-13-2012, 02:48 PM
I'm no expert but I tried a quick Google search on "200 parseerror" and it looks like a problem with JSON. If this isn't your own server I would suggest contacting your host's tech support. Maybe contact them anyway just to see if they have any ideas.

Sorry if you've already tried this but I just glanced back at your last few posts and I don't see any mention of it or if it's a shared server or what.

steeler7
09-17-2012, 01:35 PM
43 pages is alot. i went through and searched for this topic but no dice.

I set up a bit.ly account and entered the username and API. I created a thread and it went out to Twitter but there was no link attached to the Tweet as there was when I used the "is.gd".

any ideas?

Videx
09-17-2012, 02:01 PM
The most obvious idea is: Don't use bit.ly. Something a lot of us learned long ago. Nothing but trouble.

steeler7
09-17-2012, 11:19 PM
The most obvious idea is: Don't use bit.ly. Something a lot of us learned long ago. Nothing but trouble.

i've been using the other option but it seemed to me that "bit.ly" shortened links were more prominent on Twitter than the "is.gd" so I was shooting for using something that may look more credible. Unfortunately all I'm getting where the URL is, is the word "Array"

sivaganeshk
09-21-2012, 03:46 AM
Thanks and working in vb 4.2

Marked Installed, tagged, Nominated :)

RichieBoy67
09-25-2012, 04:47 PM
Great work! I have wanted something like this for awhile.

I have it installed and have everything set up, my server has the correct components. I am getting nothing in twitter and when I tried to use the debug plug in I cannot even access the page to see the results.

I have the url set to not shorten at all and I am not using the seo url option because I have Vbseo installed. Is Vbseo the problem? If so is there a work around?

I believe my settings are correct. The two options for read and write are both set.

Can anyone help me figure this out?

Thanks,
Rich

I am able to run the second debugger and I am getting this..


object(stdClass)#13 (2) { ["error"]=> string(34) "Could not authenticate with OAuth." ["request"]=> string(23) "/1/statuses/update.json" }

Read more: http://###########.com/forum.php#ixzz27VRzYpfc-----

The token is now set as read,write,direct--I was trying just read and write before..I am searching the thread now in case someone else has had the same error but if anyone is familiar please let me know.. :)

sivaganeshk
09-25-2012, 05:00 PM
I use vbseo and has is.gd settings. it is working fine in vb 4.2.0

Although the plugin doesn't post new tweet if the threads are in moderation queue and approved later.

RichieBoy67
09-25-2012, 05:23 PM
I have it working now finally. I redid the application and entered everything and now it is working.. Cool..

Also, as for the read and write settings.. It is Read,Write and Direct Messages--not just read write? Is this correct?

Thanks guys!! Siv, I will try using that..thanks dude!

KaitenV
10-03-2012, 12:26 PM
Is there support for threads via rss to be posted to twitter. I have it adding threads posted regularly, but the posts made from rss feeds are not added to twitter.

Videx
10-03-2012, 04:13 PM
No, it has something to do with the way VB creates posts. Only a human made post behaves the right way to get tweeted.

Which may not be a bad thing, because if you're getting the post from someone else's RSS feed then it's probably not ethical or legal for you to be (re)tweeting it anyway.

KaitenV
10-04-2012, 08:31 PM
No, it has something to do with the way VB creates posts. Only a human made post behaves the right way to get tweeted.

Which may not be a bad thing, because if you're getting the post from someone else's RSS feed then it's probably not ethical or legal for you to be (re)tweeting it anyway.

All of the posts are perfectly legal. Hopefully support for rss post will be added soon.

biocyberman
10-08-2012, 08:03 PM
I could not make bitly.php work for me. Switching to is.gd works perfectly. Is there any security advantages to use bitly.com ?

sticky
10-08-2012, 09:37 PM
Does this mod support multiple accounts? For example OT posts/threads tweeted to an OT Twitter count and other forum posts that are on topic to a separate account?

Fongool
10-11-2012, 11:57 PM
Ok, I installed this on Vbulletin 4.2. I wasn't getting the Twitter posts after posting in the Forum. I checked the Debug Mods 1 & 2 separately.

Here are the results:

vBulletin 2 Twitter: Test/Debug Module 1

Parse error: syntax error, unexpected '@', expecting ')' in /home/liquids/public_html/includes/class_bootstrap.php(103) : eval()'d code on line 12

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at [path]/includes/class_bootstrap.php(103) : eval()'d code:12) in [path]/includes/facebook/facebook.php on line 37

Fatal error: Call to a member function show_chatbox() on a non-object in /home/liquids/public_html/mgc_cb_evo/plugins/parse_templates.php on line 11

vBulletin 2 Twitter: Test/Debug Module 2

Parse error: syntax error, unexpected '@', expecting ')' in /home/liquids/public_html/includes/class_bootstrap.php(103) : eval()'d code on line 12

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at [path]/includes/class_bootstrap.php(103) : eval()'d code:12) in [path]/includes/facebook/facebook.php on line 37

Fatal error: Call to a member function show_chatbox() on a non-object in /home/liquids/public_html/mgc_cb_evo/plugins/parse_templates.php on line 11

Videx
10-12-2012, 12:32 AM
/home/liquids/public_html/mgc_cb_evo/plugins/parse_templates.php on line 11 ...
/home/liquids/public_html/mgc_cb_evo/plugins/parse_templates.php on line 11So does it work if you disable the MGC chatbox? Is your MGC updated? Have you searched this mod for previous experiences with MGC?

Fongool
10-14-2012, 08:52 PM
Still doesn't work even with MGC Chat disabled. I believe the chat was updated, I received an email telling me there was an update available. But I have it disabled and it still will not post to Twitter. I have it set to not use any link shorteners. and to tweet when creating a new thread, but it doesn't...Any help would be appreciated.

Thanks

F

Mr Morningstarr
11-18-2012, 03:49 PM
I get an error when trying to import saying OpenSSL isn't installed. But it is.

Nirjonadda
02-10-2013, 06:59 PM
With Thread Prefix when creating new thread not working ? Only work when creating new reply,How to fix on this issue?

SpottySocks
02-12-2013, 08:06 PM
Question 8:

My threads and posts are created with no error messages, but no tweets are posted..... how can I check that I if this hack is working?

Answer:

To test to see if it is working, there are two diagnostic plugins available to test the functionality on the Twitter side of things (and are disabled by default):

vBulletin 2 Twitter: Test/Debug Module 1 - which tests to see if you are actually authenticating with Twitter
vBulletin 2 Twitter: Test/Debug Module 2 - tests to see if your Twitter Application is set to "Read & Write"

In the AdminCP, select Plugins & Products -> Plugin Manager. Enable the above plugins one by one, follow the instructions to change the userid to your userid and copy and post the responses for both plugins (displayed at the top of the page on your forum when you refresh the page) in this thread (be sure to indicate which response is from which plugin) and then I can see what is going on.

NOTE: Remember to disable both the plugins again once you are done, as they are only included for diagnostic purposes.

I just done this.....

Module 1:

string(24)

Module 2: object(stdClass)#12 (2) { ["request"]=> string(23) "/1/statuses/update.json" ["error"]=> string(22) "Status is a duplicate." }

Can anyone help please?

I think I have followed everything as I should have but it still doesn't work... =/

SpottySocks
02-13-2013, 03:51 PM
I just done this.....

Module 1:

string(24)

Module 2: object(stdClass)#12 (2) { ["request"]=> string(23) "/1/statuses/update.json" ["error"]=> string(22) "Status is a duplicate." }

Can anyone help please?

I think I have followed everything as I should have but it still doesn't work... =/

Just had this error when went to submit a reply to a thread:

{"errorCode": 0, "errorMessage": "", "results": {"http://www.friendscircle.co.uk/showthread.php?13143-Odd-problem-when-loading-the-forum": {"userHash": "X2Z50M", "shortKeywordUrl": "", "hash": "X2Z50N", "shortCNAMEUrl": "http://bit.ly/X2Z50M", "shortUrl": "http://bit.ly/X2Z50M"}}, "statusCode": "OK"}Invalid JSON-response on line 196 in /home/friendsc/public_html/includes/bitly.php
#0 /home/friendsc/public_html/includes/bitly.php(382): Bitly->doCall('shorten', Array)
#1 /home/friendsc/public_html/newreply.php(936) : eval()'d code(40): Bitly->shorten('http://www.frie...')
#2 /home/friendsc/public_html/newreply.php(936): eval()
#3 {main}


Fatal error: Invalid JSON-response on line 196 in [path]/includes/bitly.php in [path]/vb/vb.php on line 286
#0 vb_error_handler(256, Invalid JSON-response on line 196 in /home/friendsc/public_html/includes/bitly.php , /home/friendsc/public_html/vb/vb.php, 286, Array ([exception] => BitlyException Object ([] => Invalid JSON-response,[] => ,[] => 0,[] => /home/friendsc/public_html/includes/bitly.php,[] => 196,[] => Array ([0] => Array ([file] => /home/friendsc/public_html/includes/bitly.php,[line] => 382,[function] => doCall,[class] => Bitly,[type] => ->,[args] => Array ([0] => shorten,[1] => Array ([longUrl] => http://www.friendscircle.co.uk/showthread.php?13143-Odd-problem-when-loading-the-forum,[history] => 1))),[1] => Array ([file] => /home/friendsc/public_html/newreply.php(936) : eval()'d code,[line] => 40,[function] => shorten,[class] => Bitly,[type] => ->,[args] => Array ([0] => http://www.friendscircle.co.uk/showthread.php?13143-Odd-problem-when-loading-the-forum)),[2] => Array ([file] => /home/friendsc/public_html/newreply.php,[line] => 936,[function] => eval)),[] => ),[code] => 256)) #1 trigger_error(Invalid JSON-response on line 196 in /home/friendsc/public_html/includes/bitly.php , 256) called at [/home/friendsc/public_html/vb/vb.php:286] #2 vB::handleException(BitlyException Object ([] => Invalid JSON-response,[] => ,[] => 0,[] => /home/friendsc/public_html/includes/bitly.php,[] => 196,[] => Array ([0] => Array ([file] => /home/friendsc/public_html/includes/bitly.php,[line] => 382,[function] => doCall,[class] => Bitly,[type] => ->,[args] => Array ([0] => shorten,[1] => Array ([longUrl] => http://www.friendscircle.co.uk/showthread.php?13143-Odd-problem-when-loading-the-forum,[history] => 1))),[1] => Array ([file] => /home/friendsc/public_html/newreply.php(936) : eval()'d code,[line] => 40,[function] => shorten,[class] => Bitly,[type] => ->,[args] => Array ([0] => http://www.friendscircle.co.uk/showthread.php?13143-Odd-problem-when-loading-the-forum)),[2] => Array ([file] => /home/friendsc/public_html/newreply.php,[line] => 936,[function] => eval)),[] => ))

SpottySocks
02-13-2013, 09:10 PM
OK I've fixed it mostly, and got it working.

Only problem now is..... Even though I have selected 'YES' to both -

'Enable vBulletin to post to twitter when creating a new thread?'
and
'Enable vBulletin to post to twitter when posting a new reply?'

It is only giving links to replies on Twitter - not new threads!!!

Help please? I'm pulling my hair out here....

wolfman069
02-16-2013, 12:23 PM
i love this mod works great and since im new to twitter this mod made my life easier with it.

keyla31
02-18-2013, 10:03 PM
this is just an amazing MOD, and I so love it, it wil lactually make me money for sure, thank you so much

Lightmaster-AH
02-22-2013, 11:35 AM
Excellent,

works without any problems on my 4.2.0!

Thanks for this and have a nice day!

Mopar1973Man
02-22-2013, 05:04 PM
Tagged and installed... Works just like you designed it too. :D

Spangle
03-03-2013, 12:44 PM
This is one that seems to work, now has he done one that will post to our Facebook page ?

Simon Lloyd
03-03-2013, 08:41 PM
This is one that seems to work, now has he done one that will post to our Facebook page ?

You could simply use graffitti or such like provided by Facebook to post rss feed to your wall ..etc

Videx
03-03-2013, 11:20 PM
I managed to get our FB posts working but "simple" wasn't the word for it. More like true "rocket science". And it's delayed sometimes by several hours. I wish I could remember exsctly what I used so I could recommend trying anything else. But I think my mind has blocked out the whole disagreeable affair.

Delfi_r
03-04-2013, 08:53 PM
Working on v4.20

Spangle
03-10-2013, 04:24 PM
Can someone help me figure this out ?

Talk Of The Terrace ‏@Tlkoftheterrace

Re: Celtic Go Down To Ross County 10/3/2013 16:09:35 Array

Thats what I am tweeting, not a link back to the thread, have I got the settings wrong?

Videx
03-10-2013, 04:40 PM
... Thats what I am tweeting, not a link back to the thread, have I got the settings wrong?That's pretty unclear. Are you saying all your tweets work fine except when something there is included?

In general, to troubleshoot you want to disable url shortening, and make sure you can tweet from the account manually.

Spangle
03-10-2013, 07:21 PM
That's pretty unclear. Are you saying all your tweets work fine except when something there is included?

In general, to troubleshoot you want to disable url shortening, and make sure you can tweet from the account manually.

Thanks for the heads up, disabled URL shortening and it worked.

Delfi_r
03-11-2013, 09:23 AM
I think i discover the reason why dont post so many threads to twitter: the characters. My forum is spanish, so most of them have ?in their titles, so it seems that it's the reason. Any idea of a solution?

I have the same problem. There is any update on it? Bit.ly can post to twitter directly the missing posts.

Weeds
03-16-2013, 01:53 PM
Anybody know the settings for not get the Vbulletin forum to send out tweets when the post are moderated.

Videx
03-16-2013, 04:45 PM
Anybody know the settings for not get the Vbulletin forum to send out tweets when the post are moderated.I think I remember some brief discussion about this a long time ago, but I don't recall that anyone ever made it work. But you can try reading/searching the whole thread.

It may be more of a Feature Request for a future version, but I think it would need different hooks in the vb core to make it work.

Weeds
03-23-2013, 04:55 AM
Yes it is a big problem since the tweets are sent out even if the posts are not shown in the forum they link back to a empty page in the forum. People think my tweet account is hacked.

Videx
03-23-2013, 04:26 PM
Possible workarounds?
*) Exclude that forum from tweets.
*) Change the text on the empty page message to explain what's going on.
*) Stop moderating posts. Lots of trouble anyway.

bhalkum
05-10-2013, 10:21 PM
Works great. I do have a question though.

My community is a joint venture by several sites. Anyway to get multiple Twitter account support? Say I want forum 1,3,6 to post to Twitter A, while forum 2,4 post to Twitter B, and so on.

RFLIndustries
05-17-2013, 09:58 PM
I have it installed. but nothing is ever sent to twitter.

I have it set to read, write and direct message

any ideas?

Ross L
05-25-2013, 07:22 PM
I cannot seem to get this to work. I have run the diagnostic plugins, and both come back with the result "NULL".

Any ideas on how to resolve this?

Thanks in advance.

Videx
05-27-2013, 02:12 PM
To both previous: Just remember two things when setting up for the first time.
Make sure you can tweet manually.
Don't try to use any shortening until it's working well.

m13
06-13-2013, 12:47 AM
@episod Taylor Singletary
Posted on Tue, 2013-06-11 15:19

Today, we are retiring API v1 and fully transitioning to API v1.1. Given the array of blackout tests, blog posts, Tweets and other updates, this should (hopefully) not be a surprise. Before I get into the slew of resources available for you, let me first say thank you for your cooperation over the last several months.

Based on the blackout tests and looking at the numbers, we can see that the vast majority of applications have transitioned to API v1.1. If you still have not updated your app and you want people to be able to continue using it, it’s not too late! Documentation is available here.

Additionally, here are other resources that we’ve pulled together to help make this transition more smooth:

FAQ: What does API v1 Retirement entail?
API v1.1 Overview
Embedded Timelines Documentation

We’re excited to bring this process to a close and to continue building a strong platform & ecosystem on API v1.1 and to make it even more valuable for you.

hey Mosh u have time migrate this plugin to new api? this community will greatly appreciate it.

Videx
06-13-2013, 02:10 AM
OMG is that why Trillian isn't connecting to Twitter today? a "point" release that breaks all prior versions???

Mosh clearly doesn't get around here much, so if this has stopped working we might be in big trouble. Maybe someone can track him down at his own forum. If nothing else, at least maybe convince him to mark this code "reusable" so someone else can fix it.

PS Confirmed broken. I see no tweets from my forum since yesterday though there have been new threads posted. :(

m13
06-13-2013, 02:34 AM
OMG is that why Trillian isn't connecting to Twitter today? a "point" release that breaks all prior versions???

Mosh clearly doesn't get around here much, so if this has stopped working we might be in big trouble. Maybe someone can track him down at his own forum. If nothing else, at least maybe convince him to mark this code "reusable" so someone else can fix it.

PS Confirmed broken. I see no tweets from my forum since yesterday though there have been new threads posted. :(

I sent a message to Mosh and do the same message, to update this excellent plugin and whether to donate to the person to do the update, I'll be the first to make my donation. and yes, this is not working today! hope some coder who can do the job and also give back through donations.

l0l4s0
06-13-2013, 02:39 AM
is confirmed, the plugin from the day yesterday stopped working on my forum, please someone make update the creator so I too would make my donation to this worthy cause.

rwoscott
06-13-2013, 04:23 AM
OMG is that why Trillian isn't connecting to Twitter today? a "point" release that breaks all prior versions???

Mosh clearly doesn't get around here much, so if this has stopped working we might be in big trouble. Maybe someone can track him down at his own forum. If nothing else, at least maybe convince him to mark this code "reusable" so someone else can fix it.

PS Confirmed broken. I see no tweets from my forum since yesterday though there have been new threads posted. :(

I thought it was just me.

rwoscott
06-13-2013, 04:33 AM
Don't think Mosh will be supporting this anytime soon

This is in his sig:
As of 1/4/2013, due to medical reasons I no longer support my vbulletin.org hacks nor do Paid Work Requests.

Get well soon Mosh!!

Anyone else able to migrate this???

QFIT
06-13-2013, 05:12 PM
You can get the two updated OAUth modules from https://github.com/abraham/twitteroauth/tree/master/twitteroauth

Place them in includes\twitteroauth.

Also, in the vBulletin 2 Twitter: Thread To Twitter plugin, you will see four lines near the end as follows:

// if ($twitterApiLimitCheck->remaining_hits > 0)
// {
$twitter->post('statuses/update', array('status' => $tweet));
// }

Comment the three lines out as I have above.

Warning, I do not know PHP. I just guessed that this would work, and it does.

m13
06-13-2013, 06:26 PM
hi QFIT I have done what you have stated in your post and I have not worked. Maybe you did something more or not?

Simon Lloyd
06-13-2013, 06:30 PM
do you have cURL enabled on your server?

m13
06-13-2013, 06:36 PM
Simon Lloyd Yes CURL is Enable in my server everytime.

m13
06-13-2013, 07:12 PM
Nice Work again! Thank very Much QFIT I reinstall the new files and modifying with your steps and now it works, at first I worked for was editing across the plugin, now it works, Thank you!

rwoscott
06-13-2013, 09:05 PM
You can get the two updated OAUth modules from https://github.com/abraham/twitteroauth/tree/master/twitteroauth

Place them in includes\twitteroauth.

Also, in the vBulletin 2 Twitter: Thread To Twitter plugin, you will see four lines near the end as follows:

// if ($twitterApiLimitCheck->remaining_hits > 0)
// {
$twitter->post('statuses/update', array('status' => $tweet));
// }

Comment the three lines out as I have above.

Warning, I do not know PHP. I just guessed that this would work, and it does.

Thanks.
Will give it a try tonight!!

Videx
06-14-2013, 02:02 AM
... Warning, I do not know PHP. I just guessed that this would work, and it does.Not for us. No tweets have gone out since I did this, though a manual tweet just worked. Also, when my co-admin tried to "check the box to post simultaneously to facebook", he was taken to the github page for oauth.

rwoscott
06-15-2013, 01:26 AM
Not for us. No tweets have gone out since I did this, though a manual tweet just worked. Also, when my co-admin tried to "check the box to post simultaneously to facebook", he was taken to the github page for oauth.

Mine didn't work either.
I was taken to the this page: https://github.com/abraham/twitteroauth/blob/master/twitteroauth/twitteroauth.php
but with the new thread url.

Simon Lloyd
06-15-2013, 07:04 PM
Hey guys, mine took 24hrs but is now posting again!

Videx
06-16-2013, 12:44 AM
Not ours. Still nothing. Almost fooled me though when my co-admin manually tweeted a thread, but it wasn't shortened and he admits to doing it manually.

vinkenier
06-17-2013, 12:20 PM
I also made the changes but still not posting. Has anybody a working solution? using vb4.2.1

djawir
06-17-2013, 01:21 PM
work on my forum vb 4.1.12

Robru
06-19-2013, 06:41 AM
You can get the two updated OAUth modules from https://github.com/abraham/twitteroauth/tree/master/twitteroauth

Place them in includes\twitteroauth.

Also, in the vBulletin 2 Twitter: Thread To Twitter plugin, you will see four lines near the end as follows:

// if ($twitterApiLimitCheck->remaining_hits > 0)
// {
$twitter->post('statuses/update', array('status' => $tweet));
// }

Comment the three lines out as I have above.

Warning, I do not know PHP. I just guessed that this would work, and it does.Works perfect, many thanks!! :)

rwoscott
06-19-2013, 08:33 AM
Not for us. No tweets have gone out since I did this, though a manual tweet just worked. Also, when my co-admin tried to "check the box to post simultaneously to facebook", he was taken to the github page for oauth.

Mine now works.
Not sure if you've done the same thing I did, but my attempt to download the two twitteroath files failed. I ended up with a HTML code of the page instead of the php code.
i copied and pasted the php code into the 2 files and it now works.

Thanks QFIT

Jaggee
06-19-2013, 09:06 AM
Worked for me when I used http://example.com/forum/ but after I changed to https://example.com/forum/ it stopped working. I have SSL certificate.

Any help?

nick-harper
06-20-2013, 03:15 PM
I have just tried but it takes me to the github page :(

nick-harper
06-20-2013, 03:18 PM
Fixed it, make sure you copy and paste the raw code from github rather than right clicking and saving.

:)

Videx
06-20-2013, 03:41 PM
Fixed it, make sure you copy and paste the raw code from github rather than right clicking and saving.

:)Are you saying the file names are different? What should it/they be?

Naijasite
06-20-2013, 07:42 PM
its not working anymore. it does not post to twitter anymore.

Videx
06-20-2013, 08:25 PM
its not working anymore. it does not post to twitter anymore.You really aren't paying attention. :)

But I just confirmed that a right-click save saves some odd HTML file, not the correct PHP file. So I've copied and pasted and re-enabled the mod. I'll post back if it's working.

Edit: Yes, it's working and no redirects to github.

theoutlawed
06-21-2013, 07:23 PM
I tried to get it to work just making changes. That wasn't good enough. When I finally realized I should just make a new app on Twitter Dev, it worked flawlessly.

So for those still having issues after the great updates provided in the last page or two, try it with a brand new app (not just editing) and you will hopefully get better results.

CharlieDelta
06-22-2013, 12:36 PM
Thanks for posting the fixes everyone. It took about 24 hours but is now posting again.

theoutlawed
06-25-2013, 12:24 PM
I did the same process from the other day on my racing forum now to the offroading forum, but not getting the same results.. I made the 2 auth file changes, commented out the code, and setup a new app just for the sake of argument.

Last time it worked instantly. Posted a thread 30 seconds later and it was good. This time, nothing.

Strange as hell since they've both on the same dedicated server and running similar builds of plugins and whatnot.

addamroy
06-25-2013, 12:41 PM
Not quite understanding how to get this working again after reading the last couple pages of this thread.

I'm using 4.2.1, and this mod isn't posting to twitter anymore.

What exactly do I need to do to get this working??

theoutlawed
06-25-2013, 12:42 PM
So I cleared the tokens a second time in the new app, presto.. So strange.

theoutlawed
06-25-2013, 12:44 PM
Not quite understanding how to get this working again after reading the last couple pages of this thread.

I'm using 4.2.1, and this mod isn't posting to twitter anymore.

What exactly do I need to do to get this working??

go back a page, follow the post with the github link.
update those 2 files.
go into your plugins settings (not manage, the one where you can edit stuff) and comment out the 3 lines mentioned.

if that's not enough i ended up.
making a new twitter app
connecting vbulletin to the new app

Naijasite
06-25-2013, 09:10 PM
i made all the changes stated above its still not posting to twitter for vb 4.2.1

Delfi_r
06-25-2013, 09:22 PM
You are sure that there are not special characters in the title?

I'm using it on v4.21 and it's working on plain title posts

addamroy
06-26-2013, 12:07 AM
go back a page, follow the post with the github link.
update those 2 files.
go into your plugins settings (not manage, the one where you can edit stuff) and comment out the 3 lines mentioned.

if that's not enough i ended up.
making a new twitter app
connecting vbulletin to the new app

Worked like a charm.

Spangle
06-28-2013, 07:52 PM
i made all the changes stated above its still not posting to twitter for vb 4.2.1

I'm having the same problems,

Plus I get error messages and duplicate post warnings.

Videx
06-29-2013, 12:32 AM
I'm having the same problems,

Plus I get error messages and duplicate post warnings.That's pretty vague. What error messages and from whom? What warnings and from where? Was yours working before the recent oauth change?

GamerPerfection
06-29-2013, 11:06 AM
I haven't made any changes to my site on 4.2.1 but this mod seems to have stopped working. It no longer tweets?

Spangle
06-29-2013, 12:31 PM
That's pretty vague. What error messages and from whom? What warnings and from where? Was yours working before the recent oauth change?

I've applied the changes to the Oauth file as recommended in this thread.

The MOD isn't posting to Twitter.

The Error I get refers to lines in the OAuth File, Line 150 and Line 15

This was the last auto tweet MOD that worked, so it's a big disappointment that it has stopped working for 4.2.1.


I badly need MODs that will auto tweet, and post to Facebook page, and I'm confident I'm not the only one.

Videx
06-29-2013, 03:12 PM
I haven't made any changes to my site on 4.2.1 but this mod seems to have stopped working. It no longer tweets?Pay attention. Read the last page or two.

The Error I get refers to lines in the OAuth File, Line 150 and Line 15Sounds like what I was getting when I downloaded the new oauth files instead of copying and pasting. Verify the files are actually PHP files and not HTML (first line: "<?php").

Spangle
06-29-2013, 07:48 PM
Pay attention. Read the last page or two.

Sounds like what I was getting when I downloaded the new oauth files instead of copying and pasting. Verify the files are actually PHP files and not HTML (first line: "<?php").


I did copy and paste, and the files begin how you say.

I can't see that it is working, just set up two posts and nothing is being tweeted

Mosh
06-30-2013, 12:26 AM
As this is my final day as a coder with the vBulletin community (today is the last time I will be on the forum.... and I am leaving the vBulletin community entirely due to medical reasons and have realised there is more to life than this), I thought I would take the time to update my most popular hack for vBulletin 4.

Update: v4.1.0
-- Updated: Installation/Upgrade/Removal Instructions file
-- Updated: OAuth.php & twitteroauth.php files to use the new Twitter API 1.1 (old API 1.0 no longer works)
-- Removed: all references to "account/rate_limit_status", as this has been removed from the Twitter API 1.1
-- Removed: Two plugins to aid in diagnosing problems with this hack (as I no longer support this hack, and have now left the vBulletin community)

Remember, it is now up to you the members to support each other.

Videx
06-30-2013, 01:19 AM
Thanks tons for everything Mosh, and especially in the end marking this as Reusable Code.

Sorry to hear this is your last time on the forum because I neglected to ask you about the spiders list - I mean, I wonder if anyone is planning to take that over? It's been very helpful the last few years. And I don't even think it's a 'mod' per se - just a very useful file.

Spangle
06-30-2013, 08:17 AM
Thanks for a great MOD Mosh, and thanks again for not deserting it before updating and getting it to work once more.

I hope that your medical problems are not too serious and that you return to full health in the not too distant future.
You are right,there is more to life than sitting in front of a keyboard all day, enjoy it.

studify
06-30-2013, 11:56 AM
Great work, and thank you for updating.

All the best for your health and future!

CoZmicShReddeR
06-30-2013, 06:49 PM
Great job on the update thanks! Thought I had this installed guess last time I updated my website I forgot to re-add it! Thanks again and good luck to you!

HCHQ
07-01-2013, 07:42 AM
Thanks for the update, much appreciated. My problem is the link isn't working. When I click the link it uses my URL twice:

http://www.forum.thehealthcloud.co.uk/http://www.forum.thehealthcloud.co.uk/showthread.php?131-Benefits-of-turmeric

Videx
07-01-2013, 01:06 PM
Thanks for the update, much appreciated. My problem is the link isn't working. When I click the link it uses my URL twice:

http://www.forum.thehealthcloud.co.uk/http://www.forum.thehealthcloud.co.uk/showthread.php?131-Benefits-of-turmericThat sounds familiar, I suspect I may have even had the problem myself. But I can't remember it now and all attempts to "search this thread" are coming up blank right now. If you find the solution earlier in the thread, repeat it please.

Simon Lloyd
07-01-2013, 02:15 PM
That sounds familiar, I suspect I may have even had the problem myself. But I can't remember it now and all attempts to "search this thread" are coming up blank right now. If you find the solution earlier in the thread, repeat it please.

Not you but someone else posted a fix here https://vborg.vbsupport.ru/showpost.php?p=2273702&postcount=553

Videx
07-01-2013, 04:24 PM
Not you but someone else posted a fix here https://vborg.vbsupport.ru/showpost.php?p=2273702&postcount=553OMG Yet another Bit.ly problem. I really don't see the fascination with bit.ly and use is.gd myself. Much less hassle.

Simon Lloyd
07-01-2013, 05:34 PM
Im still using tinyurl with no issues!

Delfi_r
07-01-2013, 05:53 PM
Thanks for the needed update, and good luck with all your life projects. Thanks a lot for bringing this one.

HCHQ
07-02-2013, 06:56 AM
Tried tinyurl and I still have the same problem :( Someone please help!

Videx
07-02-2013, 10:52 AM
Tried tinyurl and I still have the same problem :( Someone please help!So did you check the solution you were just given above (https://vborg.vbsupport.ru/showpost.php?p=2273702&postcount=553)? Now that you've made me read it more carefully I see it may have nothing to do with bit.ly.

If you have, then I wonder if it's working with no shortening? With is.gd?

HCHQ
07-02-2013, 12:28 PM
Ah, didn't really understand it at first but I removed the forum component URL and it's working now. Thanks for your help :)

Liff
07-02-2013, 12:43 PM
Thanks very much for a great a great mod and I would love to be able to leave it on now that I've got it to work.

Sadly, we have a large Twitter following and sadly some untrustworthy (And drunk!) members who would abuse the facility.

I may have missed this over the 50 pages so far, but is it possible to limit this to usergroups or to only tweet threads with a specific thread prefix (as I think you can limit those to usergroups?)

Or, to simplify.. Is there any way to choose which threads you'd like to tweet once they are open?

Sorry for the questions and thanks in advance to anyone kind enough to reply.

Videx
07-02-2013, 03:45 PM
Is there any way to choose which threads you'd like to tweet once they are open?As I recall there isn't a lot of choices with the mod itself; you really have to rely on usergroups. But there hasn't been a lot of discussion here lately so something better may be buried from years ago.

Please report back and let us know what you can find, or install it and try it and see what you can do.

We consider abuse a rule breaker and would quickly penalize the perpetrator. Maybe kick them to a subgroup like Banned Users for a while.

Simon Lloyd
07-02-2013, 05:00 PM
Later on when work has settled down i'll look at adding usergroup selection to this and post it here.

Liff
07-02-2013, 05:05 PM
As I recall there isn't a lot of choices with the mod itself; you really have to rely on usergroups. But there hasn't been a lot of discussion here lately so something better may be buried from years ago.

Please report back and let us know what you can find, or install it and try it and see what you can do.

We consider abuse a rule breaker and would quickly penalize the perpetrator. Maybe kick them to a subgroup like Banned Users for a while.

Thanks for the advice, Videx.

We run as libertarian a forum as we can and you'd pretty much need to kill someone to get banned :D

This Mod isn't a million miles away from what I want, except it posts to an individuals Twitter account rather than the forums.

https://vborg.vbsupport.ru/showthread.php?t=242425

I'm not even as skilled a coder to claim to be a novice and I appreciate it's too much to ask someone to carry out this level of mod for me, but I'll plod along and try some stuff to see if I can fluke success and if anyone else is interested and has the skills to complete it and then share then all the better :)

Liff
07-02-2013, 05:06 PM
Later on when work has settled down i'll look at adding usergroup selection to this and post it here.

What great timing - Thanks very much Simon and I'll look forward to your work settling down and if you get a chance to add that then it would be great :)

Simon Lloyd
07-02-2013, 05:20 PM
Ok, i've knocked something up, those of you wishing to beta test the new xml with usergroup selection then send me a pm - i haven't had time to test because im at work so you'll be my guinea pig, if all is well then i'll post it here and contact Mosh and see if he'll upload it to the main post.

In this version i've made it so that selected usergroups CANNOT use the twitter app at all!

Simon Lloyd
07-03-2013, 05:06 PM
Thanks to Liff who has just offered to beta test the usergroup amedment, anyone else want to test just pm me.

Spangle
07-03-2013, 08:23 PM
Thanks very much for a great a great mod and I would love to be able to leave it on now that I've got it to work.


Sadly, we have a large Twitter following and sadly some untrustworthy (And drunk!) members who would abuse the facility.

I may have missed this over the 50 pages so far, but is it possible to limit this to usergroups or to only tweet threads with a specific thread prefix (as I think you can limit those to usergroups?)

Or, to simplify.. Is there any way to choose which threads you'd like to tweet once they are open?

Sorry for the questions and thanks in advance to anyone kind enough to reply.

The way I work it is to use the forum selection in the settings, I have hidden forums that only Admin and Mods use, these are the only one that are tweeted.

Hope this helps

Videx
07-03-2013, 10:53 PM
I have hidden forums that only Admin and Mods use, these are the only one that are tweeted.I think you may have misspoke? What would be the point of publicly tweeting your hidden forums?

Of course I have our admin forums disabled from tweeting. But this is what we already said - using usergroups to limit tweets by limiting access to certain forums. Not quite the same thing as being able to directly assign usergroups to tweet (or not).

Black Tiger
07-04-2013, 10:44 PM
Ik hope somebody can help me. I have disabled hash tags, but do use bit.ly. I already had an app running from another tweet post thing and used those codes and keys, which should be fine.

Installed the mod as should be, but when I start a new thread, this error appears:
{"errorCode": 0, "errorMessage": "", "results": {"http://www.myforums.org/board/showthread.php?t=14483": {"userHash": "1xxxx", "shortKeywordUrl": "", "hash": "1baPagj", "shortCNAMEUrl": "http://bit.ly/1xxxx", "shortUrl": "http://bit.ly/1xxxx"}}, "statusCode": "OK"}

I cloaked my forum url and the bit.ly url a bit.
I'm running 3.8.7.

What am I doing wrong, how can I fix this?

Black Tiger
07-04-2013, 10:59 PM
Seems the problem lies within the bit.ly support.
When I disable that and set it to "is.gd" then it works, but it's only showing the thread title of a new thread.
No text at all.

Is there a way to fix both problems?

Videx
07-05-2013, 12:31 AM
Seems the problem lies within the bit.ly support.
When I disable that and set it to "is.gd" then it works, but it's only showing the thread title of a new thread.
No text at all.

Is there a way to fix both problems?The first is an easy solution - just don't use bit.ly. The second is by design I think. Just a title and a link. Might be a good feature request for the guy working on the newer version with the usergroup permissions.

Sounds a bit complicated though. You would have to ignore quotes and links and attachments. Then you would have to count the total length including the title and the link (shortened or not) and truncate at the previous word(s). If truncated, add <read more> at the end.

I doubt I would want to enable it, but who knows it might be worth a try.