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?- Upload the images found in images/buttons/ to your images/buttons/ folder.
- Import the product, product-vBsociable.xml
- 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>
- 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 >> <<, TY!