princed.org (phpBB forum + webpages)

Prince of Persia related subjects that do not have their own boards.
Falcury
Calif
Calif
Posts: 565
Joined: June 25th, 2009, 10:01 pm

Re: princed.org (phpBB forum + WordPress webpages)

Post by Falcury »

phpBB 3.2 was released today.
Perhaps it will be prudent to wait for the first maintenance update or so, before switching over... or should we upgrade now?
User avatar
Norbert
The Prince of Persia
The Prince of Persia
Posts: 5743
Joined: April 9th, 2009, 10:58 pm

Re: princed.org (phpBB forum + WordPress webpages)

Post by Norbert »

My experience is that it's wise to wait a couple of weeks, for possible issues people run into to be fixed first.
Release candidates and betas can probably be skipped entirely.
User avatar
Norbert
The Prince of Persia
The Prince of Persia
Posts: 5743
Joined: April 9th, 2009, 10:58 pm

Re: princed.org (phpBB forum + webpages)

Post by Norbert »

Hi, I have two suggestions.

The first is that a moderator could edit the first post of this thread to remove "WordPress " from its subject. The website no longer uses WordPress. This way, the "WordPress " text is no longer shown in the thread overview.

My other suggestion has to do with HTML5 validation. Currently if you click the Image icon at www.princed.org you will see an error about the use of "SHORTCUT ICON". I suggest editing the following files/lines:
=====
about/index.php:<link rel="SHORTCUT ICON" href="../images/princed_2.ico">
cusasm/index.php:<link rel="SHORTCUT ICON" href="../images/princed_2.ico">
cuspop/index.php:<link rel="SHORTCUT ICON" href="../images/princed_2.ico">
downloads/index.php:<link rel="SHORTCUT ICON" href="../images/princed_2.ico">
freeprincejsp/index.php:<link rel="SHORTCUT ICON" href="../images/princed_2.ico">
index.php:<link rel="SHORTCUT ICON" href="images/princed_2.ico">
news_archive.php:<link rel="SHORTCUT ICON" href="images/princed_2.ico">
shotsjsp/index.php:<link rel="SHORTCUT ICON" href="../images/princed_2.ico">
=====
(Note that some use "../" in the href while others do not.

The attached images could be copied to the images/ directory, after which the above lines can be replaced by:

Code: Select all

<link rel="icon" href="images/favicon_16x16.png" sizes="16x16" type="image/png">
<link rel="icon" href="images/favicon_32x32.png" sizes="32x32" type="image/png">
(Again, note that some will require "../" in the href. The PHP files that are not in the root.)
Attachments
32x32
32x32
favicon_32x32.png (2.08 KiB) Viewed 2110 times
16x16
16x16
favicon_16x16.png (740 Bytes) Viewed 2110 times
Falcury
Calif
Calif
Posts: 565
Joined: June 25th, 2009, 10:01 pm

Re: princed.org (phpBB forum + webpages)

Post by Falcury »

Done. Thanks for the pointers!
I also re-added the favicon to the wiki (images/favicon_16x16.png).
By the way, I found that specifying the path as "/images" works too (instead of "../images").
Maybe I should refactor the header section of the pages a bit, so they all get included from a single PHP file. May save some work in the future if the header section needs to be modified again.
User avatar
Norbert
The Prince of Persia
The Prince of Persia
Posts: 5743
Joined: April 9th, 2009, 10:58 pm

Re: princed.org (phpBB forum + webpages)

Post by Norbert »

Thanks.
David
The Prince of Persia
The Prince of Persia
Posts: 2846
Joined: December 11th, 2008, 9:48 pm
Location: Hungary

Re: princed.org (phpBB forum + webpages)

Post by David »

It looks like the forum search skips text in

Code: Select all

 tags.

For example, let's pick a word from the [code] tag in [url=http://forum.princed.org/viewtopic.php?p=19858#p19858]this post[/url] that does not occur at many places.
Like "battledome".
If I [url=http://forum.princed.org/search.php?keywords=battledome]search for it[/url], it does not find the post where I copied it from!

This is mentioned here: https://forums.lanik.us/viewtopic.php?t=2318

EDIT:
It seems that links are ignored as well.
I search for "EndeavourAccuracy/SDLPoP", and this post is not in the results: http://forum.princed.org/viewtopic.php?p=20485#p20485
Falcury
Calif
Calif
Posts: 565
Joined: June 25th, 2009, 10:01 pm

Re: princed.org (phpBB forum + webpages)

Post by Falcury »

Falcury wrote:Maybe I should refactor the header section of the pages a bit, so they all get included from a single PHP file. May save some work in the future if the header section needs to be modified again.
Did that.
David wrote:It looks like the forum search skips text in

Code: Select all

 tags.

For example, let's pick a word from the [code] tag in [url=http://forum.princed.org/viewtopic.php?p=19858#p19858]this post[/url] that does not occur at many places.
Like "battledome".
If I [url=http://forum.princed.org/search.php?keywords=battledome]search for it[/url], it does not find the post where I copied it from!

This is mentioned here: https://forums.lanik.us/viewtopic.php?t=2318

EDIT:
It seems that links are ignored as well.
I search for "EndeavourAccuracy/SDLPoP", and this post is not in the results: http://forum.princed.org/viewtopic.php?p=20485#p20485[/quote]

So, from the link you posted, apparently it might be related to the search backend of the forum?
This is currently set to "phpBB Native Fulltext". The other options are "PostgreSQL Fulltext", "MySQL Fulltext" and "Sphinx Fulltext".
I tried to switch to MySQL Fulltext just now, but this gives an error.
Apparently this is a phpBB 3.1.10 bug: see https://www.phpbb.com/community/viewtopic.php?f=466&p=14544976#p14559446
Falcury
Calif
Calif
Posts: 565
Joined: June 25th, 2009, 10:01 pm

Re: princed.org (phpBB forum + webpages)

Post by Falcury »

I added .p1r and .mrp to the allowed extensions for attachments.
So now you can directly attach replay files (for SDLPoP and MININIM) to forum posts, without zipping them first.
User avatar
oitofelix
Wise Scribe
Wise Scribe
Posts: 227
Joined: February 17th, 2016, 1:59 pm
Location: Brazil
Contact:

Re: princed.org (phpBB forum + webpages)

Post by oitofelix »

Falcury wrote:I added .p1r and .mrp to the allowed extensions for attachments.
So now you can directly attach replay files (for SDLPoP and MININIM) to forum posts, without zipping them first.
Thank you! :)
Bruno Félix Rezende Ribeiro (oitofelix)
MININIM author
Falcury
Calif
Calif
Posts: 565
Joined: June 25th, 2009, 10:01 pm

Re: princed.org (phpBB forum + WordPress webpages)

Post by Falcury »

Norbert wrote:It is likely that the Announcements forum board will not get any 'real' new threads after June 9th.
I was using it to point to new things, but Facebook and Twitter will be easier for this.
Other people who announce things usually create threads in other (more specific/on-topic) boards - which, in my opinion, is a good thing.
Therefore I suggest we make the "Announcements" board a sub-board of the "General Stuff" board.
I temporarily reversed this change, so that the recent news posts will be a bit easier to find, for visitors to the forum.
Although in the (near) future it may be preferable to make the Announcements board a sub-board again.
User avatar
Norbert
The Prince of Persia
The Prince of Persia
Posts: 5743
Joined: April 9th, 2009, 10:58 pm

Re: princed.org (phpBB forum + webpages)

Post by Norbert »

https://twitter.com/5AURu5/status/831022652831719424

Falcury, maybe you can @5AURu5 reply that Mac here means the classic Macintosh (e.g. Mac OS 7) and not Mac OS X, which means he'll need an emulator; http://www.emaculation.com/

I will add a similar statement to popot.org myself.
Falcury
Calif
Calif
Posts: 565
Joined: June 25th, 2009, 10:01 pm

Re: princed.org (phpBB forum + webpages)

Post by Falcury »

Norbert wrote:https://twitter.com/5AURu5/status/831022652831719424

Falcury, maybe you can @5AURu5 reply that Mac here means the classic Macintosh (e.g. Mac OS 7) and not Mac OS X, which means he'll need an emulator; http://www.emaculation.com/
OK, done!
User avatar
Norbert
The Prince of Persia
The Prince of Persia
Posts: 5743
Joined: April 9th, 2009, 10:58 pm

Re: princed.org (phpBB forum + webpages)

Post by Norbert »

Falcury wrote:OK, done!
Thanks. :)
User avatar
Norbert
The Prince of Persia
The Prince of Persia
Posts: 5743
Joined: April 9th, 2009, 10:58 pm

Re: princed.org (phpBB forum + webpages)

Post by Norbert »

Falcury wrote:
Falcury wrote:Maybe I should refactor the header section of the pages a bit, so they all get included from a single PHP file. May save some work in the future if the header section needs to be modified again.
Did that.
There's something wrong though.
Do a full reload of, for example, the CusAsm page and look at the header.

Also, you may want to keep using W3C's html5 checker.
It's really useful in finding little things you missed.
(Such as the <a="http://www.popot.org/custom_levels.php?action=Replays"> without " href".)
Falcury
Calif
Calif
Posts: 565
Joined: June 25th, 2009, 10:01 pm

Re: princed.org (phpBB forum + webpages)

Post by Falcury »

Norbert wrote:There's something wrong though.
Do a full reload of, for example, the CusAsm page and look at the header.
Yes, I definitely messed up something!
I think this probably happened because I changed the stylesheet slightly, to make bullet points in unordered lists show up in posts... I'll get it fixed as soon as I can.
Post Reply