Minor complaints

Found an issue with the phpBB system here at NESdev? Use this forum to report problems.

Moderator: Moderators

Post Reply
User avatar
thefox
Posts: 3141
Joined: Mon Jan 03, 2005 10:36 am
Location: Tampere, Finland
Contact:

Minor complaints

Post by thefox » Tue Jan 03, 2012 1:53 pm

Is it possible to change the titles of these forum pages from this:

Code: Select all

nesdev.com :: View topic - NES programming marathon
To something like this:

Code: Select all

NES programming marathon :: nesdev.com
This would make tabbed browsing easier.

Also another minor thing, logging in from http://nesdev.com/bbs doesn't actually log in to nesdev.com/bbs, but to nesdev.com/bbs. That is, if I browse to nesdev.com/bbs after logging, I'm not logged in. Easiest fix would probaby be to change http://nesdev.com/bbs to a redirection to nesdev.com...

User avatar
koitsu
Posts: 4216
Joined: Sun Sep 19, 2004 9:28 pm
Location: A world gone mad

Post by koitsu » Tue Jan 03, 2012 2:15 pm

I'll see what I can do about the first issue; it may require custom modifications to the phpBB code, which when upgrading between versions (not just talking about the 2.x -> 3.x upgrade in another thread), could be lost or cause problems for the patcher.

As for the 2nd issue, that's because cookies set a domain name within them. In this case, phpBB code gets the request for http://nesdev.com/bbs/, but returns you a cookie that is tied to nesdev.com. Verification (note the two Set-Cookie HTTP response headers, "domain" fields):

Code: Select all

$ curl -i -I http://nesdev.com/bbs/
HTTP/1.1 200 OK
Date: Tue, 03 Jan 2012 21:01:23 GMT
Server: Apache
X-Powered-By: PHP/5.3.8
Set-Cookie: phpbb2mysql_data=a%3A2%3A%7Bs%3A11%3A%22autologinid%22%3Bs%3A0%3A%22%22%3Bs%3A6%3A%22userid%22%3Bi%3A-1%3B%7D; expires=Wed, 02-Jan-2013 21:01:23 GMT; path=/; domain=nesdev.com
Set-Cookie: phpbb2mysql_sid=4994f0f53dbb538cc2aaf63e428f388a; path=/; domain=nesdev.com
Cache-Control: private, pre-check=0, post-check=0, max-age=0
Expires: 0
Pragma: no-cache
Vary: Accept-Encoding
Content-Type: text/html; charset=UTF-8
This is one of the many problems with having "multiple domains pointing to the same thing".

As such, I've changed our Apache configuration to redirect any http://nesdev.com or http://www.nesdev.com URLs to their appropriate http://nesdev.com URL. http://wiki.nesdev.com will not be affected. Example:

Code: Select all

$ curl -i -I http://nesdev.com/bbs/
HTTP/1.1 301 Moved Permanently
Date: Tue, 03 Jan 2012 21:13:59 GMT
Server: Apache
Location: http://nesdev.com/bbs/
Vary: Accept-Encoding
Content-Type: text/html; charset=iso-8859-1

$ curl -i -I http://nesdev.com/blah/
HTTP/1.1 301 Moved Permanently
Date: Tue, 03 Jan 2012 21:14:05 GMT
Server: Apache
Location: http://nesdev.com/blah/
Vary: Accept-Encoding
Content-Type: text/html; charset=iso-8859-1

User avatar
NESHomebrew
Formerly WhatULive4
Posts: 401
Joined: Fri Oct 30, 2009 4:43 am
Contact:

Post by NESHomebrew » Thu Jan 05, 2012 7:28 pm

:( Now this site is blocked from work. nesdev.com/bbs always worked, but whenever parodius is added in it gets flagged as "gaming". I guess I'll just have to be more productive!

3gengames
Formerly 65024U
Posts: 2269
Joined: Sat Mar 27, 2010 12:57 pm

Post by 3gengames » Thu Jan 05, 2012 8:01 pm

I'll add a tiny tiny one too, not too big although I just think it looks bad: use transparent PNG's as buttons and get rid of the pixelated border on the button images. :D

Wave
Posts: 110
Joined: Mon Nov 16, 2009 5:59 am

Post by Wave » Fri Jan 06, 2012 3:07 pm

WhatULive4 wrote::( Now this site is blocked from work. nesdev.com/bbs always worked, but whenever parodius is added in it gets flagged as "gaming". I guess I'll just have to be more productive!
Woah, same thing happened this week on my work :O

Post Reply