Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
AddThis - Facebook Like, Tweet and Share buttons Details »»
AddThis - Facebook Like, Tweet and Share buttons
Version: 1.1, by joomla joomla is offline
Developer Last Online: Jun 2018 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 4.2.x Rating:
Released: 02-19-2011 Last Update: Never Installs: 98
Template Edits
Translations  
No support by the author.

Make sharing easy with the most popular sharing platform in the world.
http://www.addthis.com


Tested On: Firefox, Chrome and IE8-9





How To Install


Open Template (SHOWTHREAD)

Search For

Code:
<div id="pagetitle" class="pagetitle">
Add Below It

Code:
<vb:if condition="THIS_SCRIPT == 'showthread'">
<div style="float: right; padding: 0px 0px 0px 0px;">
<!-- 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_button_google_plusone" g:plusone:size="medium"></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-4fc7b85501ab7a01"></script>
<!-- AddThis Button END -->
</div>
</vb:if>
Update:
Facebook, tweet google plus and more options https://www.addthis.com/get

Show Your Support

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

Comments
  #2  
Old 02-20-2011, 09:14 PM
OldSchoolDSL OldSchoolDSL is offline
 
Join Date: Oct 2010
Posts: 1,196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

IMPORTANT: When applying the above modification, please remember to change your user name in the code YOUR user name and not use the authors.

PHP Code:
#username=YOUR USER NAME" 
Reply With Quote
  #3  
Old 02-20-2011, 09:15 PM
Randomm Randomm is offline
 
Join Date: Jul 2010
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

haha thanks OldSchool for the head up

tagged
Reply With Quote
  #4  
Old 02-20-2011, 10:11 PM
BlueCheri's Avatar
BlueCheri BlueCheri is offline
 
Join Date: Jul 2009
Posts: 339
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry may be dumb question, do I need to have 'Add This' username?

Thanx in advance

Quote:
Originally Posted by OldSchoolDSL View Post
IMPORTANT: When applying the above modification, please remember to change your user name in the code YOUR user name and not use the authors.

PHP Code:
#username=YOUR USER NAME" 
Reply With Quote
  #5  
Old 02-20-2011, 10:45 PM
OldSchoolDSL OldSchoolDSL is offline
 
Join Date: Oct 2010
Posts: 1,196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BlueCheri View Post
Sorry may be dumb question, do I need to have 'Add This' username?

Thanx in advance
It is advised. This will allow you to track user statistics for FREE using AddThis.com

You can visit AddThis.com to format the code however, without it.
Reply With Quote
  #6  
Old 02-20-2011, 11:19 PM
AURFSCAN AURFSCAN is offline
 
Join Date: Dec 2007
Posts: 328
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks joomla , I have had this before but this is a good spot for it.

just go to addthis.com , sign up get your own button code and replace the red code
with your own you get from addthis.com

Code:
<vb:if condition="THIS_SCRIPT == 'showthread'">
<div style="float: right; padding: 0px 0px 0px 0px;">
<!-- 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#username=xa-4d61862450ce0855"></script>
<!-- AddThis Button END -->
</div>
</vb:if>


also you dont need to use their image you can use your own

I made mine to suit my colors and style

Attached Images
File Type: jpg share.jpg (52.5 KB, 0 views)
Reply With Quote
  #7  
Old 02-21-2011, 12:36 AM
3amalah 3amalah is offline
 
Join Date: Nov 2010
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks But I Need To Know Why Every Time I Refresh The Page Counter Return To Zero ?
Reply With Quote
  #8  
Old 02-21-2011, 12:53 AM
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Location: Google Kansas
Posts: 4,678
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I didn't know you could track stats with addthis
I've used sharethis (http://sharethis.com/) to do the same but I didn't like the load time.
I'll try it with the addthis code to see how bad it is

thx
Reply With Quote
  #9  
Old 02-21-2011, 01:09 AM
thr45h3r's Avatar
thr45h3r thr45h3r is offline
 
Join Date: Mar 2010
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks marked installed
Reply With Quote
  #10  
Old 02-21-2011, 02:54 AM
BlueCheri's Avatar
BlueCheri BlueCheri is offline
 
Join Date: Jul 2009
Posts: 339
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, thanx for help and advice.

Yes I also face the counter (twitter) problem

Quote:
Originally Posted by OldSchoolDSL View Post
It is advised. This will allow you to track user statistics for FREE using AddThis.com

You can visit AddThis.com to format the code however, without it.
Reply With Quote
Reply


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:08 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04624 seconds
  • Memory Usage 2,326KB
  • Queries Executed 24 (?)
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
  • (3)bbcode_code
  • (2)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete