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?

Eric 06-11-2007 01:06 PM

Quote:

Originally Posted by chuchukuttie (Post 1266234)
Could you add Facebook.com too?

I'll check into that as well ;)

projectego 06-11-2007 01:07 PM

Very, very nice! Me likey... ;)

QsKGlobal.com 06-11-2007 02:15 PM

Quote:

Originally Posted by projectego (Post 1266241)
Very, very nice! Me likey... ;)

That goes double for me. Installed :)

iogames 06-11-2007 03:25 PM

I have vBSEO installed does it works together? since vBSEO includes some of the function that your hack does...

Eric 06-11-2007 03:34 PM

Quote:

Originally Posted by iogames (Post 1266309)
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.

obmob 06-11-2007 04:37 PM

Good idea, thanks! :D

theFAILURE 06-11-2007 06:56 PM

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.

rjmjr69 06-11-2007 10:59 PM

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

Eric 06-12-2007 02:37 AM

Updated to 1.0.1 to fix the StubmleUpon issue. Thanks for reporting it :)

rjmjr69 06-12-2007 03:17 AM

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

Eric 06-12-2007 03:19 AM

Quote:

Originally Posted by rjmjr69 (Post 1266699)
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

Good idea ;) Uploaded the xml file.

Hornstar 06-12-2007 07:42 AM

Quote:

Originally Posted by iogames (Post 1266309)
I have vBSEO installed does it works together? since vBSEO includes some of the function that your hack does...

request over at vbseo to get more functionality so it is more similiar to this, I dont think the 2 will work well together.

FreshFroot 06-13-2007 03:35 AM

great stuff mate!

2 FN LOW 06-17-2007 02:24 PM

now this is sweet...deff picking this puppy up, thank you very much :D

BTW...instead of "Submit Tools"...Can i make mine say something different? Can i just open up the XML file and change that in there?

Eric 06-19-2007 05:27 AM

Quote:

Originally Posted by 2 FN LOW (Post 1270326)
now this is sweet...deff picking this puppy up, thank you very much :D

BTW...instead of "Submit Tools"...Can i make mine say something different? Can i just open up the XML file and change that in there?

If you have installed:

Go to: Admin CP > Language & Phrases > Search for phrases (or something similar) and search for the phrase:

vBsociable

The one you want to edit will have the value of "Submit Tools".


If you have NOT installed, edit the xml file and change:
Code:

                        <phrase name="vBsociable"><![CDATA[Submit Tools]]></phrase>

bongwater 06-19-2007 07:33 AM

excellent, this was exactly what I was waiting for (*clicks install* )

bacanze 06-19-2007 08:35 AM

OMG this is what I was looking for, I will install today and hope it works, cheers!

Oh, and is there any method of showing just a couple of icons (like 4 for example) in the bottom left corner of each post? as no one looks at submit tools :(

DavidL 06-20-2007 05:19 AM

Thanks for the great plugin. Would like to see it work with vrewrite someday :)

Brandon Sheley 06-20-2007 05:32 AM

nice hack :)

The Chief 06-20-2007 06:31 PM

The only thing needed is being able to submit it too facebook.

Then consider it installed on my new network ;)

Eric 06-20-2007 10:57 PM

Updated to 1.0.2 to include Facebook.

AsianKid 06-20-2007 11:00 PM

Sweet thanks!

Heath 06-21-2007 12:34 AM

Awesome!!! All I ask is you add google, askjeeves, earthlink, simpy, bluedot.us and indianpad

Or let me know how to do it if you can?

pcoskat 06-23-2007 05:59 PM

Can the list of sites be reduced within the admincp? To many choices make my members crazy ;)

Great mod! :)

a1whs.com 06-24-2007 11:14 PM

Really good stuff i used it on www.justrandombullshit.com/forums and i got over like 54 hits just like that most were however only bots.

But i like this mod.

Eric 06-24-2007 11:53 PM

Updated the first post / mod description to include features for future versions. I'll keep this updated if I think of anything / any of you suggest anything. :)

Phaedrus 06-25-2007 01:57 AM

I was looking for one just for digg. Imagine my sense of surprise and delight to find something much more comprehensive!

Clicked "installed"

Anderson 06-27-2007 08:10 AM

Thank you for the mod. I have a suggestion, could we put submit links for a few SN sites like Technorati, Digg, Stumbleupon, etc on the posts itself. Like on the left side of a post or on the postbit.

PokerAffiliate 06-27-2007 03:58 PM

Quote:

Thank you for the mod. I have a suggestion, could we put submit links for a few SN sites like Technorati, Digg, Stumbleupon, etc on the posts itself. Like on the left side of a post or on the postbit.

I agree, this would be a really cool addition to this mod and I think it will increase how often it gets used. Or is there a simple way to highlight the link in the menu to be red and stand out a bit more. For example:


Social Bookmarking Thread Tools Search this Thread Rate Thread Display Modes

txsbmw 07-02-2007 07:16 PM

Just a quick question. I just tried to submit a thread to digg, logged in their site with my account and then it said:

Are you sure that's the right address?
This doesn't appear to be a working link - please check the URL and try again.

The link was the link pointing to the thread. Is it suppose to do this? Because it is not submitting, it will not allow anyone to submit the url's, keeps saying it is not a working link.


All times are GMT. The time now is 04:54 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.01464 seconds
  • Memory Usage 1,838KB
  • 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
  • (1)bbcode_code_printable
  • (4)bbcode_html_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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