PDA

View Full Version : Show Thread Enhancements - AddToAny Social networking and bookmarks for showthread


Lee G
08-24-2010, 10:00 PM
This is my second hack if you can call it that.

This will add an AddToAny button on show thread pages.
http://www.addtoany.com/

The AddToAny button is social networking, bookmark and email button for both guests and members to share links to your forums.

I have tried this on a forum running 3.8.1 with VBSEO and it works like a dream.

Its a simple bit of code to add to your show thread pages.

In SHOWTHREAD find
<!-- / controls above postbits -->

Add below
<!-- / social media button -->
<a class="a2a_dd" href="http://www.addtoany.com/share_save"><img src="http://static.addtoany.com/buttons/share_save_256_24.png" width="256" height="24" border="0" alt="Share/Bookmark"/></a>
<script type="text/javascript" src="http://static.addtoany.com/menu/page.js"></script>
<!-- / social media button -->

You can change the button size by going to http://www.addtoany.com/
And then changing the code between <!-- / social media button -->

I have used the biggest button they have to make it stand out more.
The more people see it, the more chance of people using it.

You can see the button and try it on my forums
http://www.thespainforum.com/

If like me and you also have Vbulletin Blogs running on your forum, I have added the code for adding the button on a separate hack
https://vborg.vbsupport.ru/showthread.php?t=249319

TwiMaster
08-27-2010, 06:59 AM
thanks ;)

PokerVillain
08-31-2010, 12:19 AM
Very nice, working well over at http://www.theps4forums.com/board :)