vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Show Thread Enhancements - AddToAny Social networking and bookmarks for showthread (https://vborg.vbsupport.ru/showthread.php?t=249325)

Lee G 08-24-2010 10:00 PM

AddToAny Social networking and bookmarks for showthread
 
1 Attachment(s)
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
PHP Code:

<!-- / controls above postbits --> 

Add below
PHP Code:

<!-- / social media button --> 
 <
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 :)


All times are GMT. The time now is 09:24 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01386 seconds
  • Memory Usage 1,721KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete