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.


All times are GMT. The time now is 01:18 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.01745 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
  • (3)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