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)
-   -   Integration with vBulletin - Add New Facebook "Like" Button and Social Plugins (and OpenGraph to Headinclude) (https://vborg.vbsupport.ru/showthread.php?t=242525)

Xencored 05-16-2010 05:31 AM

Quote:

Originally Posted by kall (Post 2037734)
There is, I'm working on that. :)

Early warning: If you are using Standard URLs, you're going to end up pulling your hair out. FB will treat all the different URLs as different pages, so the Like figures wont show right at all.

@TFAu: It will be related to the xmlns stuff in the head, I would guess. YAFB has the same problem.

Indeed ive been trying to do this for days gettting it work on albums and blogs am sure you can do it :)

How can i move the Button /box mate. I have i place am after adding it

Thanks again

P.S also Kall on your site when looking at a profile i see "Two" Like buttons :D thought you should know if you didnt :)

kall 05-16-2010 07:11 AM

Quote:

Originally Posted by Animemike (Post 2037736)
How can i move the Button /box mate. I have i place am after adding it

P.S also Kall on your site when looking at a profile i see "Two" Like buttons :D thought you should know if you didnt :)

Those 2 things would be related... I'm about to release a version that just goes in the navbar and shows on all 'content' pages. I've restricted it with the standard THIS_SCRIPT conditionals that one should use for Ads. (but not removed the old one from the MEMBERINFO template ;) )

I have the vBSEO version ready to go, but now I have to work on the non-vBSEO'd one.

TimberFloorAu 05-16-2010 07:12 AM

Cheers Kall.

I have never had the YAFB , but .. I know couple of weeks ago, we did a php rollback, to get ioncube working. We have now re-upgraded to latest php.

I will give this hack another go.

Cheers. Ste

TimberFloorAu 05-16-2010 07:18 AM

Ok done some digging the file that keeps being downloaded, when we are on webpages is receiver.php

Which is the facebook file.
Why on earth.... grrrr ( gonna have to submit support ticket with vb )

kall 05-16-2010 07:18 AM

Quote:

Originally Posted by TimberFloorAu (Post 2037765)
Cheers Kall.

I have never had the YAFB , but .. I know couple of weeks ago, we did a php rollback, to get ioncube working. We have now re-upgraded to latest php.

I will give this hack another go.

Cheers. Ste

If it's not working, check the source of a page, look in the very top part. If what I am guessing is true, there'll be a double-up/screwup in there somewhere.

*edit* This modification *does* mess with that stuff in the header.. I have tried to make it non-breaking using conditionals, but yeah.. (it's been a while since I made anything.)

kall 05-16-2010 08:12 AM

Version 0.4 uploaded - to uninstall, remove the like code from SHOWTHREAD and import the 0.4 product.

This one works on all 'content' pages, comes in the navbar (you need to add the code. :) )

ellinofatsa 05-16-2010 08:15 AM

thanks its working good on my forum vb4,3

mediax 05-16-2010 12:38 PM

is there a sollution for vbseo users?

I can't see the like button there is a empty container without the like button

Xencored 05-16-2010 02:11 PM

Awesome Kall!

Is it ok to add the code

PHP Code:

<vb:if condition="THIS_SCRIPT != 'login' AND THIS_SCRIPT != 'private' AND THIS_SCRIPT != 'register' AND THIS_SCRIPT != 'usercp' AND THIS_SCRIPT != 'faq' AND THIS_SCRIPT != 'search' AND THIS_SCRIPT != 'newreply' AND THIS_SCRIPT != 'newthread' AND THIS_SCRIPT != 'sendmessage' AND THIS_SCRIPT != 'payments'">{vb:raw fbog_likebutton}</vb:if> 

on the pages i want and it will work fine?
Thanks

dam so close to what i was after added that code to album and blog pages didnt work :(

kall 05-16-2010 07:10 PM

Quote:

Originally Posted by Animemike (Post 2037923)
Awesome Kall!

Is it ok to add the code

PHP Code:

<vb:if condition="THIS_SCRIPT != 'login' AND THIS_SCRIPT != 'private' AND THIS_SCRIPT != 'register' AND THIS_SCRIPT != 'usercp' AND THIS_SCRIPT != 'faq' AND THIS_SCRIPT != 'search' AND THIS_SCRIPT != 'newreply' AND THIS_SCRIPT != 'newthread' AND THIS_SCRIPT != 'sendmessage' AND THIS_SCRIPT != 'payments'">{vb:raw fbog_likebutton}</vb:if> 

on the pages i want and it will work fine?
Thanks

dam so close to what i was after added that code to album and blog pages didnt work :(

That was the plan.. how 'doesnt it work'?

*edit* You do have to put the code in the navbar template at the moment...


All times are GMT. The time now is 05:55 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.01166 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_php_printable
  • (4)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