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)

kall 05-17-2010 05:19 PM

Quote:

Originally Posted by Animemike (Post 2038112)
Lets say am doing this one "8WR_media_details"

PHP Code:

vB_Template::preRegister('8WR_media_details',array('facebook_liked_url' => $facebook_liked_url)); 

Just add that same as you just said?
Thanks again Kall <3

Hang on.. is this the only one you are having issues with, or was that also for the likes of show_entry etc as well?

Xencored 05-17-2010 06:06 PM

Quote:

Originally Posted by kall (Post 2038619)
Hang on.. is this the only one you are having issues with, or was that also for the likes of show_entry etc as well?

All ones mate i posted above :(

kall 05-17-2010 06:22 PM

Quote:

Originally Posted by Animemike (Post 2038656)
All ones mate i posted above :(

Oh.. dude, I am so sorry. Remember the whole "I am getting a horrid flu" thing?

Long story short, I told you to copy/paste/change the wrong line.

PHP Code:

vB_Template::preRegister('blog_show_entry'$templatevalues);
vB_Template::preRegister('album_pictureview'$templatevalues);
vB_Template::preRegister('postbit_legacy'$templatevalues);
vB_Template::preRegister('vbcms_content_article_page'$templatevalues);
vB_Template::preRegister('8WR_media_details'$templatevalues); 


Xencored 05-17-2010 07:19 PM

Quote:

Originally Posted by kall (Post 2038662)
Oh.. dude, I am so sorry. Remember the whole "I am getting a horrid flu" thing?

Long story short, I told you to copy/paste/change the wrong line.

PHP Code:

vB_Template::preRegister('blog_show_entry'$templatevalues);
vB_Template::preRegister('album_pictureview'$templatevalues);
vB_Template::preRegister('postbit_legacy'$templatevalues);
vB_Template::preRegister('vbcms_content_article_page'$templatevalues);
vB_Template::preRegister('8WR_media_details'$templatevalues); 


All right mate hehe

Add in both again?

kall 05-17-2010 07:23 PM

Umm. Nope. I realised where the doubleup was. :)

Pretty sure it's this one: Facebook/OpenGraph Integration - Navbar (and I will have to remember to rename that plugin to 'Button Insert' or something.)

Xencored 05-17-2010 07:32 PM

Quote:

Originally Posted by kall (Post 2038693)
Umm. Nope. I realised where the doubleup was. :)

Pretty sure it's this one: Facebook/OpenGraph Integration - Navbar (and I will have to remember to rename that plugin to 'Button Insert' or something.)

All right still not working :/ maybe what am trying to do just cant be done

mediax 05-17-2010 07:40 PM

hi it's not working :( i can't get the like box on the forums, only a emty box...

www.mforum.nl

kall 05-17-2010 07:50 PM

Quote:

Originally Posted by mediax (Post 2038700)
hi it's not working :( i can't get the like box on the forums, only a emty box...

www.mforum.nl

That's odd.. the code looks fine..

Try this. Change everything within fbog_like_showthread to this:

Code:

<div style="padding: 5px; border: 1px solid #3F6F81; background: #ffffff; font-size: 10px; width: 300px;">
<iframe src="http://www.facebook.com/plugins/like.php?href={vb:raw vboptions.bburl}{vb:raw relpath}&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;font&amp;colorscheme=light&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe>
</div>


kall 05-17-2010 07:51 PM

Oh and.. it would have been really sensible to point out that your site is vSBEOd, and which version you are using.

mediax 05-17-2010 07:57 PM

hi i'm using vbseo 3.5


All times are GMT. The time now is 04:09 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.01083 seconds
  • Memory Usage 1,753KB
  • 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
  • (3)bbcode_php_printable
  • (6)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