It is currently Sun Oct 22, 2017 12:28 pm

All times are UTC - 7 hours





Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Minor complaints
PostPosted: Tue Jan 03, 2012 1:53 pm 
Offline
User avatar

Joined: Mon Jan 03, 2005 10:36 am
Posts: 2963
Location: Tampere, Finland
Is it possible to change the titles of these forum pages from this:
Code:
nesdev.com :: View topic - NES programming marathon

To something like this:
Code:
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...


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 03, 2012 2:15 pm 
Offline
User avatar

Joined: Sun Sep 19, 2004 9:28 pm
Posts: 3192
Location: Mountain View, CA, USA
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:
$ 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:
$ 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


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 05, 2012 7:28 pm 
Offline
Formerly WhatULive4
User avatar

Joined: Fri Oct 30, 2009 4:43 am
Posts: 336
:( 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!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 05, 2012 8:01 pm 
Offline
Formerly 65024U

Joined: Sat Mar 27, 2010 12:57 pm
Posts: 2257
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


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 06, 2012 3:07 pm 
Offline

Joined: Mon Nov 16, 2009 5:59 am
Posts: 110
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group