vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - vBulletin to Twitter, live tweets of new threads (https://vborg.vbsupport.ru/showthread.php?t=234288)

Dragonsys 07-05-2010 05:10 PM

Quote:

Originally Posted by jahna (Post 2062696)
I've installed it but won't work.....
Can someone help me by checking the code below? Thanks a lot!

Details?
Check it for what? What error(s) are you getting. Just saying it doesn't work tells us nothing, and makes helping you impossible.

Videx 07-05-2010 05:47 PM

Actually, I think I do see a goof up in line 7. Why are you redeclaring the array? Did someone tell you to do that?
Quote:

if (!in_array($foruminfo[forumid], $excludedForums = array(6)) {
I think you're just supposed to enter the 6 in line 2:
Quote:

$excludedForums = array(6);

TroyTrojansFan 07-06-2010 04:16 AM

Opps, wrong thread. Sorry. :-)

Dave-M 07-07-2010 11:46 PM

Thanks for this, it's working great, but there's one thing I'd like to get working if possible.

When an article is posted on the CMS, it automatically posts a notification thread, but for some reason these threads don't get tweeted. Does anyone have any idea why this would be please?

Edit: I've just noticed that threads posted via RSS don't get tweeted either.

I'm on 4.0.3 CMS.

Thanks muchly :)

penmai.com 07-08-2010 05:52 AM

I had installed vbseo in vbulletin 4.0.2.

When i posting it automatically tweets in twitter but when i am viewing the page It shows me Not found page. I think the url is not in vbseo format (i.e.) The url is like this
"http://www.penmai.com/forum/showthread.php?t=264"

instead of like this "http://www.penmai.com/forums/media-talk/264-soundarya-rajinikanth-engagement-photos.html"

What can i do to redirect to vbseo url.

Dragonsys 07-08-2010 01:52 PM

Quote:

Originally Posted by Dave-M (Post 2066124)
When an article is posted on the CMS, it automatically posts a notification thread, but for some reason these threads don't get tweeted. Does anyone have any idea why this would be please?

Edit: I've just noticed that threads posted via RSS don't get tweeted either.

This is because these types of posts do not use the normal posting method, and therefore by-pass this mod altogether.

Dave-M 07-08-2010 04:43 PM

Thanks, so, at present, it something I can't fix then? it's not a huge problem for me, but we get a lot of rss feed posts and it seems a shame to lose out on the traffic from them :)

Videx 07-08-2010 10:37 PM

Quote:

Originally Posted by Dave-M (Post 2066404)
... we get a lot of rss feed posts and it seems a shame to lose out on the traffic from them :)

You probably shouldn't re-tweet someone else's material anyway. Do you want people taking your RSS and tweeting it?

Dave-M 07-08-2010 11:09 PM

It's from our Joomla front end.

And yes, why would I mind people tweeting our rss feed? they all ultimately come back to our site to read the article. On the other hand, if they took the content and then tweeted their own site without a link to us, then that would be bad.

giorgino 07-10-2010 08:05 AM

I've this problem with bitly setted up to false

{ "status_code": 200, "status_txt": "OK", "data": { "long_url": "http:\/\/www.immobilio.it\/showthread.php?t=6139", "url": "http:\/\/bit.ly\/c2CwZT", "hash": "c2CwZT", "global_hash": "dt21Ec", "new_hash": 1 } } Invalid JSON-response on line 202 in /var/www/vhosts/immobilio.it/httpdocs/bitly.php
#0 /var/www/vhosts/immobilio.it/httpdocs/bitly.php(413): Bitly->doCall('shorten', Array)
#1 /var/www/vhosts/immobilio.it/httpdocs/newthread.php(274) : eval()'d code(14): Bitly->shorten('http://www.immo...')
#2 /var/www/vhosts/immobilio.it/httpdocs/newthread.php(274): eval()
#3 /var/www/vhosts/immobilio.it/httpdocs/vbseo.php(1392): require('/var/www/vhosts...')
#4 {main}

What's wrong?


All times are GMT. The time now is 10:55 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.01770 seconds
  • Memory Usage 1,741KB
  • 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
  • (5)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