princed.org (phpBB forum + webpages)

Prince of Persia related subjects that do not have their own boards.
User avatar
Norbert
The Prince of Persia
The Prince of Persia
Posts: 5746
Joined: April 9th, 2009, 10:58 pm

Re: princed.org (phpBB forum + webpages)

Post by Norbert »

Falcury wrote: January 27th, 2020, 7:44 pm I tried to update the forum software to the latest version (phpBB 3.3), but it turns out that this requires PHP 7.1.3, which the webserver is not yet running. So, instead I updated to the next latest version (phpBB 3.2.9), which should still be fine, for now.
Thanks for continuing to put in the effort to work on these things.
David
The Prince of Persia
The Prince of Persia
Posts: 2850
Joined: December 11th, 2008, 9:48 pm
Location: Hungary

Re: princed.org (phpBB forum + webpages)

Post by David »

Norbert wrote: April 16th, 2020, 12:12 pm This phpBB forum software is automatically converting unicode U+1F633 to 😳, which is loaded from (sub)domain twemoji.maxcdn.com as such:

Code: Select all

<img alt="😳" class="emoji smilies" draggable="false" src="//twemoji.maxcdn.com/2/svg/1f633.svg">
[...]
But, similar to Google Fonts that everyone is embedding via CDNs, this is (also) yet another privacy invasion.
I've found some threads in phpBB's support forum where people ask how this can be turned off:
https://www.phpbb.com/community/viewtop ... &t=2477496
https://www.phpbb.com/community/viewtop ... &t=2467271

And here is a post showing what to edit to turn it off:
https://tracker.phpbb.com/browse/PHPBB3-15625
another: https://www.phpbb.com/community/viewtop ... #p14985601
and another: https://www.phpbb.com/community/viewtop ... #p14985866

Can an admin (Falcury?) look into this?
Falcury
Calif
Calif
Posts: 565
Joined: June 25th, 2009, 10:01 pm

Re: princed.org (phpBB forum + webpages)

Post by Falcury »

OK, I made the following change in phpbb/textformatter/s9e/parser.php:

Code: Select all

	public function enable_smilies()
	{
		$this->parser->enablePlugin('Emoticons');
		//$this->parser->enablePlugin('Emoji');
		$this->parser->disablePlugin('Emoji');
	}
This is the method proposed in this post:
https://www.phpbb.com/community/viewtop ... #p14985866

Let's see if this works: 😳

Edit: it looks like earlier posts still have the external image, instead of the unicode character. My hunch is that they will only disappear if the post is edited.
David
The Prince of Persia
The Prince of Persia
Posts: 2850
Joined: December 11th, 2008, 9:48 pm
Location: Hungary

Re: princed.org (phpBB forum + webpages)

Post by David »

Falcury wrote: May 31st, 2020, 6:26 pm Let's see if this works: 😳
It does. :)
Falcury wrote: May 31st, 2020, 6:26 pm Edit: it looks like earlier posts still have the external image, instead of the unicode character. My hunch is that they will only disappear if the post is edited.
I guess the HTML versions of the posts are cached, so they don't have to be converted from BBCode every time the post is displayed.
David
The Prince of Persia
The Prince of Persia
Posts: 2850
Joined: December 11th, 2008, 9:48 pm
Location: Hungary

Re: princed.org (phpBB forum + webpages)

Post by David »

Falcury wrote: May 31st, 2020, 6:26 pm Edit: it looks like earlier posts still have the external image, instead of the unicode character. My hunch is that they will only disappear if the post is edited.
I found something strange related to that:

This post is from 2005: viewtopic.php?p=2207#p2207
That post (and another below that) contains an emoji image.
The source of the post contains ":wink:", this got converted into the emoji image.
(But as you can see, it is not converted in my post.)

Here are some more such posts: search.php?keywords=wink (scroll down)

How is this possible if those posts are from 2005?
Did something update the cached HTML version of the posts which were made before phpBB had emoji support?
Perhaps it happened when the forum was upgraded to a phpBB version which replaces emojis with images?

Another thing I wonder is: Why do those posts contain ":wink:"?
The forum does have a winking smiley ( ;) ), but it can be entered with ";)", not with ":wink:".
Perhaps back in 2005, in a very old version of phpBB, it could be entered with ":wink:"?
User avatar
atrueprincefanfrom18
Site Shah
Site Shah
Posts: 1786
Joined: January 21st, 2020, 2:53 pm
Contact:

Re: princed.org (phpBB forum + webpages)

Post by atrueprincefanfrom18 »

David wrote: June 20th, 2020, 10:48 am [...] Perhaps back in 2005, in a very old version of phpBB, it could be entered with ":wink:"?
Well, there can be three possibilities:

1. It was copy-pasted into the post and the database happily accepted the post content and there were no problems displaying it as well. Example: 🙌 🙌 🙌
2. Forum used to have ":wink" instead of ;) ;)
3. Last thing can be it was included with an image. As you can see this post is pointing to an image of this url.

I think 2nd option has more probability. Because if you inspect the HTML you can see an alt attribute referring to wink. That is used if there's some problem loading an image. But it can also be the case where the alt attribute is being returned from jsdelivr :)

P.S: Why the images are not found on the server? Also, the post title is not appearing for some posts. Can anything be done with this?
Love to create new MODS :)

My complete list of mods until now!

My channel. Do consider subscribing it! :)
David
The Prince of Persia
The Prince of Persia
Posts: 2850
Joined: December 11th, 2008, 9:48 pm
Location: Hungary

Re: princed.org (phpBB forum + webpages)

Post by David »

atrueprincefanfrom18 wrote: June 20th, 2020, 12:57 pm P.S: Why the images are not found on the server?
Do you mean for example the avatar of user darthmarsden in that topic?
I don't know why did it disappear.
atrueprincefanfrom18 wrote: June 20th, 2020, 12:57 pm Also, the post title is not appearing for some posts. Can anything be done with this?
In old versions of phpBB, posts didn't have titles, only topics had titles.
I remember someone even complained when phpBB added titles to posts, because they thought it was pointless. But I can't find it now.
User avatar
atrueprincefanfrom18
Site Shah
Site Shah
Posts: 1786
Joined: January 21st, 2020, 2:53 pm
Contact:

Re: princed.org (phpBB forum + webpages)

Post by atrueprincefanfrom18 »

David wrote: June 20th, 2020, 4:37 pm
atrueprincefanfrom18 wrote: June 20th, 2020, 12:57 pm P.S: Why the images are not found on the server?
Do you mean for example the avatar of user darthmarsden in that topic?
I don't know why did it disappear.
Yes... Some avatar images are just not found on the server...
David wrote: June 20th, 2020, 4:37 pm In old versions of phpBB, posts didn't have titles, only topics had titles.
Oh, okay.
David wrote: June 20th, 2020, 4:37 pm I remember someone even complained when phpBB added titles to posts, because they thought it was pointless. But I can't find it now.
Yeah! It's actually useless... :)
But it's a habit now to see the same title for every post and the empty space in that thread doesn't look good.
Love to create new MODS :)

My complete list of mods until now!

My channel. Do consider subscribing it! :)
David
The Prince of Persia
The Prince of Persia
Posts: 2850
Joined: December 11th, 2008, 9:48 pm
Location: Hungary

Re: princed.org (phpBB forum + webpages)

Post by David »

Falcury
Calif
Calif
Posts: 565
Joined: June 25th, 2009, 10:01 pm

Re: princed.org (phpBB forum + webpages)

Post by Falcury »

OK, I’ll look into it tomorrow!
User avatar
Norbert
The Prince of Persia
The Prince of Persia
Posts: 5746
Joined: April 9th, 2009, 10:58 pm

Re: princed.org (phpBB forum + webpages)

Post by Norbert »

Falcury wrote: August 28th, 2020, 9:04 am
David wrote: August 28th, 2020, 7:52 am Thenasty wrote he doesn't see the attach option in that thread.
Falcury, could you look at it?
OK, I’ll look into it tomorrow!
I'm fairly certain that the issue is not that attaching isn't possible, but that some boards display a quick-reply area at the end of their threads while others do not.
The quick-reply area does not include an attach option, and requires first going to 'full' edit mode for that.
User avatar
atrueprincefanfrom18
Site Shah
Site Shah
Posts: 1786
Joined: January 21st, 2020, 2:53 pm
Contact:

Re: princed.org (phpBB forum + webpages)

Post by atrueprincefanfrom18 »

I think I had experienced this before, it happens sometimes when the internet connection is too slow. It's impossible to replicate the issue...
I don't really remember when it had happened.
But after refreshing the issue gets resolved.
Love to create new MODS :)

My complete list of mods until now!

My channel. Do consider subscribing it! :)
Falcury
Calif
Calif
Posts: 565
Joined: June 25th, 2009, 10:01 pm

Re: princed.org (phpBB forum + webpages)

Post by Falcury »

Norbert wrote: August 28th, 2020, 1:22 pm I'm fairly certain that the issue is not that attaching isn't possible, but that some boards display a quick-reply area at the end of their threads while others do not.
The quick-reply area does not include an attach option, and requires first going to 'full' edit mode for that.
Thenasty wrote: August 28th, 2020, 4:12 pm I guess that's what I missed, going into the Full Editor.
Glad the problem is resolved!
User avatar
Norbert
The Prince of Persia
The Prince of Persia
Posts: 5746
Joined: April 9th, 2009, 10:58 pm

Re: princed.org (phpBB forum + webpages)

Post by Norbert »

Maybe Quick Reply is confusing (another example).
And the inconsistency, that some boards have Quick Reply enabled and some don't, still exits.
At least, I think. I'm too lazy/busy to check... sorry.
David
The Prince of Persia
The Prince of Persia
Posts: 2850
Joined: December 11th, 2008, 9:48 pm
Location: Hungary

Re: princed.org (phpBB forum + webpages)

Post by David »

Norbert wrote: August 30th, 2020, 12:33 pm And the inconsistency, that some boards have Quick Reply enabled and some don't, still exits.
At least, I think. I'm too lazy/busy to check... sorry.
I couldn't find any boards where Quick Reply is not enabled.
Are there any?
Post Reply