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)
-   -   Miscellaneous Hacks - More Share Options TNG by BOP5 (Facebook, Twitter, Google +1, AddThis) Share Buttons (https://vborg.vbsupport.ru/showthread.php?t=266159)

stationar 07-03-2011 10:50 PM

It includes title, Site name, but not the link.

BirdOPrey5 07-04-2011 12:50 AM

Quote:

Originally Posted by troyuncucom (Post 2216154)
can i use 3.8.x?

No, as VB 3.8x does not have a built in Facebook Like button this mod will not work on 3.8. I plan to release a separate mod similar to this for 3.8 but I don't have an estimate yet when that will be.

Quote:

Originally Posted by stationar (Post 2216403)
It includes title, Site name, but not the link.

Please upgrade to the new version, 1.03. I have added a new option: Clean Twitter URL?- You and anyone else with a non-English forum must enable this option for Twitter Links to be created.

oBEAVISo 07-04-2011 05:36 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2216264)
I believe that is something twitter is deciding to do on their own. If you mouse-over the link you will see it indeed has the link to the url shortener address.

Apologies, I did not notice that at all. Thankyou for the mod and thank you for the reply . nominated and installed. All buttons working as they should with tweet count turned off.

zelnik 07-04-2011 07:04 AM

Hi BOP5,

Just to clear things up with the vBSEO being compatible with this modification.

It's doesn't really work, per se. Both Twitter and G+1 display the non vbseo urls but if the end user clicks on those then vbSEO will handle that url and convert it to the SEO URL structure.

This isn't a huge problem for Twitter (even though your original Twitter integration worked fine) but for G+1 I assume this is going to be a big problem as Google will obviously only have the VBSEO urls stored on their search engine.

I'm going to try your suggest about removing the href (if memory serves me correct) but could you tell me where to look for it? in the main XML and then reinstall?

Of perhaps you could do it and post it here and we can check to see if it works?

Thanks mate.

zelnik 07-04-2011 07:31 AM

Hi BOP5,

Just to update, I've figured out how to remove the href tags from Twitter and G+1 and I can confirm they now work perfectly with VBSEO.

I've not attempted the FB stuff as it looks beyond my ability to remove those successfully.

So if you could do a vBSEO option in the next release it would be GREATLY appreciated by us users. Thanks :)

BirdOPrey5 07-04-2011 12:27 PM

Thanks for the update zelnik.

With Facebook, Twitter, and Digg it really doesn't matter what URL gets sent as long as the URL works- which they do.

I see what you are saying about the Google +1 though- you would want your VBSEO URL sent.

Here is the issue though...

When you first click on a post you go to a URL that looks like /showthread.php?t=1001.

But when you return to a URL via the "First unread post" link you get a URL that looks like /showthread.php?p=2001#post2001.

Plus add page numbers to the mix and you could have many different URLs for the very same page.

By forcing the "href" into the code it normalizes all of these possible URLs to just 1 consistent URL. This is essential to keep the "counts" correct and also will be sure to send someone who follows a link to the top of the page of the thread rather than some post further down the page.

I know VBSEO has nicer looking URLs than in my example above, but the issue is still the same- multiple URLs for the very same page.

I can add the VBSEO fix to the next version of this but it will be near impossible to keep the counts correct. Still it's better than nothing I guess.

stationar 07-04-2011 02:52 PM

Quote:

Please upgrade to the new version, 1.03
Thanks. Fix works.

zelnik 07-04-2011 09:15 PM

1 Attachment(s)
Quote:

Originally Posted by BirdOPrey5 (Post 2216605)
By forcing the "href" into the code it normalizes all of these possible URLs to just 1 consistent URL. This is essential to keep the "counts" correct and also will be sure to send someone who follows a link to the top of the page of the thread rather than some post further down the page.

I know VBSEO has nicer looking URLs than in my example above, but the issue is still the same- multiple URLs for the very same page.

I can add the VBSEO fix to the next version of this but it will be near impossible to keep the counts correct. Still it's better than nothing I guess.

Removing the href for twitter sprung the counter into life!

I've clicked on G+1 and I get a counter for that too..

BirdOPrey5 07-04-2011 11:25 PM

Excellent news.

BirdOPrey5 07-05-2011 12:20 AM

Released version 1.05. The new option "Force Standard URL?" should be turned off for VBSEO users. This is the equivalent of doing the manual plugin edit I mentioned earlier about removing "$href" from the code.

You should probably experiment with this option whether or not you use VBSEO. It is a function of the type of friendly URL you use as well as if your forum is English language or not. Each share option has its own quirks.


All times are GMT. The time now is 11:10 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.01603 seconds
  • Memory Usage 1,746KB
  • 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