vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Miscellaneous Hacks - Share Buttons Bar by BOP5 (Facebook Like, Twitter, Google+1, and more share options) (https://vborg.vbsupport.ru/showthread.php?t=268967)

canaryforum 12-17-2011 10:57 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2274895)
You will need to edit the template more_share_options, find the code:

Code:

e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js';
and change it you your language settings.

What would I do if I have both English and Spanish installed as languages on my forum and want en_US if viewed in English and the Spanish equivalent if viewed in Spanish?

BirdOPrey5 12-19-2011 11:36 AM

I don't believe there is anything you can do about that. You might be able to use some sort of template conditional where you see what the current language id is and choose english or spanish based off that but I'm not going to support extensive code changes like this. There are articles on template conditionals in the articles section that can get you started.

B@Zzz... 12-25-2011 11:49 AM

Installed and works good (still playing with the settings) :)

Also changed the language of de facebooktext to dutch.
Is it possible to change all phrases to dutch?

B@Zzz... 12-25-2011 11:57 AM

Playing with the options and the first question is here:
Why do I have to fill in a number and where can I get this number (not by following the link):
Quote:

Facebook App ID
Your Facebook Application ID. If you don't have one, get one here.

BirdOPrey5 12-26-2011 06:07 PM

You need a facebook application ID for all facebook features to work. You must get it by following the link to the facebook developer's page, that is the only place you can get an app id.

As for other phrases in dutch, I don't think there are any other phrases, but if so you'd have to look up the button codes individually.

B@Zzz... 12-26-2011 06:20 PM

tnx for your answer, but what features will I get more with the appID?

When I follow the link I get this page:
https://developers.facebook.com/apps

But no ID?

VHLinks 12-31-2011 06:55 AM

Man I'm totally lost on the app thing. I must have the settings for it wrong.

I get the "Like" button on my forum no problem, I click it, it works and updates the counter. I look on my Facebook page, and NOTHING is on there. I did register an app and have an ID, and I put it in the plugin settings. Are there some other settings you need to do for the app to make it work? I mean I've put in the URL, email, name...I gotta be missing something.

HELP!!!

BirdOPrey5 12-31-2011 11:27 AM

Quote:

Originally Posted by B@Zzz... (Post 2281166)
tnx for your answer, but what features will I get more with the appID?

When I follow the link I get this page:
https://developers.facebook.com/apps

But no ID?

Posting that link doesn't mean much because it will be different for different people.
You must already be a facebook member and already be signed into your facebook account for the link to take you to the proper place.

If I remember right it takes you to a page that allows you to create an app, it doesn't just hand you an appid by clicking on it- you have to put in some info and when you are done you get an appid.

Quote:

Originally Posted by VHLinks (Post 2282471)
Man I'm totally lost on the app thing. I must have the settings for it wrong.

I get the "Like" button on my forum no problem, I click it, it works and updates the counter. I look on my Facebook page, and NOTHING is on there. I did register an app and have an ID, and I put it in the plugin settings. Are there some other settings you need to do for the app to make it work? I mean I've put in the URL, email, name...I gotta be missing something.

HELP!!!

Link to your site?

VHLinks 12-31-2011 10:12 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2282508)

Link to your site?

http://www.vhlinks.com/vbforums

Thank you very much for any help. This is driving me nuts!

BirdOPrey5 01-01-2012 09:12 PM

I put your site in the Facebook Debugger and got this:

https://developers.facebook.com/tool...ks-t52693.html

It's saying that there were too many redirects... if you scroll down you'll see at least two 301 redirects and a 3rd page.

I'm not really sure how or why this is happening- it may be the result of your .htaccess file or the way your domain is setup. I really don't have any more info- hopefully you know what is going on.


All times are GMT. The time now is 02:52 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.01291 seconds
  • Memory Usage 1,745KB
  • 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
  • (1)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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