Quote:
Originally Posted by Symen_4ab
Thanks for sharing the bb code Gary, but I would prefer to kame this hack works (but I will make the ed2k tag available as an alternative, for sure !)
I just quit testing different things, and it appears that only the opening bracket poses problems.
I tried to modify some things in the regexp, but it's just too complicated for me
edit : The @ character is also a problem, as it sees a part of the link as an email adress
|
Same here, I'm not a coder and all that regex stuff is way over my head. Another problem though is the plugin seems to use vBulletins default setting of opening the links in a new browser window also, which is a real no no really.
Because if you had lets say 5 ed2k links in a thread which you clicked. It would mean you having to close 5 new browser windows after. Which is why they have to open in the same browser window just like the phpbb ed2k hacks do to avoid that.
That can be done using a vBCode because of the "target="_self" command. I'm just looking at javascript now to see if that can be used to expand the ed2k vBcode hack further. As it does work when used in vBCode. But it would still be very limited and really it's this hack that needs to be improved upon as a real solution
LOL