Page 12 of 24

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

Posted: January 8th, 2017, 11:25 pm
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?

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

Posted: January 9th, 2017, 1:01 am
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.

Re: princed.org (phpBB forum + webpages)

Posted: January 9th, 2017, 2:43 pm
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.)

Re: princed.org (phpBB forum + webpages)

Posted: January 14th, 2017, 12:53 am
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.

Re: princed.org (phpBB forum + webpages)

Posted: January 14th, 2017, 2:21 am
by Norbert
Thanks.

Re: princed.org (phpBB forum + webpages)

Posted: January 14th, 2017, 7:56 pm
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

Re: princed.org (phpBB forum + webpages)

Posted: January 22nd, 2017, 1:03 pm
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

Re: princed.org (phpBB forum + webpages)

Posted: January 22nd, 2017, 4:20 pm
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.

Re: princed.org (phpBB forum + webpages)

Posted: January 23rd, 2017, 7:21 pm
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! :)

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

Posted: February 12th, 2017, 11:13 pm
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.

Re: princed.org (phpBB forum + webpages)

Posted: February 13th, 2017, 12:18 pm
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.

Re: princed.org (phpBB forum + webpages)

Posted: February 13th, 2017, 1:56 pm
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!

Re: princed.org (phpBB forum + webpages)

Posted: February 13th, 2017, 3:56 pm
by Norbert
Falcury wrote:OK, done!
Thanks. :)

Re: princed.org (phpBB forum + webpages)

Posted: February 14th, 2017, 5:11 pm
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".)

Re: princed.org (phpBB forum + webpages)

Posted: February 14th, 2017, 5:28 pm
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.