Search found 99 matches

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: 156

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: 156

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: 156

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: 156

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: 156

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 nonetheless, this sho...
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: 3
Views: 340

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 just t...
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: 83

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: 83

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 have a "m...
by digitaltoast
Tue Jun 13, 2017 11:04 am
Forum: [3.2.x] Support Forum
Topic: Resizing existing uploaded image attachments
Replies: 1
Views: 91

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-endian, direntr...
by digitaltoast
Mon Mar 20, 2017 7:11 am
Forum: Extensions in Development
Topic: [3.2][RC] Auto db Backup
Replies: 136
Views: 16595

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: 8479

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: 8479

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% increase in CPU...
by digitaltoast
Thu Feb 02, 2017 10:28 pm
Forum: phpBB Discussion
Topic: Secure Login
Replies: 59
Views: 8479

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...
by digitaltoast
Thu Feb 02, 2017 8:52 pm
Forum: phpBB Discussion
Topic: Secure Login
Replies: 59
Views: 8479

Re: Secure Login

Indeed - it is of course nothing to do with "google trying to take over the whole internet and decide how everything should be done", it's a policy decided by many browsers. https://blog.mozilla.org/security/ Changes to Firefox security user experience Up until now, Firefox has used a green lock ico...
by digitaltoast
Thu Feb 02, 2017 8:42 pm
Forum: phpBB Discussion
Topic: Secure Login
Replies: 59
Views: 8479

Re: Secure Login

running normal html/css under SSL has absolutely no benefit to anyone. Sorry, but that is simply incorrect. It gives a BIG speed boost as the requests can be served over http2, which is not possible with non-ssl sites. Here is a real-world test done over a 48h period : HTTP Protocol Version Average...

Go to advanced search