Search found 101 matches

by digitaltoast
Tue Jan 09, 2024 9:34 am
Forum: phpBB Discussion
Topic: [Split]Compressing uploaded image attachments?
Replies: 3
Views: 911

Re: Compressing uploaded image attachments?

Yes, otherwise I wouldn't have asked.
by digitaltoast
Tue Jan 09, 2024 8:09 am
Forum: phpBB Discussion
Topic: [Split]Compressing uploaded image attachments?
Replies: 3
Views: 911

[Split]Compressing uploaded image attachments?

Well, that's a dead link now. I've been looking for the same. Our "files" folder is now +4GB and most are images. I can very easily run a script to convert them all to webp and shrink the directory by at least 60% while keeping them looking the same, but how do I update the db with the new...
by digitaltoast
Mon Apr 30, 2018 7:52 am
Forum: [3.2.x] Support Forum
Topic: Preventing double posts - maybe via jQuery?
Replies: 9
Views: 654

Re: Preventing double posts - maybe via jQuery?

Exactly - and I don't think it is. Looks like flood control can't be relied on then; I'll look into jQuery or nginx tweaking and post back here when I've found something that works. Thanks.
by digitaltoast
Mon Apr 30, 2018 7:44 am
Forum: [3.2.x] Support Forum
Topic: Preventing double posts - maybe via jQuery?
Replies: 9
Views: 654

Re: Preventing double posts - maybe via jQuery?

I think a server response of 300ms for a post is reasonable - but more to the point, if "flood control" is set to 15 seconds, should that prevent a second post within 100ms?
by digitaltoast
Mon Apr 30, 2018 7:28 am
Forum: [3.2.x] Support Forum
Topic: Preventing double posts - maybe via jQuery?
Replies: 9
Views: 654

Re: Preventing double posts - maybe via jQuery?

Oh, you mean in case the flag had got corrupted in the DB? Tried it, but still getting two posts. I mean, we're talking about a flag set for 15 (now 30) seconds, and a double-click speed of between 80 and 100ms. My server seems to respond to a posting within 300ms, therefore, I wonder if there's som...
by digitaltoast
Sun Apr 29, 2018 6:21 pm
Forum: [3.2.x] Support Forum
Topic: Preventing double posts - maybe via jQuery?
Replies: 9
Views: 654

Re: Preventing double posts - maybe via jQuery?

Thank you - wasn't aware of that, however, I looked and it's already set to 15 seconds. Hmmmm... :?
by digitaltoast
Sun Apr 29, 2018 5:48 pm
Forum: [3.2.x] Support Forum
Topic: Preventing double posts - maybe via jQuery?
Replies: 9
Views: 654

Preventing double posts - maybe via jQuery?

For some reason, a few users are reporting that they are getting double posts/replies. I've been able to replicate at least the posting part, by double clicking "submit" on a new post. I'm surprised "prevent 5 posts being made in the same 2 seconds" isn't baked in to phpbb, but n...
by digitaltoast
Sun Feb 18, 2018 6:01 pm
Forum: [3.2.x] Support Forum
Topic: Is there a particular reason for old jQuery version? Safe to replace?
Replies: 8
Views: 1324

Is there a particular reason for old jQuery version? Safe to replace?

While poking around, I notice that even the latest 3.2.2 download contains jQuery 1.11.9 from January 24, 2014. The current version of jQuery is 3.3. I'm happy to just go ahead and drop in the latest version, but is it likely to break anything? Yes, I know the obvious answer is "why don't you j...
by digitaltoast
Tue Jun 13, 2017 11:40 am
Forum: [3.2.x] Support Forum
Topic: Saving orphaned attachments to a folder?
Replies: 2
Views: 246

Re: Saving orphaned attachments to a folder?

Thank you - I prefer your second idea. I thought about attaching them to one post, but it would have taken ages to paste, paste, paste the post ID into all the boxes! I'm sure it could be done from the console by someone clever but... time is short!

Thanks for the useful script.
by digitaltoast
Tue Jun 13, 2017 11:15 am
Forum: [3.2.x] Support Forum
Topic: Saving orphaned attachments to a folder?
Replies: 2
Views: 246

Saving orphaned attachments to a folder?

Got about 600 orphaned attachments (99% photos) over the years. My idea was to save them to a folder, and give people the chance to claim them before deletion. For now, I can simply use a Chrome extension to "save multiple links" but is there a smarter way of doing it? It would be great to...
by digitaltoast
Tue Jun 13, 2017 11:04 am
Forum: [3.2.x] Support Forum
Topic: Resizing existing uploaded image attachments
Replies: 1
Views: 361

Resizing existing uploaded image attachments

We've got posts and files going back 8 years and the attachment folder is now 2.5Gb with a lot of HUGE images. Although the files have no extension, Linux's "file" command gives this info: 9897_45200056c4ea07275bf57e07323eda39: JPEG image data, Exif standard: [TIFF image data, little-endia...
by digitaltoast
Mon Mar 20, 2017 7:11 am
Forum: Abandoned Extensions
Topic: [ABD] Auto db Backup
Replies: 368
Views: 83152

Re: [3.2][RC] Auto db Backup

Based on experience, I would select "NO", because it doesn't backup with "YES"!

That said, you should be using InnoDB anyway, which apparently doesn't allow for optimisation like that (someone correct me if wrong)
by digitaltoast
Fri Feb 03, 2017 2:19 pm
Forum: phpBB Discussion
Topic: Secure Login
Replies: 59
Views: 14511

Re: Secure Login

if you are an admin and someone intercepts your login data or session cookies/data after you've logged in that person now has your entire user database, private messages and so on This isn't true either: phpBB checks the session against the IPv4 address, so it would be invalidated unless the attack...
by digitaltoast
Fri Feb 03, 2017 1:58 pm
Forum: phpBB Discussion
Topic: Secure Login
Replies: 59
Views: 14511

Re: Secure Login

How about the server load compared between http and https? For every connection the server has to do the encryption additionally, correct? Will it increase the load significantly? The "cost" of encrypting that first connection is negligible - around 5ms (0.005 seconds) and around 1% incre...
by digitaltoast
Thu Feb 02, 2017 10:28 pm
Forum: phpBB Discussion
Topic: Secure Login
Replies: 59
Views: 14511

Re: Secure Login

EDIT: Looks like Techie-Micheal beat me to what I was typing, and explained it better too! Here what I had anyway... Isn't the sensitive info, whatever that might be, only transferred when the form is submitted ? It is usually only one way is it not? Because if you are an admin and someone intercept...

Go to advanced search