LaserDisc Database
https://forum.lddb.com/

lddb database links with "#" can't be displayed in forums
https://forum.lddb.com/viewtopic.php?f=9&t=4143
Page 1 of 1

Author:  invenio [ 17 May 2014, 22:47 ]
Post subject:  lddb database links with "#" can't be displayed in forums

I was posting in the "recently watched" topic and I noticed that many of the links that I put in did not display correctly with the [url] tags. After doing some investigation I don't think phpbb accepts the "#" character in the url. This is the first time I noticed as I haven't posted anything with the "#" character in the url as it mostly would apply to TV series with multiple episodes. It is acceptable in the description part, but not in the URL designation.

Any fix for this as people can't use the "phpbb link" in individual title pages for posting? Intersting, the link still works if I manually remove the "#" the url.

Here is an example:
[url=http://www.lddb.com/laserdisc/21380/LV-60040-94/Star-Trek-#094:-Operation-Annihilate/Amok-Time:-Disc-#14]Star Trek #094: Operation Annihilate/Amok Time: Disc #14 [LV 60040-94][/url]

And here would be the link with the first "#" removed in the "url=" field (the 2nd can be left in for some strange reason):
Star Trek #094: Operation Annihilate/Amok Time: Disc #14 [LV 60040-94]

Author:  admin [ 19 May 2014, 08:50 ]
Post subject:  Re: lddb database links with "#" can't be displayed in forum

For this I'm using a public MOD for the forum:

http://www.phpbb3bbcodes.com/viewtopic.php?t=1995

It would appear that their REGEXP to find internal URLs is not fully robust :problem:

Julien

Author:  publius [ 30 May 2014, 06:52 ]
Post subject:  Re: lddb database links with "#" can't be displayed in forum

I always abbreviate the URLs anyway. Typically I prune them back to the spine number, if not to the LDDB number.

Author:  admin [ 19 Aug 2014, 06:24 ]
Post subject:  Re: lddb database links with "#" can't be displayed in forum  Topic is solved

OK, the # will be removed by default now :-)

Julien

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/