![]() |
|
Mod Options |
![]() |
|||||||||||||||||||||||||||||||
Add New Facebook "Like" button to your threads
![]() Developer Last Online: Aug 2020 ![]() ![]() ![]()
![]() Please remember to click Mark as Installed if you use this modification.
Facebook has just launched their latest "Like" button to developers to use on any site. What this does is utilizes the Advertising module to add the "Like" button to the first post of each thread. Please see screenshots to get an idea. In your Admin CP go to Advertising > New Ad > Choose "Thread" from the dropdown and then select the first thread box. Give it a title (I called mine FB Like) leave "First Post Content" at default and paste in this code:
Be sure to change YOURSITE.com to your URL including your forum. The VBSEO team has instructions on how to make this work for their product here http://www.vbseo.com/f2/facebook-lik...95/#post265997 =========================================== Option 2 (different from above, do not use together) will show at top, see screenshot #3 In Postbit (or legacy) find:
Add this after:
For additional information on this button and different parameters please visit http://developers.facebook.com/docs/...e/plugins/like ================================================= For those who have asked, here is the modification adds both the "Like" button and comments to a users profile http://www.vbulletin.org/forum/showthread.php?t=239424 ================================================= Additional locations to place this code: For CMS, in vbcms_content_article_page add the code below this:
For pictures, in template album_pictureview add the code below this:
For Blog, in template blog_show_entry add at the very top. Download Now Only licensed members can download files, Click Here for more information. Addons Screenshots Show Your Support
No members have liked this post.
|
#31
|
||||
|
||||
Originally Posted by Alien
For reference, here is the code for it to only "show" in selected forums:![]()
No members have liked this post.
|
#32
|
||||
|
||||
Nevermind, couldn't wait. Had to install it now.
![]() Working perfectly! No members have liked this post.
|
#33
|
|||
|
|||
Very cool! I've done in like it post 29 and edited it so that the height=30 instead of 75 and it looks really good.
Would you put that forum conditional right underneath the code from post 29? No members have liked this post.
|
#34
|
|||
|
|||
Here's a screenshot.
![]() No members have liked this post.
|
#35
|
||||
|
||||
Any luck with vbseo, none work for me:
I get errors like:
with http obv. No members have liked this post.
|
#36
|
||||
|
||||
Originally Posted by neil.
Have you tried the code posted up in the second post of this thread?
![]()
No members have liked this post.
|
#37
|
||||
|
||||
Works a treat thanks Eric
__________________
![]() My Hacks [ click ] | Steve ~ Administrator for British Expats AustraliaBound.org/forum | Test our forum - user; don pass; pass123 Sports Tipping Mod - coming February 2010 ~ Show your Interest ! No members have liked this post.
|
#38
|
||||
|
||||
Shouldnt :
<vb:if condition="(THIS_SCRIPT == showthread) AND ($post[postcount] == '1')" be <vb:if condition="(THIS_SCRIPT == showthread) AND ($post[postcount] == '1')">
__________________
![]() My Hacks [ click ] | Steve ~ Administrator for British Expats AustraliaBound.org/forum | Test our forum - user; don pass; pass123 Sports Tipping Mod - coming February 2010 ~ Show your Interest ! No members have liked this post.
|
#39
|
||||
|
||||
Originally Posted by ericgtr
Thank you Eric, but as for the conditional, is there not a way to just exclude certain forums rather than only show to certain forum as I have many many forums and sub forums that I would like to display the Like button on and only say 4 forums and 7 subforums I would like to exclude lol. I am just finding my way around conditional at the moment and will try to refer to the article that details the conditional to work this one out on my own, but any help is greatly appreciated.![]()
I don't want to look stupid here but are those 2 conditionals not identical?
__________________
My Forum No members have liked this post.
|
#40
|
||||
|
||||
No he forgot closing bracket ">"
__________________
![]() My Hacks [ click ] | Steve ~ Administrator for British Expats AustraliaBound.org/forum | Test our forum - user; don pass; pass123 Sports Tipping Mod - coming February 2010 ~ Show your Interest ! No members have liked this post.
|
#41
|
||||||||
|
||||||||
Postbit_Legacy:
With VBSEO
Without VBSEO
No members have liked this post.
Last edited by Uberguilds; 23 Apr 2010 at 04:13. |
#42
|
||||
|
||||
this is nice and clean.It'll be nice to have something but for twitter
![]()
__________________
Android Custom Creations ![]() No members have liked this post.
|
#43
|
||||
|
||||
I suppose there is no way to have this mod show the member's forum username, instead of their real name from FB?
No members have liked this post.
|
#44
|
||||
|
||||
Unfortunately not.
No members have liked this post.
|
#45
|
||||
|
||||
Code as follows mate:
<vb:if ........> <--facebook code--> </vb:if>
__________________
![]() My Hacks [ click ] | Steve ~ Administrator for British Expats AustraliaBound.org/forum | Test our forum - user; don pass; pass123 Sports Tipping Mod - coming February 2010 ~ Show your Interest ! No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 18:29.