Add like Button to 3.8.x for Threads >> direct and easy
Add like Button to 3.8.x for Threads >> direct and easy
1 - open VB control panel >> styles >> search in Templates for ( postbit ) Template >> open to edit 2 - search in ( postpit ) for Code:
<!-- message --> Code:
<div id="post_message_$post[postid]"> <if condition="($post[postcount]==1)"> <div style="float: left; margin: 0 0 0px 0px;"> <iframe src="http://www.facebook.com/widgets/like.php?locale=en_US&href=http://www.YOURDOMAIN.com/vb/showthread.php$session[sessionurl]?t=$thread[threadid]&layout=button_count&show_faces=false&width=168&action=like&colorscheme=light&height=25" scrolling="no" frameborder="0" allowtransparency="true" class="fbif" height="20" width="90" name="0"> </iframe></div> </div> </if> - This will make like button in the first post only and in the left of the page - this code when any one press like on the post , it will make the link which liked refer directly to Thread page >> ?t= on Facebook ... not like the old code >> ?p= .. and this is very good for Google and back links from Facebook plz rate this if u like Download No files for download. |
Similar Mods
Miscellaneous Hacks Add New Facebook "Like" Button to Threads and OpenGraph to Headinclude Automatically | vBulletin 3.8 Add-ons |