Login to Website

Login dengan Facebook

 

Post Reply
Thread Tools
  #1  
Old 4th June 2011
maximillianw's Avatar
maximillianw
Ceriwis Lover
 
Join Date: Mar 2011
Location: underground
Posts: 1,876
Rep Power: 39
maximillianw is Ceriwis Gurumaximillianw is Ceriwis Gurumaximillianw is Ceriwis Gurumaximillianw is Ceriwis Gurumaximillianw is Ceriwis Gurumaximillianw is Ceriwis Gurumaximillianw is Ceriwis Gurumaximillianw is Ceriwis Gurumaximillianw is Ceriwis Gurumaximillianw is Ceriwis Gurumaximillianw is Ceriwis Guru
Default cara membuat facebook like comment share tweet google buzz pada showthread vbulletin

cara membuat facebook like comment share tweet google buzz pada showthread vbulletin forum

1. buka edit template --> postbit --> (( Postbit_Legacy ))

temukan code ini:

Code:
{vb:raw ad_location.thread_first_post_content}
lalu tambahkan dibawahnya script ini:

Code:
PHP Code:
<vb:if condition="(THIS_SCRIPT == showthread) AND ($post[postcount] == '1')"
<!-- Facebook Like -->
<
iframe src="http://www.facebook.com/plugins/like.php?href=http://www.YOURSITE.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 -->
</
vb:if> 
ganti---> .YOURSITE.com/ --> dengan link web anda


lalu dibawahnya juga langsung juga tambahkan script ini

Code:
<
PHP Code:
vb:if condition="THIS_SCRIPT == 'showthread'">

<
div style="float: right; padding: 0px 0px 0px 0px;">
<
div class="share-button buzz">
<
a title="Post to Google Buzz" class="google-buzz-button" href="http://www.google.com/buzz/post" data-button-style="normal-count" data-locale="en"></a>
<
script type="text/javascript" src="http://www.google.com/buzz/api/button.js"></script>
</
div></div>
<
div style="float: right; padding: 3px 8px 0px 0px;">
<
a href="http://twitter.com/share" class="twitter-share-button" data-count="vertical" data-via="YOUR TWITTER USERNAME" data-url="{vb:raw vboptions.bburl}/showthread.php?t={vb:raw threadid}" data-counturl="{vb:raw vboptions.bburl}/showthread.php?t={vb:raw threadid}">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div>
<
div style="float: right; padding: 3px 8px 0px 0px;">
<
div class="share-button fbit">
<
a name="fb_share" type="box_count" href="http://www.facebook.com/sharer.php?u=http://YOURSITEURL.COM/{vb:link thread, {vb:raw thread}">Share</a>
<
script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>
</
div>
<
br/></div
</vb:if>
YOUR TWITTER USERNAME ---> ganti dengan username twetter anda

YOURSITEURL.COM --> ganti dengan url web anda

done gitu aja

Sponsored Links
Space available
Post Reply




Switch to Mobile Mode

no new posts