![]() |
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 |
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. |
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 ;) |
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???? |
This Hack doesn´t work with vb 3.6.5
|
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?? |
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? |
I hope you guys can find a workaround for this... I'm sorry I can't help, tried to figure it out and failed. :(
|
Quote:
Quote:
|
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:
:) [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. |
All times are GMT. The time now is 02:01 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:
|