![]() |
eD2K Links Hack
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. https://vborg.vbsupport.ru/external/2010/10/30.jpg https://vborg.vbsupport.ru/external/2010/01/137.jpg 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. |
Thankx instal ;)
|
what is its function?
|
thanx
|
Very nice!
|
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:
PHP Code:
|
wait. .. what does this do? if it's what i think it is. . perfect!
|
Quote:
;) |
Quote:
|
The hack lets you add "ed2k links" to your board, that when clicked get added to emule or edonkey for download. Or any other ed2k link client program that can take the links.
|
Sorry for this newbie question... what is a ed2k link?
|
Quote:
|
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 |
Quote:
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 |
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 :) |
suppose this could be altered for other stuff besides edonkey am i right ?
How about one for nzbs or is that a no go ? |
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). |
Quote:
The eDonkey network hasn't gone belly up, but is not as popular as the Bit Torrent protocol at the moment. Quote:
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 |
Shareaza is one, eMule Plus is another :)
|
Quote:
|
To cache templates in a plugin use the cache_templates hook and this code ;
PHP Code:
|
Quote:
|
hey gary when i try to add a link i get this error
Fatal error: Call to undefined function: handle_ed2k_links() in /kunden/137092_81737/www.e-paylas.de/forum/includes/class_bbcode.php on line 1071 |
check that you put the code in the class_bbcode.php file after this.
Code:
* Returns whether this parser is a WYSIWYG parser. Useful to change Code:
* Returns whether this parser is a WYSIWYG parser. Useful to change Code:
|
Quote:
|
The hack has now been updated again.
All templates are "cached" now in the "plug-in", no need to edit the global.php file, instuctions have been updated in download to reflect this change. Please re-download and install the hack via the plug-in (remove the other version first). And remove all edits to your global.php file if you made any to cache templates. |
Thanks
|
So why, after i gave you the code have you created two cache_template plugins, and used array_merge .......
|
Paul, not sure what you mean. You know a lot more than me and I had to look at another hack to see how they had cached the templates and followed there way. If you can do it a better way. Please feel to post the full plug-in code here with your cache template code added to do it a better way. And I will update the plug-in with your code posted.
Pretty new to this plug-in coding |
That's not the way its done. :)
You create/edit plugins in your ACP and then export the product as an XML file afterwards, not try and add them directly to the XML file. If you look in your plugins for this product, you will find you now have two associated with the cache_templates hook. Delete one, edit the other to contain the two lines of code I gave you, and then re-export it. |
Sorted and updated
|
hello
Nice Hack but ERROR in Produkt is only for 3.6.1 not 0 ? Edit:Ok,Edit the XML in 3.6.0 and ist gone :) ;) |
will change that now, done, re-uploaded to show 3.6.0 minimum version.
|
wish there was something like this for torrents.
|
torrents is a lot more complicated when it comes to hacks for them. But there is a thread somewhere were I guy is selling it for vB6. He lists his email to contact him. VBT I think it called, but it's not a free hack.
|
.... not work in 3.6.2
Error when will add a Link Code:
Fatal error: Call to undefined function: handle_ed2k_links() in /www/htdocs/w0075632/includes/class_bbcode.php on line 1071 In this Line: PHP Code:
Ok is Gone,sorry ;) |
is everything fine now, my guess is you added the code after the second "}" and not the first one.
|
nice work Gary,
didn't know you had it in ya :p |
I installed this hack on my board. It works with most of the links that I post but for some of them the hack doesn't calculate right size of the link and when I click on it, emule says
Quote:
Can anyone tell me how I can remove these gaps from the link? thanks |
Great hack!
But I have a problem... is possible to limit max. characters in the table of elinks??? I need to do that. Thanks!! |
All times are GMT. The time now is 05:50 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|