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)

Cadellin 05-08-2010 09:24 PM

Firstly this is a great mod - my members love it already and I'm expecting to pick a lot of traffic up from it so thank you :)

Secondly I can't get it working on albums. Using the {vb:raw page_URL} in the href attribute results in the following error from Facebook

Quote:

You must specify an URL as part of this widget or API.
What should I be using as the href for albums?

salvador21 05-09-2010 08:25 AM

Quote:

Originally Posted by ericgtr (Post 2033293)
Okay, just a couple of basics just to double check things. First we want to make sure you are sure the template is for the style you are using (even I overlook this sometimes) what I like to do is just type in "test" or something that will stick out where you would normally put that code and see if it displays.

OK I tried it with "test" and it showed up fine. Then I tried the code and nothing.

Then I tried the code with the vb:if and it works.

Code:

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

Maybe I missed it before in the CMS because it is positioned at the bottom of the article. I now have the code at the top of the article, after

Code:

<div class="article cms_clear restore postcontainer">

salvador21 05-09-2010 08:33 AM

I can now get it to show in a blog by using the code without the "vb:if etc", but when you click on it the link in Facebook is going to a thread in the forum instead.

BiZiMDiYaR 05-09-2010 06:14 PM

Hi,

I tried option 2, but it doesn;t show up... I have VB .3 and also edited the postbit with the code and added it, but still doesn't show up.. What am I doing wrong ?

Thanks.

Xencored 05-09-2010 06:24 PM

Quote:

Originally Posted by BiZiMDiYaR (Post 2034216)
Hi,

I tried option 2, but it doesn;t show up... I have VB .3 and also edited the postbit with the code and added it, but still doesn't show up.. What am I doing wrong ?


Thanks.

In Postbit (or legacy)
Which ever you are using you edit

BiZiMDiYaR 05-09-2010 08:48 PM

Quote:

Originally Posted by Animemike (Post 2034222)
In Postbit (or legacy)
Which ever you are using you edit

Hi,

I edited the postbit... I only need to edit 1, right ?

Thanks.

wIrEs 05-09-2010 09:54 PM

many unknown location in online.php, IP addresses are from facebook.
using vb4.0.3

Xencored 05-09-2010 10:14 PM

Quote:

Originally Posted by BiZiMDiYaR (Post 2034271)
Hi,

I edited the postbit... I only need to edit 1, right ?

Thanks.

you will need to edit which ever one you are using on your forums mate

my forums uses legacy

postbit legacy
https://vborg.vbsupport.ru/external/2010/05/51.png

postbit
https://vborg.vbsupport.ru/external/2010/05/52.png

BiZiMDiYaR 05-09-2010 11:44 PM

Quote:

Originally Posted by Animemike (Post 2034305)
you will need to edit which ever one you are using on your forums mate

my forums uses legacy

postbit legacy
https://vborg.vbsupport.ru/external/2010/05/51.png

postbit
https://vborg.vbsupport.ru/external/2010/05/52.png



Owwwww... so that was the case :))))

Thanks very much animemike :))) That did it..

murekhalir 05-11-2010 06:54 AM

option one... squishes my text content into a small box. Anyway to make the like button right aligned? and keep the true width of content text.


All times are GMT. The time now is 08:13 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.01349 seconds
  • Memory Usage 1,745KB
  • 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
  • (6)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