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

Reply
 
Thread Tools
Addthis / Sharethis Bookmark Integration Details »»
Addthis / Sharethis Bookmark Integration
Version: 1.00, by F0xy F0xy is offline
Developer Last Online: Oct 2017 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.8.x Rating:
Released: 03-25-2009 Last Update: Never Installs: 88
Template Edits
Re-useable Code Translations  
No support by the author.

Loved the addition of bookmarks in vbulletin but hated the way they were placed at the bottom of the thread, each time I read a thread I immediately found myself scrolling to the top again. I tried moving the bookmarks to the top but didn't like the way they looked.

I came across http://www.addthis.com which allows you to add a handy piece of code to your website that allows you to bookmark a thread to any of the large bookmark sites, 34 different site's in total with out any mess or cluttering up the postbit area with tons of images. Plus addthis.com track all clicks and pages that have been submitted from your site. sharethis.com is a site that works exactly the same way.

AddThis and Sharethis is already on hundreds of thousands of websites including TIME Magazine, Oracle, TechCrunch, Freewebs, Entertainment Weekly, Topix, Lonely Planet, MySpace, PGA Tour, Tower Records, Squidoo, Zappos, FOX, ABC, CBS just to name a few and could be on your vbulletin forum within minutes!!

Demo click here then a thread to view demo


Quick and easy installation:
register an account at http://www.addthis.com and log in, once logged in click Get your button code! and scroll down to and choose from a number of different buttons and get your code.

in SHOWTHREAD
find:
HTML Code:
<td class="vbmenu_control" id="threadtools" nowrap="nowrap">
above add:

HTML Code:
<!-- AddThis Button BEGIN -->
<td class="vbmenu_control" id="addthis" nowrap="nowrap">
ADD THE ADDTHIS or SHARETHIS CODE HERE
</td>
<!-- AddThis Button END -->
done!

Download Now

File Type: txt Addthis - Sharethis Bookmark Integration.txt (272 Bytes, 264 views)

Screenshots

File Type: jpg whatsyourview.net3.jpg (43.4 KB, 0 views)
File Type: jpg whatsyourview.net4.jpg (52.8 KB, 0 views)

Show Your Support

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

Comments
  #32  
Old 04-08-2009, 12:50 AM
zefyx's Avatar
zefyx zefyx is offline
 
Join Date: Oct 2008
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks!
Reply With Quote
  #33  
Old 04-09-2009, 07:21 PM
F0xy's Avatar
F0xy F0xy is offline
 
Join Date: Mar 2008
Location: Ireland
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no worries lads, please remember to click install
Reply With Quote
  #34  
Old 04-10-2009, 12:55 PM
basilrath's Avatar
basilrath basilrath is offline
 
Join Date: Apr 2006
Posts: 741
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This has a bug within it ..........

If you go to the specific thread and quickly move to the bookmarks explorer (in my case ie7) crashes and closes down with an error "internet explorer cannot open http://yoursite.com/showthread 123456"

this does not seem to happen when the you leave for a 20 seconds or so........
Reply With Quote
  #35  
Old 04-10-2009, 03:42 PM
F0xy's Avatar
F0xy F0xy is offline
 
Join Date: Mar 2008
Location: Ireland
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by basilrath View Post
This has a bug within it ..........

If you go to the specific thread and quickly move to the bookmarks explorer (in my case ie7) crashes and closes down with an error "internet explorer cannot open http://yoursite.com/showthread 123456"

this does not seem to happen when the you leave for a 20 seconds or so........
your problem has nothing to do with this hack.
Reply With Quote
  #36  
Old 05-10-2009, 08:52 AM
Ogmuk Ogmuk is offline
 
Join Date: Jun 2003
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by basilrath View Post
This has a bug within it ..........

If you go to the specific thread and quickly move to the bookmarks explorer (in my case ie7) crashes and closes down with an error "internet explorer cannot open http://yoursite.com/showthread 123456"

this does not seem to happen when the you leave for a 20 seconds or so........
Yep, that's why I'm using ShareThis instead. It appears to be a limitation with AddThis' API.
Reply With Quote
  #37  
Old 05-11-2009, 09:14 AM
basilrath's Avatar
basilrath basilrath is offline
 
Join Date: Apr 2006
Posts: 741
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by F0xy View Post
your problem has nothing to do with this hack.
i have installed ie 8 and the problem has gone so im sorry to say it seems to be a problem with some browsers.
Reply With Quote
  #38  
Old 05-12-2009, 09:41 PM
HighRollerX HighRollerX is offline
 
Join Date: Jan 2009
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This code hack is not hacking it in 3.8.2...That <td class line does not exist in the SHOWTHREAD! Help...
Reply With Quote
  #39  
Old 05-12-2009, 11:19 PM
EagleNick's Avatar
EagleNick EagleNick is offline
 
Join Date: Dec 2007
Location: Florida
Posts: 517
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice. I implemented this myself and never thought to release it as a template mod.
Ah well, nice work!
Reply With Quote
  #40  
Old 07-09-2009, 10:03 PM
anjaan7979 anjaan7979 is offline
 
Join Date: Jan 2007
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I added ShareThis but here is one problem:

When you share the link the with someone it uses the last post link and not the first post / thread link. Does anyone know how to fix this?

Thank you
Reply With Quote
  #41  
Old 08-22-2009, 05:33 PM
slobra slobra is offline
 
Join Date: Jul 2008
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does anyone know how to make this visible to guests? Works great when logged in but not as a guest.

Marked as installed!

Edit: Nevermind, just remembered how to do it. FYI this shows it to the usergroups listed (in this case anyone who visits the site)...

Code:
<if condition="is_member_of($bbuserinfo, 1, 2, 3, 4, 5, 6, 7)">
<!-- AddThis Button BEGIN -->
<td class="vbmenu_control" id="addthis" nowrap="nowrap">
<a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&amp;pub=ADDTHIS_USERNAME"><img src="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" width="125" height="16" alt="Bookmark and Share" style="border:0"/></a><script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js?pub=ADDTHIS_USERNAME"></script>
</td>
<!-- AddThis Button END -->
</if>
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 03:45 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.11052 seconds
  • Memory Usage 2,342KB
  • Queries Executed 26 (?)
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
  • (1)bbcode_code
  • (2)bbcode_html
  • (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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete