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)

Disco_Stu 06-14-2012 09:02 PM

I get it working and the FB like is in both places. Then I disable the built in using your mod and they both disappear leaving only the other buttons. They're either both on or both off

I disabled it for now. I'll try it again later

BirdOPrey5 06-15-2012 01:20 AM

1 Attachment(s)
Quote:

Originally Posted by Disco_Stu (Post 2339614)
I get it working and the FB like is in both places. Then I disable the built in using your mod and they both disappear leaving only the other buttons. They're either both on or both off

I disabled it for now. I'll try it again later

And just to confirm-

You are running VB 4.2.0?

You have a Facebook Application ID and Secret setup in Facebook Options? Basically the top of the settings look like this:

https://vborg.vbsupport.ru/attachmen...1&d=1339726749

If you want to post or PM me a link to your forum I'd like to take a look see if I notice anything different.

Last question- do you have a custom style? If so can you try on the default style?

Disco_Stu 06-15-2012 02:06 AM

I have 4.2.pPL1 but I did not set up a facebook app ID . I didn't think I needed one for the recommend button. I will try to add the app id

And it does the same thing on the default style as it does for my custom one.

The recommend and share button in your mod work fine without an app ID but only if the built in like button is displayed. If the built in like button is disabled then the recommend and share button in your mod do not display.

I will play around with it some more as I don't really want to create an app on facebook right now but I do want to make use of the share and recommend functions

BirdOPrey5 06-15-2012 10:59 AM

The mod instructions clearly say you need an app id and the facebook platform enabled for this mod to work right.

Without the above the facebook javascript isn't put on every page, which is what is necessary since this mod puts the Like button on pages vBulletin never intended.

I suppose if you are adverse to putting in an appid you could make an edit to the more_share_tng template.

Find the line:

Code:

<vb:if condition="$msot['fbold']">
and change it to:

Code:

<vb:if condition="1">
That will force the FB JavaScript on every page, but it still looks for an appid... Not sure if it will work correctly without one. Worth a try though I suppose.

If it doesn't work be sure to Revert the template back to normal.

BirdOPrey5 06-15-2012 11:06 AM

Update- Yes the above edit will work if you don't want to enter an appid.

I will update the next version to do this automatically if no app id is present.

GamerPerfection 06-16-2012 02:58 PM

I have updated to 3.0 and it is working fine even though I haven't uninstalled 2.61.

Also i'm using VBSEO too and it seems fine. Thanks.

fwulfers 06-16-2012 03:38 PM

When tweeting a thread, the links don't match up when using vbSEO.

For example, http://saabworld.net/showthread.php?t=25820 in the tweet window should be http://saabworld.net/f142/diesel-cars-usa-25820/

Not a big deal though, clicking the non-VBSEOed link still gets you to the right page. But I am not sure what the search engine spiders lurking on Twitter think of that.

BirdOPrey5 06-16-2012 06:29 PM

Quote:

Originally Posted by GamerPerfection (Post 2340078)
I have updated to 3.0 and it is working fine even though I haven't uninstalled 2.61.

Also i'm using VBSEO too and it seems fine. Thanks.

Quote:

Originally Posted by fwulfers (Post 2340094)
When tweeting a thread, the links don't match up when using vbSEO.

For example, http://saabworld.net/showthread.php?t=25820 in the tweet window should be http://saabworld.net/f142/diesel-cars-usa-25820/

Not a big deal though, clicking the non-VBSEOed link still gets you to the right page. But I am not sure what the search engine spiders lurking on Twitter think of that.

Thanks for the VBSEO Feedback guys. I appreciate it. :)

As for the search engine spiders on Twitter- not a big deal for 2 reasons

1) Twitter is shortening the links anyway

and

2) Once they reach your page there is a "canocial url" meta tag I'm sure so it will tell the search engine what the correct URL of the page should be.

GamerPerfection 06-17-2012 06:18 AM

What changes are in the update?

BirdOPrey5 06-17-2012 01:19 PM

Sorry, my browser froze-up halfway through updating the thread and I left it for a while and forgot about it. :o

Anyway Updated to 3.1

New option for those who wanted "centered" buttons instead of just left or right alignment.

New code to let the Facebook Like button(s) work regardless of whether the built in Facebook Platform is enabled and regardless of if a Facebook App ID is entered.


All times are GMT. The time now is 06:47 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.01818 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
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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