Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

Reply
 
Thread Tools
eD2K Links Hack Details »»
eD2K Links Hack
Version: 1.00, by MRGTB MRGTB is offline
Developer Last Online: Dec 2014 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.6.0 Rating:
Released: 09-12-2006 Last Update: 09-16-2006 Installs: 52
Uses Plugins Template Edits
Code Changes  
No support by the author.

This will let you add ed2k links to your site. The hack does require ONE manual edit to a PHP file, but no vBulletin code is altered, just some code added to the file. Please follow the instructions in the download carefully.

Check the images out below as to what it looks like once installed. The hack "counts file size", can add "multiple ed2k links" in one go. All ed2k links opened in the "same browser window" (no more blank browser windows left open) when clicking ed2k links posted on your board. It also shows the proper "ed2k file" link file name. I've also validated the code so it's W3C and CSS valid.




What are ed2k links?

eD2k links are downloads that are advertised in file sharing programs like eMule:www.emule.net.

To download the ed2k links, you "must" have an ed2k link client program installed like the above. What this hack does is it lets you search programs like eMule for files being shared over the ed2k network. Giving you the option to copy and paste the ed2k link on your forum. When clicked by a person visiting your board, who has an ed2k link client program installed like eMule. The link will be added to his download list in emule, it will also start the program automatically for him if he has it configured to take ed2k links while the program is not running.


Features & Notes:

[1] W3C & CSS Valid
[2] All templates are cached in the plug-in
[3] Only one PHP file edit is required, (No vBulletin code is changed)
[4] ed2k links can be added singly or multiply
[5] All ed2k links open in the same browser window (no more blank pages to close)
[6] File sizes are shown and calculated
[7] ed2k link names are displayed correctly
[8] Uses a box to contain all the ed2k links in neat
[9] Links also get displayed and work correctly in Printthread

Feature Plans
"CUSTOM TAG" feature planned, were all ed2k links posted will contain a custom tag of your choice. Like adding your site address for example to the ed2k file name. Which would mean your site would be advertised for free in every ed2k link added to eMule.

PLEASE CLICK: INSTALL
if you use the hack.

Supporters / CoAuthors

Show Your Support

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

Comments
  #12  
Old 09-13-2006, 02:33 PM
soletrader soletrader is offline
 
Join Date: Jul 2006
Posts: 340
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry for this newbie question... what is a ed2k link?
Reply With Quote
  #13  
Old 09-13-2006, 03:11 PM
MRGTB MRGTB is offline
 
Join Date: Dec 2004
Posts: 548
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mr_Devlin
For Servers with older PHP suppport (PHP 4) you have to change operators in your includes/adminfunctions_options.php

Find this code located in row 362:

PHP Code:
$value += 0
and change it to

PHP Code:
$value >= 0
Without this change you will get an error message in ACP when changing the option "number of characters before wrapping text".
Thanks for that update.
Reply With Quote
  #14  
Old 09-13-2006, 04:22 PM
lolo? lolo? is offline
 
Join Date: Jun 2005
Posts: 243
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

at this moment i see two bug
Uncached templates: ed2k (1)
Uncached templates: ed2kbit (1)
and with Fire fox the link are not copy
thanks for this mod
Reply With Quote
  #15  
Old 09-13-2006, 04:43 PM
MRGTB MRGTB is offline
 
Join Date: Dec 2004
Posts: 548
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by lolo?
at this moment i see two bug
Uncached templates: ed2k (1)
Uncached templates: ed2kbit (1)
and with Fire fox the link are not copy
thanks for this mod
Yes that right, I wasn't sure how to add the code to "cache the templates" in the plug-in, which is why I said in the installation file to add the template names to global.php instead to cache them that way instead. If a person knows how to add the cache code to the plug-in instead, to avoid having to edit the global.php file. I will alter the upload to not add the template names to the global.php file, and update the plug-in also for download. You will have to post the complete new plug-in code though for me to update it.

Yes, I'm aware that with Firefox the "copy links" is a problem. Hopefully we shall see a fix for that posted here, so again I can update the download. But the option is always there to completely remove that feature if you wish from the hack code.

I would also like to have integrated the option to "Add your own TAG" in the ed2k links posted. There is another hack here that does this. If a person can take that option from that hack and integrate it into this (maybe the author of that hack). And post the updated code here. Again I will update the download to reflect the changes. The "TAG" option a good feature to include because it means you can advertise your own site address or name in the TAG's that gets added automatically at the end of every ed2k link posted on your board (very good way to advertise your site in emule). Here is the link to the other hack that I would like to see that TAG feature taken from, and integrated into this version: https://vborg.vbsupport.ru/showthrea...highlight=ed2k
Reply With Quote
  #16  
Old 09-13-2006, 04:47 PM
concordancer concordancer is offline
 
Join Date: Apr 2005
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hasn't edonkey just gone belly up?
http://news.google.com/news?hl=en&ne...nG=Search+News

...looks like eMule is still around, though
Reply With Quote
  #17  
Old 09-13-2006, 07:38 PM
lasto lasto is offline
 
Join Date: Jan 2002
Posts: 1,514
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

suppose this could be altered for other stuff besides edonkey am i right ?
How about one for nzbs or is that a no go ?
Reply With Quote
  #18  
Old 09-13-2006, 08:06 PM
MRGTB MRGTB is offline
 
Join Date: Dec 2004
Posts: 548
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've just updated the download, I noticed in the installations details, the bit were you have to add some code to your global.php file was missing to cache the templates, that will sort the cached template problem out. Also updated the plug-in to 3.6.1 version from 3.6.0.

I've also completly removed the option to "COPY LINKS" seeing as that didn't work right in Firefox and only did in IE. It was not really needed as a feature (it would only give other users an easy way to take ed2k links and post them on there own site fast). So you now just have a download button only, and no copy links button. (all the code for that was removed from the hack).
Reply With Quote
  #19  
Old 09-13-2006, 08:17 PM
m0nde's Avatar
m0nde m0nde is offline
 
Join Date: Mar 2005
Location: Toronto, ON Canada
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by concordancer
Hasn't edonkey just gone belly up?
http://news.google.com/news?hl=en&ne...nG=Search+News

...looks like eMule is still around, though
eDonkey is the name of the file sharing protocol, but you're right, the original client is not very popular.
The eDonkey network hasn't gone belly up, but is not as popular as the Bit Torrent protocol at the moment.
Quote:
Originally Posted by dirtycrow
so is it just a private p2p for your forums? or does it connect to another p2p network?
There are several clients like eMule and eMule Plus and the indexing sites like sharereactor, which were shut down earlier, are coming back.

eDonkey is a file sharing protocol that works over various p2p networks

Take a look at this to find out what eDonkey is:
http://en.wikipedia.org/wiki/EDonkey_network
Reply With Quote
  #20  
Old 09-13-2006, 08:56 PM
MRGTB MRGTB is offline
 
Join Date: Dec 2004
Posts: 548
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Shareaza is one, eMule Plus is another
Reply With Quote
  #21  
Old 09-13-2006, 09:12 PM
MRGTB MRGTB is offline
 
Join Date: Dec 2004
Posts: 548
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by m0nde
eDonkey hasn't gone belly up, but is not as popular as Bit Torrent at the moment.

There are several clients like eMule and eMule Plus and the indexing sites like sharereactor, which were shut down earlier, are coming back.

eDonkey is a file sharing protocol that works over various p2p networks

Take a look at this to find out what eDonkey is:
http://en.wikipedia.org/wiki/EDonkey_network
Read the full story here: http://www.slyck.com/news.php?story=1288
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 03:41 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.04618 seconds
  • Memory Usage 2,311KB
  • Queries Executed 26 (?)
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
  • (2)bbcode_php
  • (5)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
  • (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