Back to vBulletin 4.x Add-ons

[Mod-Mall] Add This fixed in bottom corner - Increase social interaction
Mod Version: 1.00, by nitra1000

vB Version: 4.1.2 Rating: (1 vote - 5.00 average) Installs: 6
Released: 11 May 2011 Last Update: 11 May 2011 Downloads: 30
Not Supported Uses Plugins External Content  

What Add This Does
Add this is a social media sharing button, that also provides useful analytics. It's looks are customizable, and there is alot of flexability by default.

http://www.addthis.com/

No demo at the moment (if you install this and use it PM me your sites address to be featured here)

What This Mod Does
This mod inserts the javascript in your header template, saving you from having to edit or revert your templates every upgrade.

It also has built in conditionals to allow you (or your users) to configure who the script is active for


Currently supports
  • Disable for guests
  • Allow users to enable/disable from their options
  • Set which usergroups to show the bar to (i.e only to members who have donated)
  • Set a postcount at which the bar is available
  • More coming soon...

How to install
  1. Import the xml
  2. Register at http://www.addthis.com/, and configure your sharing button (doesn't matter which you pick)
  3. It should give you some code that looks like the below to insert into your header
    Code:
    <!-- AddThis Button BEGIN -->
    <div class="addthis_toolbox addthis_default_style ">
    <a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
    <a class="addthis_button_tweet"></a>
    <a class="addthis_counter addthis_pill_style"></a>
    </div>
    <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=xa-4dca78e00168c8f1"></script>
    <!-- AddThis Button END -->
  4. copy and paste this into the script box found in your admincp under Settings>Options>Add Wibiya Script
  5. Activate and configure the add on in the same screen

To allow users to turn add this on and off
  1. Do all the steps listed in install
  2. in your admincp go to "Add New User Profile Field"
  3. Select "Single Selection Radio Buttons" and fill in the following
    (you can change these as you see fit but these are my setup)
    • Title: Add This (or whatever you like)
    • Description: Turn the Add This at bottom of page on or off.
    • Profile Field Category: Doesn't matter
    • Options:
      • On
      • Off
    • Display Order: Doesn't Matter
    • Field Required: No
    • Field Editable by User: Yes
    • Private Field: No
    • Field Searchable on Members List: No
    • Show on Members List: No
  4. Save that, and note down the name (note this isn't the title and should be something like "field13"
  5. Go back to Settings>Options>Add addthis Script
  6. Fill in the What is the fieldid box with the name of your field
  7. Fill in the disabled text (in the example above this would "Off" without the quotes)
  8. Select Yes to allow users to enable/disable toolbar

To turn off inline styles
  1. Login to admincp
  2. Go to Style Manager > Edit Templates - of your top template
  3. Open “CSS Templates” and edit additional.css
  4. Add at the bottom
    Code:
    #addthisleft {position:fixed; left: 5px; bottom: 0px;}
    #addthisright {position:fixed; left: 5px; bottom: 0px;}
  5. Save the Template
  6. JOBS DONE!


How to upgrade
  1. Import the xml, set overwrite to allow/yes/on
  2. Check the settings at Settings>Options>Add addthis Script


Releases
V1.0 - Initial Release

To Do List
  • Allow insert into other hooks (insert button elsewhere)
  • Additional forum checks (Forum ID)
  • Additional style checks

Notes
I will support this modification but not addthis... if you need help signing up or using the service... You can find help on the http://addthis.com website.

Do not remove the copyright link without getting permission... If you REALLLY want to PM me and ask for permission

Please note I have nothing to do with add this

Download

File Type: %1$s product-addthis_script.xml (8.0 KB, 31 downloads)

Screenshots

Click image for larger version
Name:	addthis-screenshot.jpg
Views:	450
Size:	74.3 KB
ID:	128993   Click image for larger version
Name:	addthis-settings.jpg
Views:	203
Size:	138.0 KB
ID:	128994  


vblts.ru supports vBulletin®, 2022-2024