vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   New Posting Features - WS vBulletin Tweet Poster (https://vborg.vbsupport.ru/showthread.php?t=236278)

JacquiiDesigns 11-18-2010 11:45 PM

Perhaps someone has an answer for this:

Stay logged into your Twitter account, as the first time you tweet from your forum you will need to authorise the domain.

I see that in the instructions (which I have followed to the letter)
I'm logged in to twitter but I see now way to "authorise the domain"
I post a thread and there are no errors whatsoever - server specs are as per the instructions as well.

I've spent over an hour trying to get this to work correctly - all settings, all codes, everything is entered correctly and still no joy.

Does anyone have a solution?

Thanks,

Jacquii.

Videx 11-19-2010 12:21 AM

It's been a while, but I said something about it in https://vborg.vbsupport.ru/showpost....&postcount=240 . Sorry I don't remember exactly how it went down, but until I had passed that first tweet, nothing came through. If you aren't seeing a first tweet, maybe that forum is excluded? Or maybe you're trying to use a shortener that doesn't work from your server - try it with no shortening at first.

JADM 11-19-2010 02:30 AM

Works great for me...the trickiest thing for me was figuring out where to find the OAuth token and secret. Only issue I see so far is that the excluded forums give me an error if I set it to anything but 0. Will head over to the dev's site to donate/subscribe. This has been a huge relief since I have had issue with my site when I was using Buro's mod (not his fault, it worked until the Twitter API changed).

Mosh 11-26-2010 11:32 PM

Update: v4.0.5
-- Changed: Version number formatting
-- Updated: Installation/Upgrade/Removal Instructions file
-- Updated: Screenshots
-- Added: File to check server meets the requirements to be able to install "vBulletin 2 Twitter"
-- Added: AdminCP Options to include/exclude forums
-- Added: Hashtags for new threads in twitter enabled forums
-- Added: 2 plugins to cater for new hashtag feature
-- Added: AdminCP Option to also use the Metamark url shortening service
-- Added: Version History file
-- Removed: AdminCP Option for tli.td url shortening service (now requires api key)

fox1 12-12-2010 01:14 PM

<i>Problem is solved</i>

rwoscott 12-13-2010 12:25 AM

Installed and working on 4.0.8

Cheers!!

rwoscott 12-13-2010 12:42 AM

Is it possible to have a default #hashtag?

bandare 12-13-2010 12:56 AM

Is this now working with the CMS? I just looked at the top and I can only see info relating to forums.

okhissabigfish 12-18-2010 03:56 PM

This is a long thread and found it difficult to read the entire thing. Has anyone created a mod that will tweet new calendar events or/and tweet a "notice" of the event. Example: I want to tweet a note about a course I'm teaching on a specific date. I have the event saved in the calendar. I'd like to tweet that event a few times "before" the event. Say, within one week of the event, one day of the event, and one hour before the event...

Does this make sense? Should I even post this here?

Thanks to all who work these mods, You're Great!

Videx 12-18-2010 05:17 PM

I am unaware of an automated way to do that. But it shouldn't be too difficult to just tweet the notices manually. I mean, you're only talking about three tweets.

okhissabigfish 12-19-2010 01:06 AM

Yea, its obvious I can do that manually but that's not the point. I was wondering if there would be a way to add a mod that simply allows the user to set a function that tweets a calendar event at various times "before" the event takes place.

Guess not...

ps2wiz 12-25-2010 09:30 PM

Is it possible to disable the hashtags feature? I don't want the field to appear on newthread pages.

Thanks

Mickie D 12-28-2010 09:23 PM

Quote:

Originally Posted by ps2wiz (Post 2139013)
Is it possible to disable the hashtags feature? I don't want the field to appear on newthread pages.

Thanks

yes you will need to remove the code below from the product XML then re-install the product clicking overwrite!

This will also take away the VB_Template errors that you will get if you use anything below vbulletin 4



Code:

        if ($twitterEnabled)
        {
                $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('hashtag_field' => $hashtag_field));
                $vbulletin->templatecache['newthread'] = str_replace('$messagearea', '$hashtag_field . $messagearea', $vbulletin->templatecache['newthread']);
        }



Regards
Mick

Videx 12-29-2010 12:04 AM

I don't think my version has hashtags. Is there some reason I should use them? And, following ps2wiz's question, what exactly is the disadvantage that's so bad they want to disable them?

CRDeveloper 12-29-2010 07:06 AM

Quote:

Originally Posted by Videx (Post 2140408)
I don't think my version has hashtags. Is there some reason I should use them? And, following ps2wiz's question, what exactly is the disadvantage that's so bad they want to disable them?

I don't want to disable them but it would be nice if it adds the # automatically, some members don't know what the hell is the hash for and if they add keywords they will forget or wont know that the # must be added. So the tweet will have keywords but wont be links to new searches at twitter.

CRDeveloper 12-30-2010 07:49 AM

Hey look at what happened to my website today...

I was using Metamark url shortening services and the last 6 threads in the last 6 hours that were tweeted got blacklisted to uribl.

This is the error that was placed at the url in twitter :
ERROR: URIBL listed - ticoracer.com in uribl.fabel.dk (The host ticoracer.com is listed in the uribl

What the hell is uribl? see http://www.uribl.com

Well, How do i know that the problem is the Metamark url shortening?
I change to TinyURL url shortening, made a new test thread and went normal, switched back to Metamark and the same ERROR again. Already delete those tweets too.

At uribl my website is NOT on the list... Anyone else with the same ERROR?

I'm now using the TinyURL with no problems!!!

mtlurb 01-02-2011 08:03 PM

Some suggestions:

1-The hashtag field should be configurable, nice to have: available by usergroup.

2-There should be default hashtags configurable that should be added on all tweets

3-Your plugin is not too friendly with accentuated characters

Thanks great plugin!

res6cue 01-03-2011 07:53 AM

Quote:

Originally Posted by ps2wiz (Post 2139013)
Is it possible to disable the hashtags feature? I don't want the field to appear on newthread pages.

Thanks

Simple. Go into AdminCP > Plugins & Products > Plugin Manager and find Product : vBulletin 2 Twitter. Uncheck the Active box for the first option vBulletin 2 Twitter: Add Hashtag Field To New Thread (newthread_form_complete) and save changes. The hashtag field will no longer show in newthread.

MelH 01-03-2011 09:42 PM

You can post any RSS feed to Twitter using "Twitterfeed" or similar programs.

Can someone please explain the advantages in using this software instead?

hany_c_v 01-04-2011 10:22 AM

Istalled

But Not Sure If It's Working

http://www.mngol.com/en/

Mosh 01-08-2011 01:01 AM

Hi all,

Free support has now been moved back to vBulletin.org.

Please see the first post for more information (and also this thread at Wolfshead Solutions).

Enjoy :)

Regards,

Mosh Shigdar - Wolfshead Solutions.

Mosh 01-08-2011 03:57 AM

Quote:

Originally Posted by Mickie D (Post 2140348)
This will also take away the VB_Template errors that you will get if you use anything below vbulletin 4



Code:

        if ($twitterEnabled)
        {
                $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('hashtag_field' => $hashtag_field));
                $vbulletin->templatecache['newthread'] = str_replace('$messagearea', '$hashtag_field . $messagearea', $vbulletin->templatecache['newthread']);
        }



Regards
Mick

Ahhhhhhhh...... did not think about that before releasing it.... I will have to fix that up so that it will work in vBulletin 3.x.x too. Thanks Mick :)

Videx 01-08-2011 04:52 PM

Quote:

Originally Posted by MelH (Post 2143554)
You can post any RSS feed to Twitter using "Twitterfeed" or similar programs.

Can someone please explain the advantages in using this software instead?

It's been a while since we visited this question. There are advantages to offloading tasks like this, as well as disadvantages. Please update us with the latest offerings and what are the current limits? Last we discussed this Twitterfeed only took a few messages every 30 minutes. Fine for a blog, but a forum can get lots busier.

cagbaazee 01-08-2011 05:02 PM

i face problem

Warning: curl_setopt_array() [function.curl-setopt-array]: CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in [path]/includes/bitly.php on line 141
{"errorCode": 0, "errorMessage": "", "results": {"http://www.gurusecret.info/vbforum/showthread.php?t=26710": {"userHash": "fFAVRv", "hash": "gM9wXH", "shortUrl": "http://bit.ly/fFAVRv", "shortCNAMEUrl": "http://bit.ly/fFAVRv", "shortKeywordUrl": ""}}, "statusCode": "OK"}Invalid JSON-response on line 196 in /home/gurusecr/public_html/vbforum/includes/bitly.php
#0 /home/gurusecr/public_html/vbforum/includes/bitly.php(382): Bitly->doCall('shorten', Array)
#1 /home/gurusecr/public_html/vbforum/newthread.php(274) : eval()'d code(41): Bitly->shorten('http://www.guru...')
#2 /home/gurusecr/public_html/vbforum/newthread.php(274): eval()
#3 /home/gurusecr/public_html/vbforum/vbseo.php(1392): require('/home/gurusecr/...')
#4 {main}


Fatal error: Invalid JSON-response on line 196 in [path]/includes/bitly.php in [path]/vb/vb.php on line 287
#0 vb_error_handler(256, Invalid JSON-response on line 196 in /home/gurusecr/public_html/vbforum/includes/bitly.php , /home/gurusecr/public_html/vbforum/vb/vb.php, 287, Array ([exception] => BitlyException Object ([] => Invalid JSON-response,[] => ,[] => 0,[] => /home/gurusecr/public_html/vbforum/includes/bitly.php,[] => 196,[] => Array ([0] => Array ([file] => /home/gurusecr/public_html/vbforum/includes/bitly.php,[line] => 382,[function] => doCall,[class] => Bitly,[type] => ->,[args] => Array ([0] => shorten,[1] => Array ([longUrl] => http://www.gurusecret.info/vbforum/s...ad.php?t=26710,[history] => 1))),[1] => Array ([file] => /home/gurusecr/public_html/vbforum/newthread.php(274) : eval()'d code,[line] => 41,[function] => shorten,[class] => Bitly,[type] => ->,[args] => Array ([0] => http://www.gurusecret.info/vbforum/s...ad.php?t=26710)),[2] => Array ([file] => /home/gurusecr/public_html/vbforum/newthread.php,[line] => 274,[function] => eval),[3] => Array ([file] => /home/gurusecr/public_html/vbforum/vbseo.php,[line] => 1392,[args] => Array ([0] => /home/gurusecr/public_html/vbforum/newthread.php),[function] => require))),[code] => 256)) called at [(null):0] #1 trigger_error(Invalid JSON-response on line 196 in /home/gurusecr/public_html/vbforum/includes/bitly.php , 256) called at [/home/gurusecr/public_html/vbforum/vb/vb.php:287] #2 vB::handleException(BitlyException Object ([] => Invalid JSON-response,[] => ,[] => 0,[] => /home/gurusecr/public_html/vbforum/includes/bitly.php,[] => 196,[] => Array ([0] => Array ([file] => /home/gurusecr/public_html/vbforum/includes/bitly.php,[line] => 382,[function] => doCall,[class] => Bitly,[type] => ->,[args] => Array ([0] => shorten,[1] => Array ([longUrl] => http://www.gurusecret.info/vbforum/showthread.php?t=26710,[history] => 1))),[1] => Array ([file] => /home/gurusecr/public_html/vbforum/newthread.php(274) : eval()'d code,[line] => 41,[function] => shorten,[class] => Bitly,[type] => ->,[args] => Array ([0] => http://www.gurusecret.info/vbforum/showthread.php?t=26710)),[2] => Array ([file] => /home/gurusecr/public_html/vbforum/newthread.php,[line] => 274,[function] => eval),[3] => Array ([file] => /home/gurusecr/public_html/vbforum/vbseo.php,[line] => 1392,[args] => Array ([0] => /home/gurusecr/public_html/vbforum/newthread.php),[function] => require)))) called at [(null):0]


please help to resolve it

cagbaazee 01-08-2011 05:23 PM

I switched to is.gd and it now allows me to post but nothing is sent to my twitter.

Latest version available: 4.1.0 Patch Level 2

Mosh 01-08-2011 10:14 PM

Quote:

Originally Posted by cagbaazee (Post 2146050)
I switched to is.gd and it now allows me to post but nothing is sent to my twitter.

Latest version available: 4.1.0 Patch Level 2

I use vBulletin 4.0.1 PL2 so that is not the issue.

Add a new plugin in the AdminCP, and use the global_bootstrap_init_start hook, and enter the following code:
PHP Code:

// This module tests to see if you are actually authenticating with Twitter

// replace XXX below with your userid before enabling this test/debug module
// remember to disable it when you are done
if (in_array($vbulletin->userinfo['userid'],array(XXX)))
{
    require_once(
DIR '/includes/twitteroauth/twitteroauth.php');
    
$twitter = new TwitterOAuth($vbulletin->options['ms_vbtwitter_twitter_consumer_key'], $vbulletin->options['ms_vbtwitter_twitter_consumer_secret'], $vbulletin->options['ms_vbtwitter_twitter_oauth_token'], $vbulletin->options['ms_vbtwitter_twitter_oauth_token_secret']);
    
$timelineText $twitter->get('statuses/user_timeline');
    
var_dump($timelineText[0]->text);        


Click Mark as Installed to receive any more support. Once you have done that, post back what you get from the above.

cagbaazee 01-09-2011 03:40 AM

Work Great - Check at
Code:

http://twitter.com/gurusecret
Thanks a lots Mosh

Mosh 01-09-2011 06:22 AM

Quote:

Originally Posted by cagbaazee (Post 2146271)
Work Great - Check at
Code:

http://twitter.com/gurusecret
Thanks a lots Mosh

Glad to hear that :)

fox1 01-12-2011 02:03 PM

I have a problem with this Add-on: sometimes Posts are also posted at Twitter, but sometimes they are not!

Can't say what it depends on.

Forum: http://www.starter-forum.de/
Twitter: http://twitter.com/#!/Starter_Forum

Any ideas what I can do?
Thanks a lot!

Mosh 01-12-2011 08:55 PM

Quote:

Originally Posted by fox1 (Post 2148022)
I have a problem with this Add-on: sometimes Posts are also posted at Twitter, but sometimes they are not!

Can't say what it depends on.

Forum: http://www.starter-forum.de/
Twitter: http://twitter.com/#!/Starter_Forum

Any ideas what I can do?
Thanks a lot!

This is from the Frequently Asked Questions section in the first post, and likely your issue:

Quote:

Question:
Threads with titles that have special characters in them (such as ? ? ? ? ? ? ? ?) do not tweet, what do I do?
Answer:
Sorry, but it looks like an issue with the Twitter (OAuth) class file by Abraham Williams and not with this hack at all.

I have checked his bug tracker and this issue has been reported twice and has not been fixed yet by the author, please see:
You might want to reply to both of the bug reports to see if you can get the author to fix his Twitter class any quicker.

For instance, this thread title on your site will not tweet:
Quote:

IE: Hacker st?rzen sich auf bekannte Browser-L?cke

res6cue 01-12-2011 09:21 PM

Is there any way to prevent moderated threads/posts from getting right through? That's definitely an issue, it would be nice if the mod could check the 'visible' fields for '2' before allowing the thread/post through to Twitter.

fox1 01-13-2011 08:38 AM

@Mosh: Thanks for the information and for the great Add-on!!

Mosh 01-13-2011 10:09 AM

Quote:

Originally Posted by res6cue (Post 2148195)
Is there any way to prevent moderated threads/posts from getting right through? That's definitely an issue, it would be nice if the mod could check the 'visible' fields for '2' before allowing the thread/post through to Twitter.

Not at the moment, but saying that, I may look at it for the next version.

Vick98 01-14-2011 09:19 AM

Please help, it is working. Everything is enabled and all installed properly. I never got a message that I had to verify.

Vick98 01-14-2011 09:24 AM

I got it to work. Excellent mod. Two thumbs up!

CK 01-15-2011 10:47 AM

Is their anyway to turn off the hash tag box when creating new threads?

res6cue 01-15-2011 11:59 AM

Quote:

Originally Posted by ChemicalKicks (Post 2149402)
Is their anyway to turn off the hash tag box when creating new threads?

Already posted above:

Quote:

Originally Posted by res6cue (Post 2143157)
Simple. Go into AdminCP > Plugins & Products > Plugin Manager and find Product : vBulletin 2 Twitter. Uncheck the Active box for the first option vBulletin 2 Twitter: Add Hashtag Field To New Thread (newthread_form_complete) and save changes. The hashtag field will no longer show in newthread.


CK 01-19-2011 03:30 PM

Quote:

Originally Posted by res6cue (Post 2149434)
Already posted above:

Cheers!

Fready 01-20-2011 06:43 AM

Installed and works fine.

Would love to have a mod like this for Face Book too...

tygersclaw 01-22-2011 02:30 PM

Installed last night on my vB 4.1.1 and works perfectly thus far


All times are GMT. The time now is 03:00 PM.

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

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

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

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