MyBB Community Forums

Full Version: Question about Social media share buttons?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Where can I drop the code for my social media SHARE buttons to only show up in threads and not the index page and other parts of the forum?

Right now I have the following code in my header but I don't want the share buttons to be displayed in the index page just in threads to share. I want a separate Follow buttons on my index page for members to like our pages.

<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style addthis_32x32_style">
<a class="addthis_button_preferred_1"></a>
<a class="addthis_button_preferred_2"></a>
<a class="addthis_button_preferred_3"></a>
<a class="addthis_button_preferred_4"></a>
<a class="addthis_button_compact"></a>
<a class="addthis_counter addthis_bubble_style"></a>
</div>
<script type="text/javascript">var addthis_config = {"data_track_addressbar":true};</script>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-50078b362817cca5"></script>
<!-- AddThis Button END -->

My forum url: http://carfanaticsforum.com/index.php
AdminCP > Templates > Your theme's templates > Showthread Templates > showthread > and paset the code.
(2012-07-19, 05:44 AM)Yaldaram Wrote: [ -> ]AdminCP > Templates > Your theme's templates > Showthread Templates > showthread > and paset the code.

Sorry, but where exactly in the edit template showthread do I add the code?

[attachment=26866]
Just below the {$pollbox} variable.
(2012-07-19, 07:38 AM)Yaldaram Wrote: [ -> ]Just below the {$pollbox} variable.

Thanks Yaldaram. Smile