vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - eD2K Links Hack (https://vborg.vbsupport.ru/showthread.php?t=126481)

HeLLCiTo 12-05-2006 04:18 PM

it doný work in 3.6.4 i get a fatal error

s0b 12-05-2006 05:04 PM

it works great in my 3.6.4

toolmanwill 12-06-2006 01:52 PM

Quote:

Originally Posted by Gary Bolton (Post 1079122)
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.

I have made a free mod for torrent tracker using vb 3.6.x and XBT backend.
You can grab it from my sourceforge site
http://sourceforge.net/projects/vbtt
and install it yourself or i offer custom install services using a custom version of the free release.

MRGTB 12-18-2006 11:31 PM

Quote:

Originally Posted by KOKS@LN (Post 1115561)
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 .. When I look at the link, I see many gaps in it..

Can anyone tell me how I can remove these gaps from the link?

thanks


You must not of carried out step 4 in the instructions, you have to do that or the links will not work and spaces will be inserted in them. Read quote below taken from the instructions. This will also be why your file sizes are being displayed incorrectly, because your links are not correct (due to spaces) to work the total size out.

Quote:

::STEP 4::
In your admin cp "vBulletin Options/Thread Display Options (showthread)" settings. Change the "Number of Characters Before Wrapping Text" from "50" to "0". This must be done otherwise your ed2k links will not work and the long links will get spaces introduced into them (very important).
If you follow the instructions to the letter and read them carefully, this works fine with vBulletin 3.6.4

MRGTB 12-19-2006 09:18 AM

I've spotted a problem with this hack.

After you use this hack to post ed2k links on your forum, which are displayed in a box in your threads like the images show here in the demo.

If you go into your admin settings and run the "Rebuild Post Cache" option. For some reason all the boxes that contain the ed2k links vanish from all the threads. But if you choose to edit a thread were you posted the links, you can see the ed2k links are still there and when you save the thread again, the box that conatains the ed2k links is displayed back again.

But this means, if you was to have a large amount of ed2k links posted on your forum. And you ran the "Rebuild Post Cache" they would all vanish from the threads, meaning you wouold have to edit every single thread to get them displayed back again.

Anybody got any ideas why this is happening, it's as though something is not cached correctly meaning you lose all the ed2k links being displayed in threads after you run the "Rebuild Post Cache". Even though you can see there still there if you edit the posts.

Roonie 12-28-2006 11:30 AM

Great work Paul, but i have a suggestion.

How could us allow just some usergroups to use this skill??

Thnks :)

aveon 01-05-2007 12:57 PM

hey mate i have a problem in installation.txt where u say

Quote:

In your admin cp "vBulletin Options/Thread Display Options (showthread)" settings. Change the "Number of Characters Before Wrapping Text" from "50" to "0". This must be done otherwise your ed2k links will not work and the long links will get spaces introduced into them (very important).
i couldnt do that where do i add that 50 to 0 i get the error on snap it leaves a space between hash numbers on ed2k link and the emule doesn't recognize the link so i need to get this done if anybody can help me..??

here is the error i get

http://img234.imageshack.us/img234/3692/assssox7.png

and here is my vBulletin Options/Thread Display Options (showthread) page

http://img292.imageshack.us/img292/2044/lklkww2.th.png

can anybody show me where to put that code...??

Roonie 01-05-2007 10:39 PM

Hi!

i have a problem. Once i post the elink, i can view it, but after an undetermined period of time, i get back to the thread and i can not see the elink. If i edit the post i see that the elink is there, but it is not being shown. Then when i save the post with doing no changes, i see the elink again.

Why does it happens? It is the same problem explained by another user 3 posts before mine :)

thnks.

itsid 01-06-2007 12:02 AM

aveon, Du bist schon richtig, Du musst aus "Anzahl der Zeichen bevor ein Zeilenumbruch erfolgt" eine NULL machen, eben da wo jetzt noch die 50 steht, dann ist das Leerzeichen auch weg

'sid

aveon 01-06-2007 04:20 AM

Quote:

Originally Posted by itsid (Post 1151675)
aveon, Du bist schon richtig, Du musst aus "Anzahl der Zeichen bevor ein Zeilenumbruch erfolgt" eine NULL machen, eben da wo jetzt noch die 50 steht, dann ist das Leerzeichen auch weg

'sid

srry bro i dnt speak german my webmaster is from german so our site is german ass well so if u explain it in english ill be glad

itsid 01-06-2007 07:26 AM

uups ;)
where you find your picture saying "Anzahl der Zeichen bevor ein Zeilenumbruch erfolgt", that's where you have to change the value to Zero (0 instead of the 50 that's in your picture) to avoid automated text-wrapping.

'sid

MRGTB 01-09-2007 07:55 PM

Look for this setting and change it to "0". This setting has to be set to "0", otherwise spaces will be inserted into your ed2k links and (they won't work).

As a side note, has anybody looked at the code and figured out, why when you "Rebuild Post Cache" in the admin settings, all the ed2k links vanish from the threads there posted in. And will only come back if you edit the threads and save them again - to get them to reappear again.

Check the image out.

itsid 01-14-2007 03:28 PM

well...
looks like the javascript will cease to work if post is trying to be rebuild,
the output is generated within the browser (that's what javascript is made for)
so it can't be called by the server itself afaik...

No javascript no output... that's it,
If a post is called from cache all bbcodes are stripped out or will be ignored;
so I think you'll have to disable cache :(

btw, you don't have to edit the posts.. you'll just have to wait that the posts are cleared from cache then they'll be rebuild by the users browser.

to be honest, i just took a very short look at the xml... maybe I'm wrong ;)

'sid

ps that was a screenshot of his very own board, so I think he already understood ;)

CarpHunter 02-08-2007 06:30 AM

First of sorry for this bump.

I was looking for something like this so I downloaded and installed it.
All works fine.

The problem some of you have with links dissapearing, I havent had em (also rebuilded cache and stuff like you said)

Als o took a look at the code.
The javascript is there for a couple of reasons:

The download function is for the downloading action (duh).
Then there is the checkAll. This only makes that the bottom checkbox, when activated, checks or unchecks all other boxes.

Last but not least there are the size functions. The are there to update the total amount when you check/uncheck items.

The rest of the table is created in the code itself (the code you added in the bbparse file).
The functions made in there are called on by hook (havent looked where the hook is at but he seems to be ok because it functions normally)

First of I thought that the problem was located in the caching of the templates but after a check on the call it appears that also this is done correctly.

I will be running this code for a test period to just make sure everything is ok.

If ppl still experience problems like this pls let us know so that we can find a sollution for it.
It would be a shame to let this nice hack go to waste.

[EDIT]
Just reloaded cache and idd they disapeared.
Does anyone have a clue yet how this is possible????

Roonie 03-03-2007 10:10 AM

This Hack doesn´t work with vb 3.6.5

CarpHunter 03-09-2007 01:03 AM

Hack works fine under vb 3.6.5. You need to do all file edits over again.

I made an alteration in the plugin to go around "the max char before wordwrap" and included in this post. Just overwrite the old plugin with this one. Now it won't add spaces in long urls even if you have a max chars set in the options.

I also have an update on the disapear issue.
I've searched all over the vB forums and found that it has something to do with the "postparsed" table in the database.
Because vB automaticly caches all tags standard in vB and excludes none standard bbcodes.
I also found some workarounds to exclude certain bbcode from the cache rebuild but none seem to work.

Maybe someone here knows how we can work around this??

MRGTB 04-01-2007 07:48 AM

If you say there are certain vB codes in the database that are listed as postparsed to cache. Could you not add a query to the database to include the ed2k vbcode so that is parsed also to the list in the database by running a query to it. It may also mean having to edit the right php file also to add the ed2k code to the list of other vbcodes that are parsed as well.

Would that not do it?

DiSpy 04-05-2007 07:24 PM

I hope you guys can find a workaround for this... I'm sorry I can't help, tried to figure it out and failed. :(

MRGTB 04-09-2007 09:44 AM

Quote:

Originally Posted by CarpHunter (Post 1199250)
Hack works fine under vb 3.6.5. You need to do all file edits over again.

I made an alteration in the plugin to go around "the max char before wordwrap" and included in this post. Just overwrite the old plugin with this one. Now it won't add spaces in long urls even if you have a max chars set in the options.

The code you added to the XML file to disable Smiles and Wordwrap causes errors with the class_bbcode.php file when you view a thread. You get an error message displayed like this below: (This error is not shown if you install the plug-in without your changes made to the XML plug-in file).

Quote:

Parse error: syntax error, unexpected ')' in /home/xxxx/public_html/forum/includes/class_bbcode.php(2413) : eval()'d code on line 8
All I can think is you must have to also add some extra code to the class_bbcode.php file when you do the ed2k edits in it. To compansate for the changes you made in the XML plug-in regarding smiles being disabled and wordwrap

MRGTB 04-16-2007 04:22 PM

Just an update here:

I have fixed some problems and also added a few more features to make the hack a little better. Here are a list of things I have changed:

[1] I have now added instructions on how to create a "Template Group", so your two ed2k templates added, are situated in there very own ED2K Template group.

[2] Instructions have also been added, so you can display the ed2k link editor icon image in both the "Quick Edit" and "Quick Reply" pages on your forum. No need to go "Advanced" anymore to use the ed2k link editor icon.

[3] The "Word Wrap" and "Disable Smilies" has been fixed now in the XML code, there was an error in the code that CarpHunter posted earlier in this thread. That's been fixed now and was a simple mistake he made). Meaning there is no need to change the "Word Wrap" settings in the AdminCP options anymore. The instructions in the download have been edited to reflect this, along with some other changes as well. Smilie code will also not effect ed2k links posted now. If an ed2k link has a smilies code in it by accident like:

Code:

:)
for example. It won't be displayed in the ed2k link as a smilie image. While still working as normal in your threads.

[4] I've also changed the link at the bottom of the ed2k link box, so it now leads to eMules own site, instead of ed2k.biz. And the text before the link explains they need eMule installed to download the links (quick reminder with a link for them).


Unfortunately, I've not had the time so far to look into the cache problem posted in a few threads above above. I'll take a look at this later (but I'm not hopeful I can fix this problem). Would be nice if some clever coder could also try and find a solution to that problem to stop all ed2k link disappearing when you re-build the cache in the AdminCP.

MRGTB 06-07-2007 12:05 PM

Removed, I'm no longer working with this hack anymore

DiSpy 06-13-2007 02:56 PM

Question: did you fix the cache problem?

MRGTB 06-13-2007 05:07 PM

Yes and no. I spoke the a chinese guy called: Skylook who created the ed2k version for IPB which he advertises for download on Invisionize.

He sent me another copy that he said all the chinese use for there ed2k link sites. Basicly is was more or less the same script with a few changes here and there. That did sort the cache problem out in that hack. But now I know why, well sort of. All the code went in the class_bbcode and global_js script. It didn't use a plug-in. So it was being cached.

The down side was, it showed javascript errors in the Print page version. So it been a mix of his sorts the cache problem out. While mine doesn't suffer from the javascript error on the Print Friendly page.

But they are just a variation of each other. There the same script installed differently. Been working for days trying to get one out of the two working 100%. But no joy.

Which is a pity becuase the script I have here now updated that I posted here. Now shows file download availablity for each file from an outside website. And also the TAG is now sorted also.

thedvs 08-17-2007 12:42 PM

any more news?

MRGTB 08-17-2007 04:47 PM

No, I'm not pursuing this anymore

toolmanwill 08-23-2007 01:35 PM

yeah i took a look myself and was way over my head, sorry for not getting back to ya bro, real life issues stopped me from persuing this with you.

CarpHunter 10-03-2007 11:52 PM

Like MRGTB I also got the cache thing sorted.

Still working on some little additions like per forum permission.
Also trying to make it a complete plugin product but thats pretty hard (still have the edittor images to fix)

If interested I can release something later this week (if thats ok by MRGTB ofcourse because he started this mod)

MRGTB 10-04-2007 08:19 PM

Quote:

Originally Posted by CarpHunter (Post 1352461)
Like MRGTB I also got the cache thing sorted.

Still working on some little additions like per forum permission.
Also trying to make it a complete plugin product but thats pretty hard (still have the edittor images to fix)

If interested I can release something later this week (if thats ok by MRGTB ofcourse because he started this mod)

Yeah, no problem mate. Release it as a new version if you want supported by yourself. I don't mind one bit either way.

In fact if I had of still had the hack with "payed" changes I hired a coder to make, I would have given it for you to play around with. As it had the add cutom "TAG" to ed2k links option added into it, and also converted ed2k HTML links to BBCODE, as well as working with standard ed2k links. Plus it displayed the availablity of each link also. But I deleted the hack by accident and the person who I payed for the work did'nt keep a copy of it at his end. So I losed some very important changes.

Pity really, as they were two very cool features that cost me ?100 to get coded into it.

PS: I never did get the cache problem sorted, that was the last thing that needed fixing that I never got sorted. Has you sorted a proper fix out for the cache problem, so when you "re-build post cache" the links remain dipplayed in threads there posted in?

CarpHunter 10-05-2007 11:22 AM

To bad to hear all the work is lost :( Those were some nice features. Maybe I'll try to get them in as well)

I got the whole cache thing sorted (or at least I'm testing as we speak but it still hasn't gone wrong). It will always show even after updating cache.

Thanks for letting me release it. Will do my best to keep the quality of the mod as high as possible.

MRGTB 10-07-2007 12:17 PM

I've added you as a Co Author

Roonie 11-01-2007 08:51 AM

I have a problem, it doesn't work with 3.6.8 PL1

Do anyone have a solution?

Thnks

avitor 05-09-2008 10:58 PM

i nst this edlink like the installation say
and not seen the edlink on my edit box
wher is nead show?
on the place wher i post new thread?
near all the icons? or smiles?
is not shows
if someone fils to help me to install this i thank you a loots
thanks

ikki29 05-11-2008 02:20 PM

I have a problem with this product, at the moment of putting a link inside the etiquettes and sending new message. Example: A movie that has 700 mb that I want to put in the forum and with these etiquettes on having created the new topic it(he,she) goes out for me that the file has 70 kb and me it does not work, on having edited the topic and having guarded if that goes out for me well, Another thing that I believe that it(he,she) happens(passes) they are the links if ed2k it(he,she) has a www.url.com it(he,she) does not go out well sim goes out the 70 kb seizure(indigestion) I put a link ed2k without any direction and it(he,she) goes out well. Who can be the problem?

avitor 05-11-2008 02:49 PM

hii ikki29
you can see the ed2 icon on the editor bar?

ikki29 05-11-2008 03:01 PM

If avitor I it can see in quick reply, in post edit and in newthread, regards

avitor 05-11-2008 04:21 PM

i dont see the ed2 icon in no where
and i dan all install like in manuel
if put this code [ed2k]- link-[/ed2k] this works ok
but no icons shows

ikki29 05-11-2008 04:34 PM

He(She) excuses groin I do not understand it I am Spanish and use translators to be able to understand what decis, which I could have understood is that you does not work the image of the donkey, in algun place especially? In the intrucciones they say to you where to put the code, regards

avitor 05-11-2008 10:19 PM

i install all product correct like the instruction shows
and- i put the link of edk2 >select the link>press the image of the mule on editor bar

[ed2k]
ed2k://|file|(exsample%20The%20Matrix%20Path%20Of%20Neo20 %20(Multilanguage)%20-%20eran25z.[example|3737616540|8B85B8DBF5BC856C33F833671185B54 7|/
[/ed2k]


and submit new thread
i try to press on link to go to my emule program -but ? -is just take me to my furums home page
if i live my mous on the donload link is show me in the status bar of my browzer -my forums adress
thanks to all helpers
what to do?

KanmaiseR 05-18-2008 11:59 AM

very very nice hack and working 3.7.0 :)
thanks MRGTB, installed..

avitor 07-07-2008 09:21 PM

all my ed2k links disappar and not shows on page
i press edit and all the links and the code are ther
after i press on save the edit and id shows back
o have in my site 5000 ed2k links and no one shows now
links i add to new threads the shows ok
i dont wont to edit all my threads
please help me a soon is posible
to bring back the links to show on thread


All times are GMT. The time now is 01:27 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.01519 seconds
  • Memory Usage 1,844KB
  • 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
  • (8)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
  • (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