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)

jschvili 10-03-2012 04:49 AM

Quote:

Originally Posted by jschvili (Post 2370407)
Smooth addons. Thanks.

Unfortunately we can't use it since it doesn't support https. Could we possible change the url's used for Twitter and Addthis to https somewere in the code or could you add an option in the admin?
Code:

http://s7.addthis.com/js/250/addthis_widget.js
http://platform.twitter.com/widgets.js


I found it in the "more_share_tng" template. :cool:

BlogTwits 10-05-2012 06:31 AM

Buttons for twitter, g+ and facebook are fine. However, when clicking the add this button on my site, it just links and goes to the homepage.

Hovering over the button gives the homepage address along with /#

eg website.com/#

Any ideas how to fix?

BirdOPrey5 10-06-2012 12:51 AM

Quote:

Originally Posted by nezr (Post 2370403)
holy 51 pages....

Does this work on CMS at the bottom of each article?
Like on wordpress sites.

It puts share buttons by default under the navbar of every page, including articles. If you follow the instructions included for manual template edits you can instead move the buttons to the top of the footer instead, and if you used some template conditionals you could restrict it to show on only CMS pages, but it is intended to be used on all vBulletin pages.

Quote:

Originally Posted by jschvili (Post 2370407)
Smooth addons. Thanks.

Unfortunately we can't use it since it doesn't support https. Could we possible change the url's used for Twitter and Addthis to https somewere in the code or could you add an option in the admin?
Code:

http://s7.addthis.com/js/250/addthis_widget.js
http://platform.twitter.com/widgets.js


I thought I had already done this but if you edit the more_share_tng template and remove the http: from all the URLs, for example you get:

Code:

//s7.addthis.com/js/250/addthis_widget.js
//platform.twitter.com/widgets.js

It will use whatever protocol (http or https) as your current site uses automatically. In my testing only one or two of the less popular share buttons weren't compatible with https.

Quote:

Originally Posted by BlogTwits (Post 2370895)
Buttons for twitter, g+ and facebook are fine. However, when clicking the add this button on my site, it just links and goes to the homepage.

Hovering over the button gives the homepage address along with /#

eg website.com/#

Any ideas how to fix?

I would need to see a link to a page on your site where this is happening.

jaffaman 10-08-2012 03:56 PM

Installed and working great thanks for a great mod :)

gedsta 10-08-2012 04:21 PM

Have you an idea of what is possibly causing this?

Quote:

The following resources have identical contents, but are served from different URLs. Serve these resources from a consistent URL to save 1 request(s) and 25.2KiB.

http://static.ak.facebook.com/connec...php?version=11
https://s-static.ak.facebook.com/con...php?version=11

Superorb 10-10-2012 01:39 PM

How do I link my forum with its fan page on Facebook so that like counts are shared between sites?

BirdOPrey5 10-12-2012 10:54 AM

Quote:

Originally Posted by gedsta (Post 2371577)
Have you an idea of what is possibly causing this?

Perhaps my mod and vBulletin are both serving the same facebook file... If you search the more_share_tng template for either of those URLs, it looks like you could remove the one from the template and everything *should* still work on your setup- if you want to try it.

Quote:

Originally Posted by Superorb (Post 2372018)
How do I link my forum with its fan page on Facebook so that like counts are shared between sites?

I don't know if that is possible- some people seem to think it is- if so my only guess would be if your Fan Page has an application ID, then make that the application ID in Facebook Options in vBulletin settings- but just a guess.

Superorb 10-12-2012 04:52 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2372499)
I don't know if that is possible- some people seem to think it is- if so my only guess would be if your Fan Page has an application ID, then make that the application ID in Facebook Options in vBulletin settings- but just a guess.

I figured it out. You have to enter the URL of the Fan Page in the TNG template and it will be linked, but it will be like this everywhere the TNG plugin is shown. This is fine for me since I enabled the FB Like button for posts. Plus, since my site was newly launched I have no members and the easier it is to get those likes adding up the better. I'll change it when the site gets busier though.

dougdirac 10-13-2012 03:05 PM

Quote:

Originally Posted by Superorb (Post 2372567)
I enabled the FB Like button for posts.

How did you do FB likes for posts?

gedsta 10-13-2012 03:53 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2372499)
Perhaps my mod and vBulletin are both serving the same facebook file... If you search the more_share_tng template for either of those URLs, it looks like you could remove the one from the template and everything *should* still work on your setup- if you want to try it.

Removing the line,

e.src = document.location.protocol + '//connect.facebook.net/{vb:rawphrase facebook_language}/all.js';

Allows the likes to still be shown, but doesn't get rid of the error. :(

Thanks anyway.

bzcomputers 10-13-2012 03:56 PM

Quote:

Originally Posted by dougdirac (Post 2372730)
How did you do FB likes for posts?

It's not actually a FB likes for "posts" but for threads. It's under vb Options - FB Options.

https://vborg.vbsupport.ru/external/2012/10/32.jpg

cisoprogressivo 10-15-2012 09:51 AM

I was using the 2.x version and today I decided to upgrade.
I placed the code manualy in SHOWTHREAD in the previous version with
HTML Code:

<vb:if condition="$show['fb_likebutton']">
                        <span style="margin-left:0px; position:absolute; left:60px;
margin-top:3px;"
>
{vb:raw fblikebutton}</span>
                </vb:if>

Now I'm using:
HTML Code:

{vb:raw more_share_tng}
in the same place, but nothing is displayed.
If I choos to automaticaly shows below navbar its works. Any help?

BirdOPrey5 10-16-2012 06:46 PM

Quote:

Originally Posted by cisoprogressivo (Post 2373121)
I was using the 2.x version and today I decided to upgrade.
I placed the code manualy in SHOWTHREAD in the previous version with
HTML Code:

<vb:if condition="$show['fb_likebutton']">
                        <span style="margin-left:0px; position:absolute; left:60px;
margin-top:3px;"
>
{vb:raw fblikebutton}</span>
                </vb:if>

Now I'm using:
HTML Code:

{vb:raw more_share_tng}
in the same place, but nothing is displayed.
If I choos to automaticaly shows below navbar its works. Any help?

The new version doesn't work in the SHOWTHREAD template like the old version did.

TNG Version (3.x) = Only Works in navbar, header, or footer

The purpose of TNG is to share "all" pages so it works in the global templates.

Manoel J?nior 10-23-2012 11:30 PM

I have problem com TNG.

My URL's when I will share with facebook URL is not the same topic, but another topic.

BirdOPrey5 10-24-2012 05:11 PM

Link to a page with the problem?

bzcomputers 10-30-2012 10:50 PM

Any chance in adding the option to "Enable On Only These Scripts". Seems to be too many scripts to disable on to get them all. It's definitely a lot easier to find all the scripts you want to display on then trying to find all the ones you don't want.

bzcomputers 10-31-2012 04:08 PM

I am using the Gold version, but I believe this issue will also apply to the free version.

The issue comes when trying to use this mod if your forum does not reside in the root.

I have a setup like this:
www.XXXX.com = CMS
www.XXXX.com/forum = Forum
www.XXXX.com/blog = Blog
www.XXXX.com/custom1 = Custom Page Area1
www.XXXX.com/custom2 = Custum Page Area2

It appears this mod is currently basing all links off of the Forum (bburl) followed by the relative path. Unfortunately for those of us that don't have the forum in the root this will not work.

I currently get links like this when attempting to use this mod on my custom pages:
www.XXXX.com/forum/custom1, when I need the links to be www.XXXX.com/custom1

Can you add an option to base custom page links off a custom base path so those of us not using the forum in the root can use this mod outside of the forum path. Possibly have an option that if the SCRIPT is equal to X then use Y base path.

wildheart 11-08-2012 07:26 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2353117)
Due to the global nature of the TNG version of this mod {vb:raw more_share_tng} can only be pasted in global templates (header, navbar, and footer.) As designed it simply won't work in any other template.

The previous version that I used was under my chatbox. This version is above, how can I change it to be under the chatbox again?

Thanks

BirdOPrey5 11-10-2012 08:22 PM

It's probably not possible as coded. You could try changing the execution order of the plugins via plugin manager but that would only work if the chatbox happens to use the same template hook which I doubt.

gsmlover4u 12-02-2012 10:27 AM

uninstall it show this site untrusted certificate notification when open on nokia mobile phone

BirdOPrey5 12-02-2012 09:50 PM

If your forum using https?

gsmlover4u 12-03-2012 04:22 AM

No https

show me this

website has sent a certificate with diffrent website name then requested accept anyway

accept this time only

certificate detail

is
site:
ajax.googleapis.com

issuer:
google internet authority,
google inc,us

subject:
*.googleapis.com,google inc,googleapis.com,us california, mountain view

key usage:
(not defined)

valid from:
21:11:2012

valid until:
08:06:2013

certificate format:
x.509

Algorithm:
SHA1RSA

serial number:
132AAA53000000006F42

finger print (MD5)
B7BF CCAC F7CC FE31 9F81 A2c4 FD75 A825

BirdOPrey5 12-04-2012 10:54 PM

Likely something to do with the Google+ button. You could probably just disable the one button, but up to you.

Gemma 12-04-2012 11:06 PM

Re-installed this on new site. Thanks again BOP5 :)

moustafa 12-08-2012 02:41 AM

Installed this, enabled facebook options but the plugin didn't work neither automatic nor after the template edits.

Toorak Times 12-08-2012 08:42 AM

How can I get this into my Calendar events?

cheesehead 12-08-2012 11:33 AM

Facebook count and sharing is not working any more on my VB4.1 version.

You can check my forum here http://goo.gl/Cn7VW

Current facebook count is 6 but whenever i try to like it it does not increase or add the count. It is happening with all the social button.

Please check it and let me know if it is bug or I need to change some setting on my forum.

Thanks

BirdOPrey5 12-08-2012 08:08 PM

1 Attachment(s)
Quote:

Originally Posted by moustafa (Post 2389222)
Installed this, enabled facebook options but the plugin didn't work neither automatic nor after the template edits.

Link to site? Did you install the 3.2 version?

Quote:

Originally Posted by Toorak Times (Post 2389257)
How can I get this into my Calendar events?

The 3.2 version should show on all pages, what version are you using?

Quote:

Originally Posted by cheesehead (Post 2389279)
Facebook count and sharing is not working any more on my VB4.1 version.

You can check my forum here http://goo.gl/Cn7VW

Current facebook count is 6 but whenever i try to like it it does not increase or add the count. It is happening with all the social button.

Please check it and let me know if it is bug or I need to change some setting on my forum.

Thanks

It asked me to confirm the like but it worked fine for me...

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

Toorak Times 12-09-2012 02:02 AM

Thanks BOP,

I am not using yet but intend to.

I'm actually looking for something inside the post, but I suppose this works just as good as it shares the page.

I'll try and get it up today.

Cheers

patrick91 12-10-2012 05:51 PM

Somehow i also don't get this to work... it has some conflicts i guess when i activate this the facebook option in vbulletin will disapear! And with the plugin facebook doesn't show up.

fxdigi-cash 12-10-2012 10:42 PM

Thanks for this great plugin " More Share Options for VB4 by BOP5v261". it works good on vb4.2, but the other one doesn't work especially on IE browser. it shows some mess

patrick91 12-11-2012 05:36 PM

Uninstalled but thanks!

toon79 12-14-2012 08:24 AM

Is there a way for the facebook like to take an image, it seems to sometimes take the logo from the forum but there's no selector to pick an image like Google+

I understand this could be the facebook side of things rather than this plugin but has anyone found a way to do this?

BirdOPrey5 12-18-2012 06:57 PM

It has nothing to do with this plugin.

If you have a facebook image set in Facebook Options (the built in VB Facebook options), remove it and Facebook will usually let someone choose the image if it finds any. Attachments will never be recognized as images.

49er 12-27-2012 11:04 PM

I have this in Gold and having this problem, i get a thumbnail instead of the original picture when liking a post or thread on my facebook ..
When using http://developers.facebook.com/tools/debug it gives me this error... (Below)

How do i rectify this issue? :confused:

Thanks in advance ...

Code:

Like Button Warnings That Should Be Fixed

Like Button Tag Missing: og:title is missing. The og:title meta tag is necessary for Facebook to render a News Feed story that generates a high click-through rate.

Like Button Tag Missing: og:image is missing. The og:image meta tag is necessary for Facebook to render a News Feed story that generates a high click-through rate.


bzcomputers 12-28-2012 03:50 PM

Quote:

Originally Posted by 49er (Post 2393114)
I have this in Gold and having this problem, i get a thumbnail instead of the original picture when liking a post or thread on my facebook ..
When using http://developers.facebook.com/tools/debug it gives me this error... (Below)

How do i rectify this issue? :confused:

Thanks in advance ...

Code:

Like Button Warnings That Should Be Fixed

Like Button Tag Missing: og:title is missing. The og:title meta tag is necessary for Facebook to render a News Feed story that generates a high click-through rate.

Like Button Tag Missing: og:image is missing. The og:image meta tag is necessary for Facebook to render a News Feed story that generates a high click-through rate.


The "og:title is missing" is not unusual Facebook typically doesn't have an issue figuring this out. Having the og:image missing is probably where your problem exists.

Are you using the vBulletin built in Facebook features along with this mod? If so they may be conflicting. First make sure you have an image set at: AdminCP - Settings - Options - Facebook Options - Image URL. then run debug again. If that doesn't work try disabling this mod for "showthread" script and then run the debug again and see if the og:image issue still exists.

49er 12-28-2012 05:49 PM

Quote:

Originally Posted by bzcomputers (Post 2393219)
The "og:title is missing" is not unusual Facebook typically doesn't have an issue figuring this out. Having the og:image missing is probably where your problem exists.

Are you using the vBulletin built in Facebook features along with this mod? If so they may be conflicting. First make sure you have an image set at: AdminCP - Settings - Options - Facebook Options - Image URL. then run debug again. If that doesn't work try disabling this mod for "showthread" script and then run the debug again and see if the og:image issue still exists.

Thank you Sir, this now places the image i have added into Facebook Options, very much appreciate your reply. :up:

Bob_R 01-07-2013 09:26 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2320569)
Please don't feel you have to buy the gold to fix the issue... First I've never seen dig count not work so I can promise you going gold will not help that.

The twitter upgrade to an iframe you could conceivably do yourself by editing the more_share_options template and removing the old twitter code and replacing it with the iframe code.

My twitter count doesn't seem to be working. Because i just tweeted and it remained the same

Would you be as so kind as to explain paragraph 2 quoted here?

Thank you.

EDIT: If it makes any difference, it works on the Forumhome. EDIT(2):But doesn't seem to anywhere else.

Toorak Times 01-08-2013 01:34 AM

YEEES, Bop, just what I need. Really cool, I like all the options too. Great job.

Now I can get rid of tell a friend widgets

BirdOPrey5 01-12-2013 02:25 PM

Quote:

Originally Posted by Bob_R (Post 2395396)
My twitter count doesn't seem to be working. Because i just tweeted and it remained the same

Would you be as so kind as to explain paragraph 2 quoted here?

Thank you.

EDIT: If it makes any difference, it works on the Forumhome. EDIT(2):But doesn't seem to anywhere else.

That whole post is out-dated, the only supported version now is the "TNG" version - More Share Options TNG FREE (v 3.2) by BOP5.zip

And Twitter is working fine on all pages I've seen.

The old version had an old way of displaying the Tweet button, Twitter updated the code at some point, the TNG version uses the newer code.


All times are GMT. The time now is 04:49 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.02317 seconds
  • Memory Usage 1,857KB
  • 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_code_printable
  • (4)bbcode_html_printable
  • (20)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
  • (40)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