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)

Thomasmp 09-15-2011 08:19 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2242142)
Assuming you have an older version of vBulletin 4.x because on newer versions the language is set by vBulletin itself- that is your "Like" button should already have been in Spanish before this was installed.

Edit the template more_share_options

find the line:

Code:

e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js';
And change "en_US" to whatever the code is for spanish, I don't know what it is off-hand. You can find it probably from Facebook itself: http://developers.facebook.com/docs/.../plugins/like/


Hi BOP5

i?ve changed

___________
<vb:if condition="$vboptions['bop5more_fbtype'] == 99">
<td>
<div align="center" width="280" style="float:left;">
<iframe id="fb_likeframe" src="http://www.facebook.com/plugins/like.php&href={vb:raw bophrefen}&amp;layout=standard&amp;show_faces=fals e&amp;width=260&amp;action=like&amp;font=tahoma&am p;colorscheme={vb:raw boplord}&amp;height=27" scrolling="no" frameborder="0" locale=es_ES allowTransparency="true"></iframe>
</td>
</vb:if>
__________


and:

Code:

e.src = document.location.protocol + '//connect.facebook.net/es_ES/all.js';
but is still in English :confused:

http://www.upl.co/uploads/188651like-23.png


what would be the error?

thanks!

BirdOPrey5 09-15-2011 08:21 PM

^ That is not the line I said to change. Read the instructions I gave again.

Find the line:
Code:

e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js';

mmoore5553 09-20-2011 01:47 AM

I have a custom template and unable to get this working. Is there manual edits i need to make or what do i need to look for ?

http://www.listisimo.es/

BirdOPrey5 09-20-2011 12:30 PM

Instructions for the manual template edits are included in the zip file, the filename is: Manual Template Edits.txt.

If it's not working on threads, blogs, and/or CMS articles you must make sure the built in Facebook button is working first before you attempt to use this mod. You must enable these in the built-in Facebook Options.

temsamane 09-21-2011 09:41 AM

on forumhome i see the buttons.
but on threads nothing is showing.

http://www.rkempo.nl/forums/forum.php

BirdOPrey5 09-21-2011 11:07 AM

Quote:

Originally Posted by temsamane (Post 2248516)
on forumhome i see the buttons.
but on threads nothing is showing.

http://www.rkempo.nl/forums/forum.php

Do you have Facebook Like Button enabled in Admin CP -> Options -> Facebook Options?

Before this mod is active you need to have the built in Facebook Like button working on your pages.

Dene2 09-23-2011 08:00 AM

Hiya have installed this and managed to get it working but when i activate it right hand justified and left the standarf facebook like button has dissappeared

Dene2 09-23-2011 08:12 AM

managed to fix it the only like button that would work for some reason was the old and the legacy one

listisimo.es 09-23-2011 08:53 AM

Is there any way to make this work for Twitter with short urls like bitly? This mod works fine, but when you tweet a thread it uses a url like this:
http://www.listisimo.es/showthread.php?t=11464
In contrast, the same thread tweeted through Addthis uses this url: http://bit.ly/rphrQZ
With twitter, short urls are very important for retweeting etc, as you don't have my characters to play with.
Any ideas?

BirdOPrey5 09-23-2011 11:33 AM

Quote:

Originally Posted by listisimo.es (Post 2249193)
Is there any way to make this work for Twitter with short urls like bitly? This mod works fine, but when you tweet a thread it uses a url like this:
http://www.listisimo.es/showthread.php?t=11464
In contrast, the same thread tweeted through Addthis uses this url: http://bit.ly/rphrQZ
With twitter, short urls are very important for retweeting etc, as you don't have my characters to play with.
Any ideas?

If you notice once you actually tweet the URL is replaced with a short one... At least it is for me.

But to answer your question, no, I have no way of making it work with anything else- this is what Twitter has built in.

listisimo.es 09-23-2011 01:57 PM

OK. Thanks for the quick response.

Scalemotorcars 09-24-2011 02:10 PM

Ive been doing some reading on the Addthis share option and I've noticed a trend of many websites removing it do to SEO issues and page rank. Ive also read that allot of sites are switching over to Addany as its impact to a sites SEO is about 20% less. Would you consider adding Addany in a future release? Thanks...

BirdOPrey5 09-24-2011 05:04 PM

Quote:

Originally Posted by Scalemotorcars (Post 2249568)
Ive been doing some reading on the Addthis share option and I've noticed a trend of many websites removing it do to SEO issues and page rank. Ive also read that allot of sites are switching over to Addany as its impact to a sites SEO is about 20% less. Would you consider adding Addany in a future release? Thanks...

I googled "Addany" because I never heard of it and nothing of value comes up- certainly no share sites. :confused:

I'd consider it but I see some of the biggest sites in the world using AddThis... how does it hurt SEO? It's just a javascript, no different than any other share javascript- it probably gets ignored by googlebot anyway.

rbuass 09-27-2011 01:05 AM

Not being shown on the threads!

ablaye 09-27-2011 12:49 PM

The google+ button isn't showing up even though I have activated this option.
Please check http://www.ndakaru.com/content/376-D...apitale-du-web
and let me know what I am doing wrong.

Thanks

SocketTF 09-27-2011 01:44 PM

Thanks, for this mod, the better and complete sharing mod. Works good on 4.1.6.

BirdOPrey5 09-27-2011 05:40 PM

1 Attachment(s)
Quote:

Originally Posted by rbuass (Post 2250419)
Not being shown on the threads!

Did you have the regular facebook like button showing in threads before you installed this mod? You need to have it enabled in your facebook options.

Quote:

Originally Posted by ablaye (Post 2250537)
The google+ button isn't showing up even though I have activated this option.
Please check http://www.ndakaru.com/content/376-D...apitale-du-web
and let me know what I am doing wrong.

Thanks

I can see it. Can you try another web browser?

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

TheHellrider 09-28-2011 05:03 PM

Installed and working. Thanks!

BirdOPrey5 09-28-2011 05:13 PM

Quote:

Originally Posted by TheHellrider (Post 2250982)
Installed and working. Thanks!

Cool. :cool: Please "mark as installed" if you are using it. :up:

The Rocketeer 10-02-2011 02:10 AM

@BOP Here's a suggestion

Can you try to add a option that would also load these icons on the CMS homepage?
Look at this blog post ...http://kyleryanmatthews.com/2011/09/...seo-installed/

and this site's CMS, to see it - http://modmyi.com/

BirdOPrey5 10-03-2011 03:56 PM

Version 2.6 Has Now Been Released

Version 2.6 now includes 2 Reddit button options, center justification of the buttons options, and a fix to a bug in the width of the Google +1 button when the counter was disabled.

Version 2.6 also marks the release of a Gold version of this mod with premium features including the ability to add new buttons easily via the Admin CP.

Going forward the Free/Light version will only see bug fixes.

Any new features including new buttons and/or new sharing locations will only be done in the Gold version.

See the top/first post for more details.

Fready 10-04-2011 11:26 AM

I have this installed on my Forum but nothing shows on the top left of the Threads.
On 2 other forums I have installed it on it works like a dream, but not this one.

BirdOPrey5 10-04-2011 02:51 PM

You have to Enable Facebok Like Button in Threads in Admin CP -> Settings -> Options -> Facebook Options -> Like Button - Threads -> Yes.

Alfa1 10-05-2011 02:58 AM

I'd like to request privacy features, so that the like and +1 button will not track the behavior of my users and send the data to FB/Google/etc.

ForceHSS 10-05-2011 03:05 AM

1 Attachment(s)
This messes up the hieght of the side blocks on the main forums

BirdOPrey5 10-05-2011 09:50 AM

Quote:

Originally Posted by Alfa1 (Post 2253353)
I'd like to request privacy features, so that the like and +1 button will not track the behavior of my users and send the data to FB/Google/etc.

I don't know what you mean- these are the standard buttons available from Facebook, Google, Twitter, and the like. I don't see any "privacy options" available when creating the buttons and the very purpose of the buttons IS to send data to Facebook and Google- that's the point of the buttons. This isn't a local likes system. :confused:

Quote:

Originally Posted by ForceHSS (Post 2253355)
This messes up the hieght of the side blocks on the main forums

I really don't see that as a problem, it is working as designed- but there are other share locations available on that page if you don't like it,

If you want to keep it where it is AND lower the sideblock you would need to manually edit your FORUMHOME template or sidebar css code. There are many ways to do this but one that should work is-

Edit FORUMHOME, find the code:

Code:

<div id="sidebar_container"<vb:if condition="$show['sidebarposition'] == 'left'"> class="sidebarleft"</vb:if>>
And add a margin property:

Code:

<div id="sidebar_container"<vb:if condition="$show['sidebarposition'] == 'left'"> class="sidebarleft"</vb:if> style="margin-top:20px;">
change the "20px" to whatever size works for you.

ForceHSS 10-05-2011 10:38 AM

what is the code to bring it down as i have it on another skin that needs to go down a bit

BirdOPrey5 10-05-2011 02:39 PM

Quote:

Originally Posted by ForceHSS (Post 2253531)
what is the code to bring it down as i have it on another skin that needs to go down a bit

If you want to bring the share buttons lower you can edit the more_share_options template.

add a <br /> tag to the very top of the template.

That will lower it in all locations though so if you just want to do forumhome:

Code:

<vb:if condition="THIS_SCRIPT == 'index'"><br /></vb:if>
At the very top line of the template. Add more <br />'s if you want additional room.

Alfa1 10-06-2011 01:44 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2253518)
I don't know what you mean- these are the standard buttons available from Facebook, Google, Twitter, and the like. I don't see any "privacy options" available when creating the buttons and the very purpose of the buttons IS to send data to Facebook and Google- that's the point of the buttons. This isn't a local likes system. :confused:

Facebook is under a lot of scrutiny, especially in the EU. Facebook uses the like button, not only to send the thread to facebook, but it also gathers information on all the forum users that open a page with a like button on it. Because the like button is on many websites, facebook also tracks the behavior of users across the internet and profiles users by placing cookies and by tracking IPs. Not only if someone is logged into facebook, but also if users are logged out or even if users do not have a facebook profile at all, they are getting profiled. If you visit a forum (with facebook like buttons) about a specific topic, then the facebook advertising system will start showing you adds that relate to that topic. Even if the topic is delicate, controversial, adult or otherwise private.

This is a large concern for authorities, internet users and webmasters. Its not without reason that many webmasters will not install a facebook like or facebook login function.

By default there are no privacy functions available, because facebook, etc want to keep data mining. Privacy functions can only be coded. And thats what I am requesting from you. It should be possible to keep the functionality to send threads to facebook(like) etc, while blocking data mining functions.

For example: isn't it possible to only load the script once someone clicks the like button? Im sure people would find such privacy functions very attractive.

I hope that I have explained it a bit clearer.

BirdOPrey5 10-06-2011 02:11 AM

When you explain it that way yes I suppose it is possible to not "activate" any of the facebook javascripts until a user opts-in to see it...

HOWEVER that would defeat a major feature which would be showing the # of likes or shares to everyone even if they don't click on it at all.

On my live forum I have coded a way using a custom profile field to let users who don't like "share" buttons turn them all off forumwide... It's a relatively easy thing to accomplish if you know anything about custom profile fields and basic php conditionals... But it is a PITA to explain to someone who doesn't.

Let me think about this... I think I could combine some code from my Signature Ignore System mod which lets users opt-out of seeing specific signatures, into this to let users opt out from seeing the share buttons in this mod- so if you have users who hate to see facebook and other sharing code they can disable it completely.

I'm not going to confirm I will add this, but it does sound interesting to me, will strongly consider it.

Alfa1 10-06-2011 04:18 AM

If its possible to work around loosing the # of likes then that would be optimal. Wouldnt it be possible to cache the button once per day? That way it would be somewhat up to date.

Or alternatively provide the option to turn off both the # of likes together with the data mining script, then that would still be a very interesting option. If really needed I would sacrifice the # of likes function to get privacy in order.

BirdOPrey5 10-06-2011 09:54 AM

Quote:

Originally Posted by Alfa1 (Post 2253824)
If its possible to work around loosing the # of likes then that would be optimal. Wouldnt it be possible to cache the button once per day? That way it would be somewhat up to date.

Or alternatively provide the option to turn off both the # of likes together with the data mining script, then that would still be a very interesting option. If really needed I would sacrifice the # of likes function to get privacy in order.

Might be possible, don't know- but I do know none of that is going to happen by me. I'm not trying to re-invent the facebook like button, this mod is for people who want MORE share buttons. I really don't care about facebook tracking... I don't see targeted ads as a bad thing.

cisoprogressivo 10-08-2011 12:50 PM

Hi,
I found this plugin really great, but I can't figure out how to show the buttons in forums (I've selected All forums).
The buttons are showing in home page and in threads but not in forums.
Thank you in advance

BirdOPrey5 10-08-2011 01:06 PM

Quote:

Originally Posted by cisoprogressivo (Post 2254671)
Hi,
I found this plugin really great, but I can't figure out how to show the buttons in forums (I've selected All forums).
The buttons are showing in home page and in threads but not in forums.
Thank you in advance

Form pages (forumdisplay) is not an option on this mod.

The Choose Forums option is to choose which forums threads the mod will display on. For example you might not want to show it on threads in private forums.

Sorry for the confusion, I will take another look at how this setting is explained in the instructions.

cisoprogressivo 10-08-2011 05:33 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2254674)
Form pages (forumdisplay) is not an option on this mod.

The Choose Forums option is to choose which forums threads the mod will display on. For example you might not want to show it on threads in private forums.

Sorry for the confusion, I will take another look at how this setting is explained in the instructions.

Thank you for your answer :)
May I add it, adding
Code:

<vb:if condition="$show['fb_likebutton']">
                        {vb:raw fblikebutton}
                </vb:if>

to FORUMDISPLAY?

BirdOPrey5 10-08-2011 06:29 PM

Quote:

Originally Posted by cisoprogressivo (Post 2254793)
Thank you for your answer :)
May I add it, adding
Code:

<vb:if condition="$show['fb_likebutton']">
                        {vb:raw fblikebutton}
                </vb:if>

to FORUMDISPLAY?

no...add this to the template:

Code:

                        {vb:raw moreshare}
but then you would need t pre-register the variables and edit the More Share Options Plugin plugin which is too complicated for me to explain, it is not just a simple change.

BirdOPrey5 10-08-2011 06:29 PM

Quote:

Originally Posted by cisoprogressivo (Post 2254793)
Thank you for your answer :)
May I add it, adding
Code:

<vb:if condition="$show['fb_likebutton']">
                        {vb:raw fblikebutton}
                </vb:if>

to FORUMDISPLAY?

no...add this to the template:

Code:

                        {vb:raw moreshare}
but then you would need t pre-register the variables and edit the More Share Options Plugin plugin which is too complicated for me to explain, it is not just a simple change.

cisoprogressivo 10-09-2011 07:43 AM

Ok, I'll do without it ;)
Another question:
I've changed en_US to it_IT in the template to setup Facebook in Italian but it's always in english.
Any idea?

BirdOPrey5 10-09-2011 11:58 AM

What version of VB are you using? If it's a more recent version the language is not controlled by my mod but by vBulletin settings.

The language in the template will only work for VB versions below 4.1.2. It doesn't even get used for 4.1.2 and above.

cisoprogressivo 10-09-2011 01:18 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2255081)
What version of VB are you using? If it's a more recent version the language is not controlled by my mod but by vBulletin settings.

The language in the template will only work for VB versions below 4.1.2. It doesn't even get used for 4.1.2 and above.

4.1.6
The language is set in italian but the Facebook button always show "Like" instead of "Mi Piace" (in italian)


All times are GMT. The time now is 09:06 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.02203 seconds
  • Memory Usage 1,856KB
  • 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
  • (11)bbcode_code_printable
  • (17)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