Page 3 of 4

Re: nesdev.parodius.com (2004-2012)

Posted: Fri Aug 03, 2012 7:31 am
by tepples
koitsu wrote:So someone (tepples, WhoaMan, etc.) may want to come up with a MySQL query that goes through the phpBB posts table in MySQL and replaces all of the old http://nesdev.com/bbs/xxx URLs with http://forums.nesdev.com/xxx URLs.
I actually did just that in the static HTML snapshot that I took, but we ended up importing all posts from phpBB2 instead of using it. In any case, to get this change made, WhoaMan will have to forward me the credentials (shell/ftp, database) needed to run this script.

Re: nesdev.parodius.com (2004-2012)

Posted: Fri Aug 03, 2012 7:39 am
by B00daW

Re: nesdev.parodius.com (2004-2012)

Posted: Fri Aug 03, 2012 3:20 pm
by Grapeshot
One annoyance: posts from before yesterday don't show up in a search. Do I just need to wait until it's done indexing or is there another issue here?

Re: nesdev.parodius.com (2004-2012)

Posted: Fri Aug 03, 2012 3:40 pm
by WhoaMan
you will need to wait until the search index is finished rebuilding. sorry

Re: nesdev.parodius.com (2004-2012)

Posted: Fri Aug 03, 2012 4:15 pm
by tepples
koitsu wrote:So someone (tepples, WhoaMan, etc.) may want to come up with a MySQL query that goes through the phpBB posts table in MySQL and replaces all of the old http://nesdev.com/bbs/xxx URLs with http://forums.nesdev.com/xxx URLs.
As you can see from the change to your post that makes it make less sense, I've taken the Parodius out of all nesdev URLs here. Changing nesdev.com/bbs to forums.nesdev.com is slightly lower priority because redirection within a domain is easier to assure long-term.

Re: nesdev.parodius.com (2004-2012)

Posted: Sat Aug 04, 2012 12:42 am
by thefox
thefox wrote:Since the winds of change are blowing, is there any chance of fixing the thread HTML titles so that the thread name comes first (something like: "Blah blah thread name - View topic - nesdev.com")? Point being to avoid the below situation when using tabs (also, testing the attachments :)):
In case you want to do this change, the files you need to modify are viewtopic.php and overall_header.html in the style templates.

viewtopic.php:

Code: Select all

page_header($user->lang['VIEW_TOPIC'] . ' - ' . $topic_data['topic_title'], true, $forum_id);
To something like:

Code: Select all

page_header($topic_data['topic_title'] . ' - ' . $user->lang['VIEW_TOPIC'], true, $forum_id);
(Or you could drop the VIEW_TOPIC part altogether...)

overall_header.html:

Code: Select all

<title>{SITENAME} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>
To something like:

Code: Select all

<title><!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE} &bull; {SITENAME}</title>

Re: nesdev.parodius.com (2004-2012)

Posted: Sat Aug 04, 2012 7:58 am
by WhoaMan
the old wwwthreads archive is now live at http://nesdev.com/cgi-bin/wwwthreads/wwwthreads.pl

Re: nesdev.parodius.com (2004-2012)

Posted: Sat Aug 04, 2012 11:40 am
by ouso1999
there is another issue here.when I come to save a topic here , the "save as" window pops up with this file name "viewtopic.php" rather than the thread name.
I'm always changing it and I'm tired of that.

Re: nesdev.parodius.com (2004-2012)

Posted: Sat Aug 04, 2012 12:02 pm
by Bregalad
I just want to say a big thank you to the staff for being successful in their move !

I hope Koitsu will still be among us even though he's no site admin any longer !

Re: nesdev.parodius.com (2004-2012)

Posted: Sat Aug 04, 2012 1:55 pm
by thefox
Some of my old posts suddenly show an signature, some do not. What's up with that?

Also, it would be nice if the signature had a smaller font size. And to kind of nitpick, I'm also not fan of using "_________________" to separate the signature, maybe put it in a div and specify a one pixel border-top for the div. Not top priority by any means though. :)

Re: nesdev.parodius.com (2004-2012)

Posted: Sat Aug 04, 2012 2:52 pm
by tepples
There's a check box at the bottom of the posting form to attach a signature. Your sig won't show up on posts where it's turned off.

Re: nesdev.parodius.com (2004-2012)

Posted: Sat Aug 04, 2012 7:49 pm
by Memblers
Great work on the move, it's looking really good so far. I'm so glad this forum has such great admins that keep it running smoothly during my (many) absences.

It's been pointed out (and very noticeable by me) that the old favicon.ico is missing, so please copy that file into the phpBB install directory (I don't have my login info for the new server).
Image

I also wonder if we can edit the admin name color to be same normal users, the red text on blue is horrible on the eyes.

Re: nesdev.parodius.com (2004-2012)

Posted: Sat Aug 04, 2012 8:02 pm
by koitsu
Memblers wrote:It's been pointed out (and very noticeable by me) that the old favicon.ico is missing, so please copy that file into the phpBB install directory (I don't have my login info for the new server).
Image
Been in place since August 4th @ 18:00 UTC:

Code: Select all

-rwxr-xr--  1 root   apache   318 Aug  4 18:00 favicon.ico
And is quite visible: favicon.ico

Not sure why browsers aren't picking it up (nor does favicon.ico get picked up for me on the main nesdev site either). The MD5 checksums are the same between the main nesdev site's icon and the forum favicon:

Code: Select all

$ md5sum forums/favicon.ico www/favicon.ico
59d3a983e131bc4e0a4df3f9be9dbc30  forums/favicon.ico
59d3a983e131bc4e0a4df3f9be9dbc30  www/favicon.ico
Web server seems to be doing the Right Thing(tm) MIME-type-wise:

Code: Select all

$ curl -I http://nesdev.com/favicon.ico
HTTP/1.1 200 OK
Date: Sun, 05 Aug 2012 03:01:10 GMT
Server: Apache
Last-Modified: Tue, 13 Feb 2001 15:40:27 GMT
ETag: "6a430cc-13e-37d320b9ff0c0"
Accept-Ranges: bytes
Content-Length: 318
Vary: Accept-Encoding,User-Agent
Content-Type: image/x-icon
X-Pad: avoid browser bug

$ curl -I http://forums.nesdev.com/favicon.ico
HTTP/1.1 200 OK
Date: Sun, 05 Aug 2012 03:01:18 GMT
Server: Apache
Last-Modified: Sat, 04 Aug 2012 18:00:37 GMT
ETag: "6a44095-13e-4c6746bfcb388"
Accept-Ranges: bytes
Content-Length: 318
Vary: Accept-Encoding,User-Agent
Content-Type: image/x-icon
X-Pad: avoid browser bug
If I bookmark the main nesdev site I do end up with the proper favicon in my bookmarks, but with the forum URL I do not. Can't explain that. I do see people's browsers fetching it and the webserver returning HTTP 200 though, as well as some HTTP 304 ("content not modified", e.g. already in the browser's cache). Example:

Code: Select all

190.212.32.163 - - [05/Aug/2012:02:32:17 +0000] "GET /favicon.ico HTTP/1.1" 200 142
99.238.135.235 - - [05/Aug/2012:02:32:34 +0000] "GET /favicon.ico HTTP/1.1" 200 142
189.5.252.190 - - [05/Aug/2012:02:35:37 +0000] "GET /favicon.ico HTTP/1.1" 200 142
98.201.6.127 - - [05/Aug/2012:02:35:37 +0000] "GET /favicon.ico HTTP/1.1" 200 142
98.237.1.189 - - [05/Aug/2012:02:40:31 +0000] "GET /favicon.ico HTTP/1.1" 304 -
50.47.123.231 - - [05/Aug/2012:02:41:30 +0000] "GET /favicon.ico HTTP/1.1" 304 -
108.194.111.172 - - [05/Aug/2012:02:49:05 +0000] "GET /favicon.ico HTTP/1.1" 200 142
EDIT: Interesting. Notice that the number of bytes sent back to the browser in that log is 142 bytes, yet the actual Content-Length header shows 318 bytes. The file is indeed 318 bytes, so I don't know why the webserver is sending back 142 bytes of content (or WHAT it's sending back). WhoaMan will need to debug this. If Apache is set up on the server with some kind of internal caching (or if there's squid in the way, etc.) model, then that may be what's responsible. (Parodius did not use any caching modules or squid). If I fetch the file manually with curl:

Code: Select all

67.180.84.87 - - [05/Aug/2012:03:09:38 +0000] "GET /favicon.ico HTTP/1.1" 200 318
But with Firefox:

Code: Select all

67.180.84.87 - - [05/Aug/2012:03:10:21 +0000] "GET /favicon.ico HTTP/1.1" 200 142
I'd need to use Wireshark to figure out what's going on here, but my guess is the Apache server may be configured oddly, I just don't know how/what would cause this. Again, WhoaMan would need to resolve it.
I also wonder if we can edit the admin name color to be same normal users, the red text on blue is horrible on the eyes.
Probably -- it may be a style or CSS modification though.

Re: nesdev.parodius.com (2004-2012)

Posted: Sun Aug 05, 2012 2:16 am
by Memblers
I found a short article that claims a template>overall_header.html file needs to be edited for favicon to work.
Knowledge Base - Adding a favicon

Re: nesdev.parodius.com (2004-2012)

Posted: Sun Aug 05, 2012 2:52 am
by koitsu
Memblers wrote:I found a short article that claims a template>overall_header.html file needs to be edited for favicon to work.
Knowledge Base - Adding a favicon
I'll take a look and figure it out. :-)