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)

speedimpulse 05-19-2010 07:06 PM

installed and working great

HobbesGTS 05-26-2010 05:40 PM

I added this code to the calendar_showeventsbit template, so now people can 'Like' events. I also have vbEventsForum installed, so not sure if it would be different for someone who didn't have it installed.

Code:

<vb:if condition="(THIS_SCRIPT == showthread)"
<!-- Facebook Like -->
<iframe src="http://www.facebook.com/plugins/like.php?href=http://www.mysite.com/forum/{vb:link thread, {vb:raw thread}}&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;font=tahoma&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:30px"></iframe>
<!-- / Facebook Like -->
</vb:if>


hcmagix 05-26-2010 08:30 PM

Quote:

Originally Posted by hilfe-forum (Post 2035941)
We have a Problem with the Facebook-Like Button in our Board. Sometimes the words are in english, sometimes in german. If it is in english and sombody clicks the "Like"-Button, appears "You like ist". If it is in german, appears the complete Name. Is there an facility for doing something, so that there appears only "You"?

dann setze statt facebook.com bitte facebook.de ein dann ist alles in deutsch :-)

Schreib mir bitte ob es bei Dir klappt, ich bekomme die Thread URL leider nicht nach Facebook

TeknoSounds 05-27-2010 02:08 AM

Recommendation:
Where you have in the Like link www.YOURSITE.com you should replace that with {vb:raw $vboptions[bburl]}

Fantastic mod :D Works great, tho I'm trying to figure out how to get it to post to the stream. Plus it doesn't say "likes this thread at mywebsite.com" it just says "likes this thread" and links to it.
I'm using the postbit option for install.

hcmagix 05-27-2010 08:50 PM

it works for me, thanks TeknoSounds :D

TeknoSounds 05-27-2010 10:30 PM

much welcome hcmagix :D

MichaelDance 05-28-2010 02:04 PM

Thanks mate love this :)

Gargi 06-01-2010 04:23 PM

The past two days I get the message "error" besides the URL to click. Anobody else got this Problem?

hcmagix 06-02-2010 03:05 AM

Yes, same here

Gargi 06-02-2010 03:46 AM

Seems to work again for now :)


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