vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Show Thread Enhancements - Add New Facebook "Like" button to your threads (https://vborg.vbsupport.ru/showthread.php?t=241011)

salvador21 05-02-2010 02:27 PM

Quote:

Originally Posted by ericgtr (Post 2027633)
Here's some suggestions.

For CMS, in vbcms_content_article_page add the code below this:
Code:

{vb:raw comment_block}

This didn't work for me, it's fine on forum threads though (in the postbit legacy template)

EDIT: and rockstarnetworks code isn't working either.

Also, any idea how to get it working in blogs?

asus78 05-03-2010 12:51 PM

How do i get this for my articles and user blogs (cms)

that makes even more sense than just in the forum...

ericgtr 05-03-2010 02:27 PM

Quote:

Originally Posted by salvador21 (Post 2030585)
This didn't work for me, it's fine on forum threads though (in the postbit legacy template)

EDIT: and rockstarnetworks code isn't working either.

Also, any idea how to get it working in blogs?

Quote:

Originally Posted by asus78 (Post 2031094)
How do i get this for my articles and user blogs (cms)

that makes even more sense than just in the forum...

I've updated the first post to give the locations frequently asked here, these include photo albums, blogs and vbcms.

maipoman 05-04-2010 05:19 PM

But when you add this to a vbcms article, the link that is posted on Facebook is the one to vBCms Comments forum, not the article itself. Is there a way to fix this?

RockstarNetwork 05-04-2010 11:35 PM

Quote:

Originally Posted by maipoman (Post 2031701)
But when you add this to a vbcms article, the link that is posted on Facebook is the one to vBCms Comments forum, not the article itself. Is there a way to fix this?

See my post #110 above to fix this.

maipoman 05-05-2010 06:02 AM

Quote:

Originally Posted by RockstarNetwork (Post 2031871)
See my post #110 above to fix this.

Thank you, that worked like a charm! :)

Jabong82 05-05-2010 07:32 AM

Hey great Mod. I want to use this on my blog, but I think I need to modify the code?

I tried to use the post bit legacy version and did this:


<!-- Facebook Like -->
<iframe src="http://www.facebook.com/plugins/like.php?href=http://www.YOURSITE.com/{vb:link blog, {vb:raw blog}}&amp;layout=standard&amp;show_faces=true&amp;wid th=450&amp;action=like&amp;font=tahoma&amp;colorsc heme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:75px"></iframe>
<!-- / Facebook Like -->



Using this code it posts to facebook however the title is wrong, and it doesn't go to the specific blog, but rather all of the users blogs.


Is there a way to use the PostBit Legacy version you posted of the mod but make it work for blogs in the exact same way? (ie. posts blog title on FB and connects to the right blog?).

I know your other mod where you add the FB comment box has a "like" button that accomplishes this. I would like that basically without the cumbersome comment box (only like button).

Thanks in advance.

gyaronn 05-05-2010 12:08 PM

How can i add this to my CMS 2 ?

ericgtr 05-05-2010 01:34 PM

Quote:

Originally Posted by gyaronn (Post 2032084)
How can i add this to my CMS 2 ?

This code can be used pretty much anywhere, so it's just a matter of finding a location in your template for it. Not sure about CMS2 but what I normally do is find the template then look for keywords on the page that correspond to that template for placement ideas.

gyaronn 05-05-2010 07:45 PM

ok and another question i am traying to make a Like Box from facebook as a widget at my web site (www.fmsas.org) by using this code :
Quote:

<iframe src="http://www.facebook.com/plugins/likebox.php?profile_id=189546965717&amp;width=226& amp;height=295&amp;connections=6&amp;stream=false& amp;header=false" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:226px; height:295px;" allowTransparency="true"></iframe>
but for some reason it does not work can any one help me?


All times are GMT. The time now is 09:44 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.01404 seconds
  • Memory Usage 1,744KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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