Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Template Modifications

Reply
 
Thread Tools
"Share" Button in NavBar and Showthread (links to over 200 social networking sites) Details »»
"Share" Button in NavBar and Showthread (links to over 200 social networking sites)
Version: 1.00, by bmckinley bmckinley is offline
Developer Last Online: Apr 2014 Show Printable Version Email this Page

Category: Social Group and Album Enhancements - Version: 3.8.x Rating:
Released: 07-25-2009 Last Update: Never Installs: 32
Template Edits
Re-useable Code Translations  
No support by the author.

This is more of an idea than a really involved mod. Just a little template edit that places the "Share" button from www.addthis.com the Navbar so your posts and threads can be Shared with the world easily. Thanks go out to all the other people who published mods that showed me how.

1. DEMO HERE to see if this is something you want to do.

2. Go to www.addthis.com and get your own button code. Save in WordPad then go to step 3.

3. In navbar template find:
Code:
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
                </if>
4. Insert below: (REPLACE CODE IN RED WITH CODE YOU GOT FROM WWW.ADDTHIS.COM IN STEP 2.)
Code:
<td class="vbmenu_control"><!-- AddThis Button BEGIN -->
<a href="http://www.addthis.com/bookmark.php?v=250&pub=hearts4horses" onmouseover="return addthis_open(this, '', '[url]', '[TITLE]')" onmouseout="addthis_close()" onclick="return addthis_sendto()"><img src="http://s7.addthis.com/static/btn/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=hearts4horses"></script>
<!-- AddThis Button END -->
</td>
5. Save

6. (optional) Post a thread notifying your members about the new feature.

7. Click "Installed"

This is a simple way to allow for additional cross networking for your forums.

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
Taleempoint

Comments
  #32  
Old 10-10-2009, 01:38 PM
linuxututs linuxututs is offline
 
Join Date: Oct 2009
Posts: 160
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by woffie View Post
I found another good place to put this.

In your SHOWTHREAD template find the code


Add this code above it. It will bookmark threads.
ShareThis also works with this Hack, but the navbar didn't show for me.
Code:
http://sharethis.com
( Sharethis also looks better to me )

Peace..............
Reply With Quote
  #33  
Old 10-11-2009, 07:26 AM
Rean Rean is offline
 
Join Date: Sep 2009
Location: Indonesia
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bmckinley View Post
Please create a user id and PW for me to log in to your forum and PM it to me along with the url for your forum. I will log in and try and see what is going on.
i did nothing, but suddenly this mod works well!
dont know what happened...
thanx for your help anyway
Reply With Quote
  #34  
Old 10-11-2009, 12:29 PM
Hostboard's Avatar
Hostboard Hostboard is offline
 
Join Date: May 2002
Location: CT
Posts: 843
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bmckinley View Post
Hostboard hit it right on the money...don't think the add this can be restricted to FB only.



The navbar thing would be really cool. Hostboard, do you want to either post or publish a hack on how to? if not, I'll do it, but your idea, so just go with it...if you publish, don't forget to come back here and edit in a link to your mod. Thanks for the help and suggestions about tms.
I would rather help you to expand this to include options for users so they can choose how they want to implement this on their site. I personaly hate having to choose between 1 modificaiton and another as inevitably there is something of both that I want but neither has it "all" Feel free to PM me and I will help you the best I can.
Reply With Quote
  #35  
Old 10-12-2009, 12:22 AM
bmckinley's Avatar
bmckinley bmckinley is offline
 
Join Date: Jun 2009
Location: Texas
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think between you and Woffie, the anywhere has been accomplished. As Woffie pointed out early in the thread, doesn't just have to go in navbar, he put it in the showthread template. You have shown others how to use it in the bookmarks temp.

There are of course about a million places it could be used. I think if people want to place it somewhere and can't figure it out, we can help them.

If you think it's better to edit the mod and create "anywhere" instructions, then let me know an we'll do that. I just really appreciate all your help.
Reply With Quote
  #36  
Old 11-10-2009, 05:47 PM
fatdr fatdr is offline
 
Join Date: Nov 2009
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i use in navbar and showthread ;
thats wonderfull working.
thanks
Reply With Quote
  #37  
Old 11-12-2009, 12:08 AM
bmckinley's Avatar
bmckinley bmckinley is offline
 
Join Date: Jun 2009
Location: Texas
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Glad it's working for you.
Reply With Quote
  #38  
Old 11-19-2009, 10:35 AM
Skydiver10's Avatar
Skydiver10 Skydiver10 is offline
 
Join Date: Sep 2009
Location: SoCal
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you!
Reply With Quote
  #39  
Old 11-20-2009, 01:37 PM
bmckinley's Avatar
bmckinley bmckinley is offline
 
Join Date: Jun 2009
Location: Texas
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Glad it's working for you. If you think of any other ares you would like to use, please let us know.
Reply With Quote
  #40  
Old 04-25-2010, 02:37 AM
Naan-Kadavul's Avatar
Naan-Kadavul Naan-Kadavul is offline
 
Join Date: Sep 2009
Location: Singpore
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks, screenshots wanted plz..
Reply With Quote
  #41  
Old 05-31-2010, 04:59 AM
TheKdd TheKdd is offline
 
Join Date: Oct 2008
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to exclude this from certain forums?
Reply With Quote
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 06:14 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.06485 seconds
  • Memory Usage 2,326KB
  • Queries Executed 27 (?)
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
  • (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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete