![]() |
I disagree.
From my knowledge of conditionals, even with multiple and / if / else statements inline. To display in particular forums the correct conditional is: Code:
<vb:if condition="in_array($forum['forumid'], array(1,2,3))">Show this to forum 1, 2 and 3</vb:if> |
$forum does not work for me
this does Code:
|
just try $thread
|
On dark themes the part where it says "likes this.Be the first of your friends to like this." is too hard to read... Is there a way to color code that to a lighter color?
|
Its an iframe, so apply a class to a div. Then add that class to your css
|
Quote:
Code:
<vb:if condition="THIS_SCRIPT == showthread && $post[postcount] == '1' && in_array($thread[forumid],array(2,3,8,9,13))"> |
Quote:
Also, please click Install if you use this. :) |
Quote:
|
I had to take this off my site.
The button loads slow and cracks out some people's browsers. I have it on for every post, which is pretty much the only thing I have use for it. Problem on Facebook's end. =( |
Quote:
|
Hi
I want to ask, the script works fine, it displays fine on peoples wall on facebook, but in VBULLETIN, different to how many people clicks on LIKE, it still displays , LIKE 1. Only 1 not acumulate, any help would be appreciated , thanks! |
Quote:
Please click install. :) |
tnx installed
|
I have this installed and working fine for forum posts, but how do I go about adding it for CMS articles, blog posts, and albums/pictures?
|
Quote:
For CMS, in vbcms_content_article_page add the code below this: Code:
{vb:raw comment_block} Code:
{vb:raw picturecomment_commentarea} |
Thanks, I added this code:
<!-- Facebook Like --> <iframe src="http://www.facebook.com/plugins/like.php?href=http://www.npac.ca/2010/{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_post}}&layout=button_count&show_f aces=false&width=450&action=like&color scheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:30px"></iframe> <!-- / Facebook Like --> in: vbcms_content_article_page after: <vb:if condition="$comment_block"> ... </vb:if> Example: http://npac.ca/2010/content.php/121-QA-with-Rod-MacIvor I click like, it shows up with the proper article title on my Facebook profile, however it links to the corresponding forum post for the article: http://www.npac.ca/2010/showthread.p...th-Rod-MacIvor The 'like' does appear in both the forum post and article though. How can I make it link straight back to the article? I'm not familiar with the {vb:link} stuff, so I don't really know what else to try instead. Thanks again for your help! |
FYI, I had the error, and realized you need the trailing / on the end of the url.
Added that, worked liked a charm, this was in Postibit Legacy. |
Awesome mod i will try it ..............
|
Is possible to add like thanks button or same locations?
|
I want code for button count 16x16
could you provide me code |
will this work with 4.0.3
|
yeah it works with 4.0.3
|
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 works great in postbit legacy - front page articles would be great now
|
Quote:
Quote:
|
1 Attachment(s)
have installed this. cheers.
how do you include tweets like in my attached image? |
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! |
Quote:
Any tips? |
It worked for me, I have VB 4.0.3
|
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 --> |
Quote:
EDIT: and rockstarnetworks code isn't working either. Also, any idea how to get it working in blogs? |
How do i get this for my articles and user blogs (cms)
that makes even more sense than just in the forum... |
Quote:
Quote:
|
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?
|
Quote:
|
Quote:
|
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}}&layout=standard&show_faces=true&wid th=450&action=like&font=tahoma&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. |
How can i add this to my CMS 2 ?
|
Quote:
|
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:
|
All times are GMT. The time now is 04:13 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|