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)
-   -   Mini Mods - Facebook Like Button on Thread (https://vborg.vbsupport.ru/showthread.php?t=259503)

saviola8x 02-25-2011 10:00 PM

Facebook Like Button on Thread
 
1 Attachment(s)
Live Demo : http://facebookad.vn/forum/showthread.php?575


Open Postbit Template

Search:
Code:

<vb:if condition="(THIS_SCRIPT == showthread) AND ($post[postcount] == '1')"
Add under:
Code:

<iframe id="fb_likeframe" src="http://www.facebook.com/plugins/like.php?href=yourdomain.com/forum/{vb:raw relpath}&amp;layout=standard&amp;show_faces=false&amp;width=550&amp;action=like&amp;colorscheme=light&amp;height=45" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:550px; height:45px;" allowTransparency="true"></iframe><br>

Cobe. 02-26-2011 08:35 PM

Does this also add the like to facebook or is it just a button.

Also could you maybe do this w/ the Post Thanks/Groan Hack?

BlueCheri 02-27-2011 03:59 PM

Looks good waiting for more comments.

posh007 02-27-2011 06:30 PM

I agree with Cobe. Is this just a button or does it connect to fb?

I want a button that DOES NOT connect to fb but allows users to LIKE thread.

Last_Zero 02-28-2011 06:04 AM

Quote:

Originally Posted by posh007 (Post 2167618)
I agree with Cobe. Is this just a button or does it connect to fb?

I want a button that DOES NOT connect to fb but allows users to LIKE thread.

No Connect In Code Its Just Like The Topic

want3ed 03-03-2011 11:41 AM

i cant find ?

Quote:

<vb:if condition="(THIS_SCRIPT == showthread) AND ($post[postcount] == '1')"

reddyink 03-22-2011 07:35 PM

This is excellent integration of Facebook "like"

I am also impressed with your forum with integrates facebook comments into showthread. Do you mind sharing the selling that MOD?
http://facebookad.vn/forum/showthread.php?575

anushkumarb 04-20-2011 01:44 PM

Quote:

Originally Posted by want3ed (Post 2169077)
i cant find ?

Quote:

<vb:if condition="(THIS_SCRIPT == showthread) AND ($post[postcount] == '1')"
I do have the same problem can you specify exactly how to locate it.

eh69 05-03-2011 11:17 AM

This mod only adding "Like button". Try add it code to showthread.

jskoh 05-15-2011 07:22 PM

can this fb like be on every post of a thread? meaning user can click on like button on a thread on 3rd post but does not include the 1st post?


All times are GMT. The time now is 11:30 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.02069 seconds
  • Memory Usage 1,728KB
  • 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_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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