These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

KB ADMINS: How to circumvent the & problem with linking kills on the Eve forums

Author
Petrus Blackshell
Rifterlings
#1 - 2012-01-26 16:26:35 UTC  |  Edited by: Petrus Blackshell
If your killboard uses EDK (as most killboards do), you would have noticed that links like this one fail to work, because the "&" in the URL gets replaced with "&" by CCP's brilliantly implemented BBCode parser. Edit: It might actually be the security warning that causes this. I dunno.

Until CCP gets around to fixing that, here's a fix that you can apply to your killboard to make everybody's life more pleasant in the meantime, and to avoid all the silly "Stop posting broken links" crap:


  1. Go to the Admin interface of the killboard
  2. Click on Configuration
  3. Check "Use simple URLs"


This makes the URLs not use "& " to pass arguments, instead making them look like a sort of file path. The result? A killboard that can be linked to from the Eve forums without breaking.

So, again:

KB Admins: Apply this fix to make everyone's lives easier.
KB Users: Make the Admins' life hell until they apply this fix.

Accidentally The Whole Frigate - For-newbies blog (currently on pause)

Steve Ronuken
Fuzzwork Enterprises
Vote Steve Ronuken for CSM
#2 - 2012-01-26 18:11:45 UTC  |  Edited by: Steve Ronuken
If you're finding the problem in other applications you're dealing with (I did, with the blueprint calculator) what you need to do is install some Apache Rewrite Rules (assuming you're using Apache)

As long as the functionality is installed, something like the below in a file called .htaccess will take care of it

RewriteEngine On
RewriteRule ^/blueprints/(\d*)/(\d*)/(\d*)/(\d*)/(\d*)$ /blueprints/calc.php?bpid=$1&me=$2&mpe=$3&pe=$4&ind=$5 [L]

Docs:
https://httpd.apache.org/docs/current/mod/mod_rewrite.html
https://httpd.apache.org/docs/current/rewrite/

http://www.yourhtmlsource.com/sitemanagement/urlrewriting.html is an explanation, rather than documentation.

Woo! CSM XI!

Fuzzwork Enterprises

Twitter: @fuzzysteve on Twitter

Petrus Blackshell
Rifterlings
#3 - 2012-01-26 18:18:01 UTC
Steve Ronuken wrote:
If you're finding the problem in other applications you're dealing with (I did, with the blueprint calculator) what you need to do is install some Apache Rewrite Rules (assuming you're using Apache)

As long as the functionality is installed, something like the below in a file called .htaccess will take care of it

RewriteEngine On
RewriteRule ^/blueprints/(\d*)/(\d*)/(\d*)/(\d*)/(\d*)$ /blueprints/calc.php?bpid=$1&me=$2&mpe=$3&pe=$4&ind=$5 [L]

Docs:
https://httpd.apache.org/docs/current/mod/mod_rewrite.html
https://httpd.apache.org/docs/current/rewrite/

http://www.yourhtmlsource.com/sitemanagement/urlrewriting.html is an explanation, rather than documentation.


mod_rewrite, the bane of sane web servers P

Yes, that is also a solution for webapps that do not have support for directory-like structures for URLs.

Accidentally The Whole Frigate - For-newbies blog (currently on pause)

Karbowiak
Sacred Templars
Fraternity.
#4 - 2012-01-27 15:11:03 UTC
You could also be as awesome as eve-kill, and have CCP unblock your URL Lol

example:
http://eve-kill.net/?a=kill_detail&kll_id=12204197
Petrus Blackshell
Rifterlings
#5 - 2012-01-27 16:24:30 UTC
Karbowiak wrote:
You could also be as awesome as eve-kill, and have CCP unblock your URL Lol

example:
http://eve-kill.net/?a=kill_detail&kll_id=12204197


Heh. Eve-kill and YouTube are unblocked, but not Wikipedia. That seems odd.

Accidentally The Whole Frigate - For-newbies blog (currently on pause)