Search found 367 matches

by JoshyPHP
Mon Nov 05, 2018 3:29 pm
Forum: [3.x] Discussion
Topic: Future support for Sphinx Search
Replies: 6
Views: 1201

Re: Future support for Sphinx Search

SphinxQL has been around since 0.9.9-rc2 so it should cover any version of Sphinx released this decade.
by JoshyPHP
Sat Oct 13, 2018 8:20 pm
Forum: [3.x] Discussion
Topic: PhpBB server load management
Replies: 6
Views: 2330

Re: PhpBB server load management

A quick test on my local 3.2.x install shows that it takes between 200-300 files and 1-6 queries to get past session_begin() , the smaller number being for a hot cache. I don't think the exact number of queries really matters, it's more about having to create a connection. It takes about ~60ms to ge...
by JoshyPHP
Sat Oct 13, 2018 12:16 pm
Forum: [3.x] Discussion
Topic: PhpBB server load management
Replies: 6
Views: 2330

Re: PhpBB server load management

If you push load management to the application, by the time it starts checking whether the request should be served, a hundred different PHP files have already been loaded, a connection to the database has been established, a dozen different tables have already been queried and ~40% of the work requ...
by JoshyPHP
Fri Sep 28, 2018 9:52 am
Forum: [3.x] Tickets Discussion
Topic: Support for Emojis
Replies: 66
Views: 53058

Re: Support for Emojis

For future reference, starting with 1.3 the Emoji plugin provides an easier way to use Twemoji assets from their CDN using the @tseq attributes. phpBB currently ships with the 0.13.1 version and there's been a few backward-incompatible changes between 0.x and 1.x but only one of them directly affect...
by JoshyPHP
Sat Aug 18, 2018 9:51 pm
Forum: [3.x] Discussion
Topic: .svg as user uploaded attachments or [img] links
Replies: 9
Views: 2707

Re: .svg as user uploaded attachments or [img] links

If you let someone upload a SVG, it becomes possible for someone to link to it and then it becomes possible to execute scripts. Same as letting users upload a HTML file.
by JoshyPHP
Sat Aug 18, 2018 4:15 pm
Forum: [3.x] Discussion
Topic: .svg as user uploaded attachments or [img] links
Replies: 9
Views: 2707

Re: .svg as user uploaded attachments or [img] links

I am not an expert on .svg format, but some quick searching has taught me that .svg files may contain scripts and are thus a potential security hole. Scripts are not executed by the browser if the resource is fetched as an image. In order to execute scripts you need to link to the SVG image and for...
by JoshyPHP
Sat May 12, 2018 9:28 pm
Forum: [3.x] Discussion
Topic: usage of Eval
Replies: 2
Views: 1413

Re: usage of Eval

eval usage should be avoided, no ? In practice it goes like this: A: eval() should be avoided() B: Why? A: Because it's bad. B: Why? A: It's not safe. B: Why? A: It can be used to <whatever> B: How? A: I don't know. If you're interested, here's what you should do: find out how eval() is being used,...
by JoshyPHP
Tue May 08, 2018 9:16 pm
Forum: [3.x] Tickets Discussion
Topic: Support for Emojis
Replies: 66
Views: 53058

Re: Support for Emojis

If the user used the actual emoji character or sequence then yes, you have the original character available if you want to process it at display time somehow. If they used an ASCII name such as :rainbow_flag: it gets dicier, considering there's no standard for them. Either way, the only values avail...
by JoshyPHP
Tue May 08, 2018 1:14 pm
Forum: [3.x] Tickets Discussion
Topic: Support for Emojis
Replies: 66
Views: 53058

Re: Support for Emojis

Each emoji set uses a different filename scheme, which makes it much harder to switch from a one to another unless you maintain your own fork. EmojiOne: 1f3f3-1f308.png Twemoji: 1f3f3-fe0f-200d-1f308.svg Noto: emoji_u1f3f3_200d_1f308.svg Currently, the value that's stored in the post's data is 1f3f3...
by JoshyPHP
Tue Apr 17, 2018 1:50 am
Forum: [3.x] Tickets Discussion
Topic: Support for Emojis
Replies: 66
Views: 53058

Re: Support for Emojis

On the topic of emoji, I noticed today that GitHub have recently replaced their emoji with Noto's. GitHub's PNG is on the left, Noto's SVG on the right:

Image Image