[For 1.8] AddToAny Social Sharing Buttons on the subject wiews
#1
admincp-> Go Templates and Style-> Templates-> Themes -> Postbit Templates ->


postbit_classic  Find Template

{$post['button_delete_pm']}




Add this code right below

<!-- AddToAny BEGIN -->
<a class="a2a_dd" href="https://www.addtoany.com/share"> <i class="fa fa-heart"style="color: fuchsia;"> </i> Share
<script>
var a2a_config = a2a_config || {};
a2a_config.linkname = "share";
a2a_config.locale = "us";
</script>
<script async src="https://static.addtoany.com/menu/page.js"></script>
	<!-- AddToAny END -->

view

[Image: aE56jR.jpg]

Left Share Button code  

showthread Templates

<div class="a2a_kit a2a_kit_size_32 a2a_floating_style a2a_vertical_style" style="left:0px; top:150px;">
    <a class="a2a_button_facebook"></a>
    <a class="a2a_button_twitter"></a>
    <a class="a2a_button_google_plus"></a>
    <a class="a2a_button_pinterest"></a>
    <a class="a2a_dd" href="https://www.addtoany.com/share"></a>
</div>
<script async src="https://static.addtoany.com/menu/page.js"></script>


Attached Files Thumbnail(s)
   
Reply
#2
Not working...
Reply
#3
Tested moment ago and this is my version.

Doesn't matter either in postbit or postbit_classic

After

{$post['button_delete_pm']}


Add

<!-- AddToAny BEGIN -->
<a class="a2a_dd" href="https://www.addtoany.com/share?linkurl={$mybb->setting['bburl']}/{$post['postlink']}#pid{$post['pid']}">Share</a>
<script>
var a2a_config = a2a_config || {};
a2a_config.linkurl = "{$mybb->settings['bburl']}/{$post['postlink']}#pid{$post['pid']}";
</script>
<script async src="https://static.addtoany.com/menu/page.js"></script>
<!-- AddToAny END -->
Reply
#4
working Great thanks dude
Reply
#5
(2016-08-24, 03:58 PM)Michael_vx Wrote: working Great thanks dude
Well I will always prefer Addthis buttons, they provide great stats without any extra cost.
Reply
#6
topic updated (08.01.2021)
Our New Theme Published =  click to download
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)