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)

gezuvor 01-18-2012 03:09 PM

Great mod! Installed and rated!

Quote:

Originally Posted by MarceloS (Post 2217422)
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

Quote:

Originally Posted by tpearl5 (Post 2289891)
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

Quote:

Originally Posted by riteshsanap (Post 2292090)
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

Quote:

Originally Posted by jorgejgm (Post 2294193)
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

Quote:

Originally Posted by Videx (Post 2289934)
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

Quote:

Originally Posted by LouiseWilson (Post 2315617)
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:

PHP Code:

if ($vbulletin->options['ms_vbtwitter_enable'] && ($vbulletin->options['ms_vbtwitter_enable_hashtag'] == || $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('hashtag_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

Quote:

Originally Posted by LouiseWilson (Post 2315962)
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:
PHP Code:

 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

Quote:

Originally Posted by Videx (Post 2315984)
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

Quote:

Originally Posted by LouiseWilson (Post 2316083)
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

Quote:

Originally Posted by Weeds (Post 2321233)
Do i need to put the # every time?

Yes

Quote:

Originally Posted by Weeds (Post 2321233)
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

Quote:

Originally Posted by datoneer (Post 2334370)
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


All times are GMT. The time now is 01:50 AM.

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.02918 seconds
  • Memory Usage 1,856KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (12)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