vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Show Thread Enhancements - Twitter - Tweet Button in SHOWTHREAD (https://vborg.vbsupport.ru/showthread.php?t=248569)

BirdOPrey5 11-09-2010 10:43 AM

OK... I'll see if I can replicate the issue on my 4.0.8 test board...

oldfan 11-09-2010 11:53 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2119828)
OK... I'll see if I can replicate the issue on my 4.0.8 test board...

thanks :)

BirdOPrey5 11-09-2010 02:00 PM

OK I am getting the same issue on 4.0.8 now... I looked up some info and it seems Twitter is now caching the twitter count so it doesn't update in real time... I made a couple of test tweets and it still shows "0" when i go back... I'm going to give it some time and see if the correct count is eventually displayed.

This is official info from Twitter on the subject:
Quote:

My count doesn’t seem to be going up, is something wrong?

To improve performance we cache the count before displaying it. The cache is updated frequently but on some occasions it may look like your count is not increasing while the cache is updated. In addition, the count only includes public Tweets meaning a Tweet from a protected account will not cause an increase.

oldfan 11-10-2010 01:24 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2119878)
OK I am getting the same issue on 4.0.8 now... I looked up some info and it seems Twitter is now caching the twitter count so it doesn't update in real time... I made a couple of test tweets and it still shows "0" when i go back... I'm going to give it some time and see if the correct count is eventually displayed.

This is official info from Twitter on the subject:

Thanks for the info

oldfan 11-15-2010 12:37 PM

any luck?

BirdOPrey5 11-15-2010 07:49 PM

No, but I have found this is a widespread issue.. many bloggers posting about the exact same issue... no one can seem to find a rhyme or reason when it works or doesn't work. Hopefully twitter is working on the issue, I'd imagine they have to know about it considering how wide spread the issue is. All I can suggest for no is to disable the count or let your members know the count isn't working right yet... I'd imagine someday it will just start working when Twitter fixes the issue.

I went through about 10 different options using canonical links, data-url, and count-url options for the twitter tag and using both "basic" friendly and "advanced" friendly URL's in vbulletin and nothing worked.

I wish I knew if it was something new in 4.0.8 or if older VB4 versions also stopped counting- not that I'm in a position to do much about it but it would be nice to know.

Anyone with VB4 have this still working right?

123_y_321 11-29-2010 01:04 PM

ok, when I click the tweet button this is what I get

Quote:

'url' parameter does not contain a valid URL.
How can I fix this?

BirdOPrey5 11-29-2010 01:13 PM

Can you paste the exact text/code for the twitter button you are using in your template?

123_y_321 11-29-2010 01:17 PM

here is my code

Code:

<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="MY USER NAME">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>

BirdOPrey5 11-29-2010 01:27 PM

Quote:

Originally Posted by 123_y_321 (Post 2127140)
here is my code

Code:

<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="MY USER NAME">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>

Do you have accented/non-english characters in your URL? Some people have mentioned problems with that before... in any case try this:

Code:

<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="YOUR_TWITTER_USERNAME" data-url="http://www.example.com/forum/{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_post}}">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div>
Replace "YOUR_TWITTER_USEENAME" and also replace http://www.example.com/forum/ with the URL to your forums.


All times are GMT. The time now is 01:17 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.01433 seconds
  • Memory Usage 1,745KB
  • 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
  • (3)bbcode_code_printable
  • (5)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
  • (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