avatar_orhan

Smf Social Bookmarks(Konuyu Paylaş)

Started by orhan, Dec 21, 2018, 11:02 AM

Previous topic - Next topic


Bu modu bir kac kişi istemişti yapmami zaman bulamamiştim yapmaya bir şeyler yapmaya caliştim umarim işinizi görür ben font icon kulandim görselerde siz isterseniz ikon kulana bilirsiniz

temanizin Display.templete.php dosyasinda

bul
<div class="signature" id="msg_', $message['id'], '_signature">', $message['member']['signature'], '</div>';
altina ekle

if ($message['id'] == $context['first_message'])
echo '

<ul class="sharepost">
                <li><a class="twitter"rel="nofollow"href="http://twitter.com/share?url=', $scripturl, '/topic,',$context['current_topic'], '.', $message['counter'], ';msg', $message['id'], '&title=Remember This Site" target="twitter"><i class="fa fa-twitter"/>Tweet</i></a></li>
 
                <li><a class="facebook" rel="nofollow"href="http://www.facebook.com/sharer.php?u=', $scripturl, '/topic,',$context['current_topic'], '.', $message['counter'], ';msg', $message['id'], '&title=Remember This Site" target="Share"><i class="fa fa-facebook"/>facebook</i></a></li>

                <li><a class="gplus" rel="nofollow"href="http://plus.google.com/share?url=', $scripturl, '/topic,',$context['current_topic'], '.', $message['counter'], ';msg', $message['id'], '&title=Remember This Site" target="google-plus"><i class="fa fa-google-plus"/>google-plus</i></a></li>

 <li><a class="linkedin" rel="nofollow"href="http://www.linkedin.com/shareArticle?mini=true&amp;amp;url=', $scripturl, '/topic,',$context['current_topic'], '.', $message['counter'], ';msg', $message['id'], '&title=Remember This Site" target="linkedin"><i class="fa fa-linkedin"/>linkedin</i></a></li>

                <li><a class="pinterest" rel="nofollow"href="http://pinterest.com/pin/create/button/?url=', $scripturl, '/topic,',$context['current_topic'], '.', $message['counter'], ';msg', $message['id'], '&title=Remember This Site" target="pinterest"><i class="fa fa-pinterest"/>pinterest</i></a></li>
</ul>';

temanizin index.css,inde

uygun bir yere ekleyin
/* CSS Share Button */
.sharepost li{width: 9%;padding:0;list-style:none;}
.sharepost li a{padding: 5px 0px;background-color:#aaa;color:#fff;display:block;border-radius:2px;}
.sharepost{overflow:hidden;text-align:center;margin-bottom: 0px;}
.sharepost li a:hover{opacity:1;color:#fff;}
.sharepost li .twitter:hover{background-color:#55acee}
.sharepost li .facebook:hover{background-color:#3b5998}
.sharepost li .gplus:hover{background-color:#dd4b39}
.sharepost li .pinterest:hover{background-color:#cc2127}
.sharepost li .linkedin:hover{background-color:#0976b4}
.sharepost li{float:left;margin-right: 0.2%;}
.sharepost li:last-child{margin-right:0}
.sharepost li .fa:before{margin-right:5px}