vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - vBsociable (https://vborg.vbsupport.ru/showthread.php?t=149449)

Eric 06-10-2007 10:00 PM

vBsociable
 
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!

Eric 06-11-2007 12:11 PM

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.

TheBlackPoet 06-11-2007 12:32 PM

it works well... now my members who have accounts with these various sites can post their threads one time.... but it publish in multiple sites..

thanks!!

wizardan 06-11-2007 12:34 PM

Installed.
Clean and concise tool:)

jarod1981? 06-11-2007 12:43 PM

Congratulations SecondV, great mod!

Thanks :)

InTeNsE-HuMoR 06-11-2007 12:48 PM

Very nice looking. Will try this out.

Is there any way to intergrade this with social networks like Myspace or Bebo somehow? I'm not entirely sure how you could intergrade them, maybe have a feature were users can sumbit forum topics/posts or links to their blogs on their Myspace/Bebo account or something like that?

It would be a great advantage to everyone as most people have a social network account and would provide publicity for your forums.

chuchukuttie 06-11-2007 12:49 PM

Looks and sounds really good, will try. Thanks.

chuchukuttie 06-11-2007 01:01 PM

Quote:

Originally Posted by InTeNsE-HuMoR (Post 1266223)
Very nice looking. Will try this out.

Is there any way to intergrade this with social networks like Myspace or Bebo somehow? I'm not entirely sure how you could intergrade them, maybe have a feature were users can sumbit forum topics/posts or links to their blogs on their Myspace/Bebo account or something like that?

It would be a great advantage to everyone as most people have a social network account and would provide publicity for your forums.

I also agree... *Facebook* too please.

Eric 06-11-2007 01:01 PM

Thanks all! :) Don't forget, if you have any suggestions, any at all - let me know ;)

Quote:

Originally Posted by InTeNsE-HuMoR (Post 1266223)
Very nice looking. Will try this out.

Is there any way to intergrade this with social networks like Myspace or Bebo somehow? I'm not entirely sure how you could intergrade them, maybe have a feature were users can sumbit forum topics/posts or links to their blogs on their Myspace/Bebo account or something like that?

It would be a great advantage to everyone as most people have a social network account and would provide publicity for your forums.

I'll check into that :)

chuchukuttie 06-11-2007 01:02 PM

Quote:

Originally Posted by SecondV (Post 1266233)
Thanks all! :) Don't forget, if you have any suggestions, any at all - let me know ;)


I'll check into that :)

Could you add Facebook.com too?


All times are GMT. The time now is 10:00 AM.

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.01188 seconds
  • Memory Usage 1,754KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete