Search found 13 matches

by v12mike
Tue Aug 20, 2019 9:43 am
Forum: General Development Discussion
Topic: forum_id in posts table
Replies: 4
Views: 1734

Re: forum_id in posts table

So is it more precise to say that post.forum_id is the forum where the post was originally made and topic.forum_id is the forum where the post currently resides? I have always used topic.forum_id, but I think that here are a few places in extensions (and even core code) that assume that post.forum_i...
by v12mike
Sun Aug 18, 2019 7:42 am
Forum: General Development Discussion
Topic: forum_id in posts table
Replies: 4
Views: 1734

forum_id in posts table

The phpBB database has a forum_id field in the posts table as well as a forum_id field in the topics table. I would like clarification as to whether this is an intended part of the design, or just an historical artefact? Is there any intended scenario where the post and its topic will have different...
by v12mike
Sun Jun 09, 2019 12:54 pm
Forum: [3.x] Style Development
Topic: Style demos on this site - problem with displaying image
Replies: 1
Views: 2281

Style demos on this site - problem with displaying image

Released styles get a demo page on this site, e.g.: https://www.phpbb.com/customise/db/style/we_universal/demo/3.1 which works as intended. The phpBB 3.2.x versions of that style changed the way that the header image is rendered, it is no longer defined in the .css, but is defined directly in the ht...
by v12mike
Sat Oct 13, 2018 6:58 pm
Forum: [3.x] Discussion
Topic: On password protected forums...
Replies: 7
Views: 8728

Re: On password protected forums...

One interesting question, after upgrade to a version of phpBB not supporting passworded forums, what will happen to existing passworded forums?
by v12mike
Sat Oct 13, 2018 1:49 pm
Forum: [3.x] Discussion
Topic: PhpBB server load management
Replies: 6
Views: 6497

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 req...
by v12mike
Sun Oct 07, 2018 9:05 am
Forum: [3.x] Discussion
Topic: PhpBB server load management
Replies: 6
Views: 6497

PhpBB server load management

The existing phpBB server load management system is rubbish, at least for the purpose of maintaining the best service for users while the server load is high. My main forum recently had an episode of server overloading which from log analysis seems to have been caused by an overly aggressive search ...
by v12mike
Sat Aug 18, 2018 7:19 pm
Forum: [3.x] Discussion
Topic: .svg as user uploaded attachments or [img] links
Replies: 10
Views: 11297

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

Thanks for the information and links. I will do some more reading. If SVGs served as images are not a security threat, am I correct in thinking that the non-support of the image/svg+xml mime type by phpBB (for display as an in-line image) is only becausse no-one has got around to implementing it yet?
by v12mike
Fri Aug 17, 2018 5:19 am
Forum: [3.x] Discussion
Topic: .svg as user uploaded attachments or [img] links
Replies: 10
Views: 11297

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

If disabling of external svg images in the s9e formatter turns out to be difficult, it is also possible to catch the links later at the point of the 'core.page_footer_after' event, which is where the camo image proxy extension modifies external image links with http:// addresses. A bit ugly doing it...
by v12mike
Thu Aug 16, 2018 7:51 pm
Forum: [3.x] Discussion
Topic: .svg as user uploaded attachments or [img] links
Replies: 10
Views: 11297

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

they actually need to be allowed as we move forward as we are working to convert all images we use to allow SVG versions, ie icons, rank images, imagesets, etc. Since our main mechanic for sharing is through attachments on .com. We should implement something as you point out. SVG code is actually v...
by v12mike
Wed Aug 15, 2018 6:31 pm
Forum: [3.x] Discussion
Topic: .svg as user uploaded attachments or [img] links
Replies: 10
Views: 11297

.svg as user uploaded attachments or [img] links

I can't see that there has been any recent discussion here on this subject. I have some users who have good reasons for wanting to upload .svg images, and I am considering implementing something to make it possible. This could be an extension, but it could also be a core enhancement, hence starting ...