The Arcive of vBulletin Modifications Site. |
|
Add like Button to 3.8.x for Threads >> direct and easy Details »»
|
|||||||||||||||||||||||||||
|
Add like Button to 3.8.x for Threads >> direct and easy
Developer Last Online: Jun 2013
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 ![]() Show Your Support
|
|||||||||||||||||||||||||||
| 2 благодарности(ей) от: | ||
| Desesperao, LILMO | ||
| Comments |
|
#2
|
||||
|
||||
|
Quote:
|
|
#3
|
|||
|
|||
|
sorry this was a wrong from me .. u can see the post again now
|
|
#4
|
|||
|
|||
|
I know you said if there's an error not to worry about it, but it looks like your code is leaving an open <if> and two open <div>'s
|
|
#5
|
|||
|
|||
|
Quote:
thank u now code is True 100 % |
|
#6
|
||||
|
||||
|
this is a template modification !
:P
|
|
#7
|
|||
|
|||
|
Will this work with VBSEO?
|
|
#8
|
|||
|
|||
|
It's not pretty but it works
|
|
#9
|
|||
|
|||
|
Screen shots?
|
|
#10
|
|||
|
|||
|
caps? please...
|
![]() |
|
|