princed.org (phpBB forum + webpages)

Prince of Persia related subjects that do not have their own boards.

Moderator: English Moderator Team

Falcury
Wise Scribe
Wise Scribe
Posts: 294
Joined: June 25th, 2009, 10:01 pm

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

Postby Falcury » January 8th, 2017, 11:25 pm

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: 2984
Joined: April 9th, 2009, 10:58 pm
Contact:

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

Postby Norbert » January 9th, 2017, 1:01 am

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: 2984
Joined: April 9th, 2009, 10:58 pm
Contact:

Re: princed.org (phpBB forum + webpages)

Postby Norbert » January 9th, 2017, 2:43 pm

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
favicon_32x32.png
32x32
favicon_32x32.png (2.08 KiB) Viewed 271 times
favicon_16x16.png
16x16
favicon_16x16.png (740 Bytes) Viewed 271 times

Falcury
Wise Scribe
Wise Scribe
Posts: 294
Joined: June 25th, 2009, 10:01 pm

Re: princed.org (phpBB forum + webpages)

Postby Falcury » January 14th, 2017, 12:53 am

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: 2984
Joined: April 9th, 2009, 10:58 pm
Contact:

Re: princed.org (phpBB forum + webpages)

Postby Norbert » January 14th, 2017, 2:21 am

Thanks.

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

Re: princed.org (phpBB forum + webpages)

Postby David » January 14th, 2017, 7:56 pm

It looks like the forum search skips text in [code] tags.

For example, let's pick a word from the [code] tag in this post that does not occur at many places.
Like "battledome".
If I search for it, 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: viewtopic.php?p=20485#p20485

Falcury
Wise Scribe
Wise Scribe
Posts: 294
Joined: June 25th, 2009, 10:01 pm

Re: princed.org (phpBB forum + webpages)

Postby Falcury » January 22nd, 2017, 1:03 pm

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] tags.

For example, let's pick a word from the [code] tag in this post that does not occur at many places.
Like "battledome".
If I search for it, 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: viewtopic.php?p=20485#p20485


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/viewtop ... #p14559446

Falcury
Wise Scribe
Wise Scribe
Posts: 294
Joined: June 25th, 2009, 10:01 pm

Re: princed.org (phpBB forum + webpages)

Postby Falcury » January 22nd, 2017, 4:20 pm

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
Sultan
Sultan
Posts: 187
Joined: February 17th, 2016, 1:59 pm
Contact:

Re: princed.org (phpBB forum + webpages)

Postby oitofelix » January 23rd, 2017, 7:21 pm

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! :)

Code: Select all

 88888  FFFFF Bruno Félix Rezende Ribeiro (oitofelix) [0x28D618AF]
 8   8  F     http://oitofelix.freeshell.org/mininim/
 88888  FFFF  mailto:oitofelix@gnu.org
 8   8  F     irc://chat.freenode.org/oitofelix
 88888  F     Please, support my work: http://oitofelix.freeshell.org/funding.html

Falcury
Wise Scribe
Wise Scribe
Posts: 294
Joined: June 25th, 2009, 10:01 pm

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

Postby Falcury » February 12th, 2017, 11:13 pm

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: 2984
Joined: April 9th, 2009, 10:58 pm
Contact:

Re: princed.org (phpBB forum + webpages)

Postby Norbert » February 13th, 2017, 12:18 pm

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
Wise Scribe
Wise Scribe
Posts: 294
Joined: June 25th, 2009, 10:01 pm

Re: princed.org (phpBB forum + webpages)

Postby Falcury » February 13th, 2017, 1:56 pm

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: 2984
Joined: April 9th, 2009, 10:58 pm
Contact:

Re: princed.org (phpBB forum + webpages)

Postby Norbert » February 13th, 2017, 3:56 pm

Falcury wrote:OK, done!


Thanks. :)

User avatar
Norbert
The Prince of Persia
The Prince of Persia
Posts: 2984
Joined: April 9th, 2009, 10:58 pm
Contact:

Re: princed.org (phpBB forum + webpages)

Postby Norbert » February 14th, 2017, 5:11 pm

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
Wise Scribe
Wise Scribe
Posts: 294
Joined: June 25th, 2009, 10:01 pm

Re: princed.org (phpBB forum + webpages)

Postby Falcury » February 14th, 2017, 5:28 pm

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.


Return to “General Stuff”

Who is online

Users browsing this forum: No registered users and 1 guest