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)

hoadiem 04-27-2010 11:14 PM

will this work with 4.0.3

Ranger375 04-28-2010 03:50 PM

yeah it works with 4.0.3

Red Spider 04-30-2010 09:47 AM

im struggling to get this working correctly as per the screenshots in OP.

When i click "like" it on my fb newsfeed it just says "xxx likes xxx forum"... does NOT say "xxx likes xxx on xxx forum" as per the screenshot. any help?

Crazyfruitbat 04-30-2010 01:36 PM

that works great in postbit legacy - front page articles would be great now

ericgtr 04-30-2010 03:26 PM

Quote:

Originally Posted by Red Spider (Post 2029468)
im struggling to get this working correctly as per the screenshots in OP.

When i click "like" it on my fb newsfeed it just says "xxx likes xxx forum"... does NOT say "xxx likes xxx on xxx forum" as per the screenshot. any help?

That usually means something isn't right with your forum path, I would double check it.

Quote:

Originally Posted by Crazyfruitbat (Post 2029548)
that works great in postbit legacy - front page articles would be great now

I have a location for that a little while back here https://vborg.vbsupport.ru/showpost....3&postcount=95

ijob 05-01-2010 07:10 AM

1 Attachment(s)
have installed this. cheers.

how do you include tweets like in my attached image?

wIrEs 05-01-2010 07:59 AM

any way to display "Be the first of your friends to like this." in a different language ? like spanish or french. What i am trying to say is when a user changes the Forum Language from the bottom of the page, the phrase "Be the first of your friends to like this." should change accordingly.
(installed) thanks!

RockstarNetwork 05-01-2010 07:28 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}
For pictures, in template album_pictureview add the code below this:
Code:

{vb:raw picturecomment_commentarea}
This gives you the idea, I haven't added it to the blog yet but it's just a matter of locating the right template.

This doesn't seem to work for me. No like button appears in the CMS article. I tried changing "THIS_SCRIPT == showthread" to "THIS_SCRIPT == content" with no luck either.

Any tips?

unfv 05-01-2010 08:28 PM

It worked for me, I have VB 4.0.3

RockstarNetwork 05-01-2010 11:38 PM

Okay I got it to work by removing the first and last lines containing the "<vb:if..." and "</vb:if>" code. Now to reposition it somewhere that's a bit more appealing...

Also, I'm having the same issue as on the previous page where it links to the forum thread for the article instead of the article itself. Any ideas on how to change that?

Edit: Resolved the above with this code in the cms article template:
Code:

<!-- Facebook Like -->
<iframe src="http://www.facebook.com/plugins/like.php?href={vb:raw page_url}&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:75px"></iframe>
<!-- / Facebook Like -->



All times are GMT. The time now is 03:37 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.01374 seconds
  • Memory Usage 1,739KB
  • 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
  • (3)bbcode_code_printable
  • (3)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