Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
[Mod-Mall] Add This fixed in bottom corner - Increase social interaction Details »»
[Mod-Mall] Add This fixed in bottom corner - Increase social interaction
Version: 1.00, by nitra1000 nitra1000 is offline
Developer Last Online: Jun 2012 Show Printable Version Email this Page

Category: Mini Mods - Version: 4.1.2 Rating:
Released: 05-10-2011 Last Update: 05-10-2011 Installs: 6
Uses Plugins
 
No support by the author.

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.

Add This Website

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 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 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 Now

File Type: xml product-addthis_script.xml (8.0 KB, 29 views)

Screenshots

File Type: jpg addthis-screenshot.jpg (74.3 KB, 0 views)
File Type: jpg addthis-settings.jpg (138.0 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:25 AM.


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.04487 seconds
  • Memory Usage 2,216KB
  • Queries Executed 15 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (3)postbit_attachment
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete