Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
vBsociable Details »»
vBsociable
Version: 1.0.2, by Eric Eric is offline
Developer Last Online: Jun 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.6.x Rating:
Released: 06-10-2007 Last Update: 06-20-2007 Installs: 170
Uses Plugins Template Edits
Re-useable Code Additional Files  
No support by the author.

What is this!?
This modification is a continuation of my vBdigger hack. This hack displays buttons in a new thread tools menu "Submit Tools" that will allow your users to submit a thread to many of the popular social sites such as digg, del.icio.us, reddit, etc.

Current Version
1.0.2

Current Features:
Can submit to the following sites:
  • del.icio.us
  • Digg
  • Facebook
  • feedmelinks
  • Furl
  • Ma.gnolia
  • NewsVine
  • Netscape
  • Reddit
  • Slashdot
  • SphereIt
  • Spurl
  • StumbleUpon
  • Technorati
  • YahooMyWeb

It allows to disable this menu for certain forums, turn it on/off, open the links in a new window or not.

Features flagged for future version(s):
  • Allow to remove sites from the listing, via ACP
  • Add: google, askjeeves, earthlink, simpy, bluedot.us and indianpad
  • Anything else that you all suggest.

Will this work on x.x.x ??
Unless otherwise stated, this will work on all 3.6 versions.

Sounds cool. How do I install?
  1. Upload the images found in images/buttons/ to your images/buttons/ folder.
  2. Import the product, product-vBsociable.xml
  3. Make the following template edits:
    SHOWTHREAD

    Find:
    HTML Code:
    	<td class="vbmenu_control" id="threadtools" nowrap="nowrap">
    		<a href="$show[nojs_link]#goto_threadtools"<if condition="is_browser('ie')"> accesskey="3"</if>>$vbphrase[thread_tools]</a>
    		<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadtools"); </script></if>
    	</td>
    Add before:
    HTML Code:
    	<if condition="$show['vBsociable']">
    	<td class="vbmenu_control" id="vBsociable" nowrap="nowrap">
    		<a href="$show[nojs_link]#goto_vBsociable">$vbphrase[vBsociable]</a>
    		<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("vBsociable"); </script></if>
    	</td>
    	</if>
    Find:
    HTML Code:
    <!-- thread tools menu -->
    Add before:
    HTML Code:
    <if condition="$show['vBsociable']">
    <!-- vBsociable menu -->
    <div class="vbmenu_popup" id="vBsociable_menu" style="display:none">
    	<table cellpadding="4" cellspacing="1" border="0">
    	<tr>
    		<td class="thead">$vbphrase[vBsociable]<a name="goto_vBsociable"></a></td>
    	</tr>
    	<tr>
    		<td class="vbmenu_option">$vbphrase[vBsociable_submit]</td>
    	</tr>
    	$vBsociablebits
    	</table>
    </div>
    <!-- / vBsociable menu -->
    </if>
  4. Set options in AdminCP > vBulletin Options > Tread Display Options (showthread)

UPGRADING
1.0.1 to 1.0.2
- Upload images/buttons/facebook.png to your images/buttons directory - OR - download the attached facebook image and upload it; then..
- Re-import the product file (which is attached), product-vBsociable.xml - with "Allow overwrite" set to "yes"

1.0.0 to 1.0.1
- Just re-import the product file (which is attached), product-vBsociable.xml - with "Allow overwrite" set to "yes"


That's it! Enjoy!

Changelog
1.0.2 - June 20, 2007
- Added Facebook.


1.0.1 - June 11, 2007
- Fixed the URL for Stumbleupon.


1.0.0 - June 11, 2007
- Initial release.


If you use this modification, please mark as >> INSTALLED <<, TY!

Show Your Support

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

Comments
  #12  
Old 06-11-2007, 01:06 PM
Eric's Avatar
Eric Eric is offline
 
Join Date: May 2006
Location: Kentucky
Posts: 792
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by chuchukuttie View Post
Could you add Facebook.com too?
I'll check into that as well
Reply With Quote
  #13  
Old 06-11-2007, 01:07 PM
projectego's Avatar
projectego projectego is offline
 
Join Date: Feb 2006
Location: UK
Posts: 724
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very, very nice! Me likey...
Reply With Quote
  #14  
Old 06-11-2007, 02:15 PM
QsKGlobal.com QsKGlobal.com is offline
 
Join Date: Mar 2007
Location: Rockford, IL
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by projectego View Post
Very, very nice! Me likey...
That goes double for me. Installed
Reply With Quote
  #15  
Old 06-11-2007, 03:25 PM
iogames's Avatar
iogames iogames is offline
 
Join Date: Jan 2007
Location: Las Vegas, NV.
Posts: 1,433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have vBSEO installed does it works together? since vBSEO includes some of the function that your hack does...
Reply With Quote
  #16  
Old 06-11-2007, 03:34 PM
Eric's Avatar
Eric Eric is offline
 
Join Date: May 2006
Location: Kentucky
Posts: 792
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by iogames View Post
I have vBSEO installed does it works together? since vBSEO includes some of the function that your hack does...
I don't have vBSEO, so I did not code this with vBSEO in mind.. - so the url's that are submitted won't use the 'pretty' ur'ls vBSEO produces.

As far as them working together... again, I don't have vBSEO - so I can't say for sure.
Reply With Quote
  #17  
Old 06-11-2007, 04:37 PM
obmob obmob is offline
 
Join Date: Nov 2001
Posts: 580
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good idea, thanks!
Reply With Quote
  #18  
Old 06-11-2007, 06:56 PM
theFAILURE's Avatar
theFAILURE theFAILURE is offline
 
Join Date: Jan 2005
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get an error with stumbleupon, but not others:

Quote:
The requested URL /url/http://thescambaiter.com/forum/showthread.php?t=10594 was not found on this server.
Reply With Quote
  #19  
Old 06-11-2007, 10:59 PM
rjmjr69's Avatar
rjmjr69 rjmjr69 is offline
 
Join Date: Jan 2007
Location: Southie
Posts: 876
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks this is awesome this will clean up my forum some. I have all these buttons within the thread itself.

I get this error trying to submit to Stumble

The requested URL /url/http://www.isosdcftp.com/forums/showthread.php?t=235 was not found on this server.

Here is what I have for Stumble and Facebook

<!-- Stumble -->
<a href="http://www.stumbleupon.com/submit?url=$vboptions[bburl]/showthread.php?t=$threadid" target="_blank"><img class="inlineimg"

src="$stylevar[imgdir_button]/stumble.png" alt="Stumble It" border="0" hspace="3" vspace="0" align="left" /></a>

<!-- Facebook -->
<a href="http://www.facebook.com/share.php?u=$vboptions[bburl]/showthread.php?t=$post[threadid]" target="_blank"><img class="inlineimg"

src="$stylevar[imgdir_button]/facebook.gif" alt="Submit to Facebook" border="0" hspace="3" vspace="0" align="left" /></a>

Thats the code I have for placing buttons in the thread.... Might be helpful
Reply With Quote
  #20  
Old 06-12-2007, 02:37 AM
Eric's Avatar
Eric Eric is offline
 
Join Date: May 2006
Location: Kentucky
Posts: 792
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Updated to 1.0.1 to fix the StubmleUpon issue. Thanks for reporting it
Reply With Quote
  #21  
Old 06-12-2007, 03:17 AM
rjmjr69's Avatar
rjmjr69 rjmjr69 is offline
 
Join Date: Jan 2007
Location: Southie
Posts: 876
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome thanks for the speedy fix. Would be nice if you just post the new .xml outside of the Zip so upgraders do not have to download the whole package again.... Just one of those little nice things to do.....lol

Awesome hack
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 05:29 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.06584 seconds
  • Memory Usage 2,320KB
  • Queries Executed 25 (?)
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
  • (4)bbcode_html
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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
  • (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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete