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)

sose 05-11-2010 03:44 PM

Quote:

Originally Posted by CEO254 (Post 2003031)
Is there any way I can add "#Example" to the tweets?

I just went in and added a variable like this:

$posttitle = '#Example';

Right above this line:

$tweet = '';

Then, later in the code, I took this line:

$tweet .= $newpost['title'] . ' - ' . $shortURL;

And changed it to this:

$tweet .= $newpost['title'] . ' - ' . $shortURL . ' - ' . $posttitle;

You could replace #Example with any text.. It will show up at the end of the twitter message.

Uasuforos 05-11-2010 09:56 PM

Warning: curl_setopt_array() [function.curl-setopt-array]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in [path]/includes/twitter.php on line 189
/statuses/update.xml Could not authenticate you. Unauthorized on line 229 in /home/uasuforos/domains/uasuforos.com/public_html/includes/twitter.php
#0 /home/uasuforos/domains/uasuforos.com/public_html/includes/twitter.php(648): Twitter->doCall('statuses/update...', Array, true)
#1 /home/uasuforos/domains/uasuforos.com/public_html/newthread.php(273) : eval()'d code(33): Twitter->updateStatus('xzxczc - http:/...')
#2 /home/uasuforos/domains/uasuforos.com/public_html/newthread.php(273): eval()
#3 /home/uasuforos/domains/uasuforos.com/public_html/vbseo.php(1382): require('/home/uasuforos...')
#4 {main}

Warning: Invalid error type specified in [path]/vb/vb.php on line 287

what problem?

Videx 05-11-2010 10:46 PM

Quote:

Originally Posted by Uasuforos (Post 2035406)
what problem?

The problem is that you haven't read the instructions. And I bet you didn't read through the rest of the thread before installing either. When installing mods you must do both, carefully.

delmarva 05-12-2010 02:00 PM

Quote:

Originally Posted by sose (Post 2035211)
There is a second link to the bitly.php file. Use that. It worked for me perfectly.

Sorry, but where is this "second link"? I also have the "Array" issue.

delmarva 05-12-2010 03:08 PM

Quote:

Originally Posted by sose (Post 2035220)
I just went in and added a variable like this:

$posttitle = '#Example';

Right above this line:

$tweet = '';

Then, later in the code, I took this line:

$tweet .= $newpost['title'] . ' - ' . $shortURL;

And changed it to this:

$tweet .= $newpost['title'] . ' - ' . $shortURL . ' - ' . $posttitle;

You could replace #Example with any text.. It will show up at the end of the twitter message.

Could you please tell me where you added this variable? Do you have an example?

Thanks

p@ndu 05-13-2010 01:29 PM

thanks a lot

replys also working

thanks a lot

Bob_R 05-13-2010 02:25 PM

Guess it must be my web host though they haven't found/admitted anything.

The author here claims everything works. The twitter.php author claims his class works which I don't doubt. Don't understand how many could get it to work when you need to instantiate the Twitter class with your username and password. And no one has mentioned that aspect.

Someone is wrong/mistaken because it doesn't work for me.

Bob_R 05-13-2010 03:31 PM

Actually the only thing I did find out is that the actual server software my webhost uses is LiteSpeed instead of Apache, in most cases this will not cause an issue since LiteSpeed is far superior than Apache.

Weeds 05-21-2010 01:29 PM

When you post sometimes it looks like twitter is down. I comes up like strange code can not connect to this plug in. Maybe should just ask the plug in to move on not show the code. I try to post it next time i see it

pant 05-27-2010 06:19 PM

Works.

Big thank you!

Would be nice if we could specify the poster name in the tweet too but I realise you're a busy man :)


All times are GMT. The time now is 11:46 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.01476 seconds
  • Memory Usage 1,739KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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