Page 3 of 7

Re: phpBB Newly Registered User bug? (no forums shows)

Posted: Fri Jan 29, 2021 12:40 am
by pennymachines
I'm tempted to sing the praises of WP_w3all on the phpBB forums, because I'm sure there are some who would use it but don't know it exists - or how well it works or how well it is supported by you.
But maybe more users is just more work for you, answering questions and fixing issues for more folks like me...

Re: phpBB Newly Registered User bug? (no forums shows)

Posted: Fri Jan 29, 2021 9:37 am
by axew3
still we have not take the iframe to the next level, but it will be done soon.
The 2.4.0 is still not perfect, but it is fast, and will be further more improved.
It can run into sites with hundred thousand of users without problems. Even in iframe mode.

The code could run also only once when user login, with little changes, leaving the user logged in phpBB and not checking for his phpBB session state at each request. May suitable for sites with million of users (WoW!)

The logic would be: release ever a remember me login for phpBB, and let wordpress sessions take effect: when user is logged out by wordpress, then the code just nullify phpBB session. So only create one when login in wp, destroy once when logged out in wp.
May just session update in phpBB can occur each time (may not, not strictly required). Very, very fast.

The concept of the code, the iframe and all the rest, the point where i'm now, is due to people like you David.
Do you remember how many fails i had on try to fix something for frontend logins in the past?

Each question worth to be considered because, two different cms linked via cookie like this, allow thousand of possible configurations.
Often the solution is implicit and clear, sometime it is not. It is ever easy to do something specific for a configuration or a precise need, but it is often less easy to do something that will work fine on all and any possible circumstance.

Another concept that make all this possible, if the bruteforce easy and rude code: it is so stupid concept, that i'm also surprised on how it is effective now, secure, super light, fast. An integration done the way it is this, but without the bruteforce trick, would be really unsecure.

2.4.0 to 2.5 will add and fix more and more, also thanks to all reports and questions. So just follow please!

The audio and video recorder for phpBB is coming ... i tested a prototype mess code working into my localhost!
It do NOT add nothing or change nothing into phpBB db. It is like a standalone piece of code.
Light and fast! So you'll have the disgrace to listen my voice one of these days. Audio files will be compressed mp3 format, video/audio will be webm format. It seem that safari now support webm. That's great. I will test things before by the way. The time i did a recotder for wordpress in the past, which i will release as free when i will have the time to review the old code, mp4 was the unique crossbrowser suitable format, so you had to use something like ffmpeg to convert into mp4 files the video stream before to be stored. Now all will be easy with webm format
https://caniuse.com/webm

It will be tested here before to be released!

Re: phpBB Newly Registered User bug? (no forums shows)

Posted: Tue Feb 09, 2021 6:55 pm
by pennymachines
Returning to phpBB Newly Registered Users (Group ID = 7 in WP_w3all)...

I have set set phpBB ACP/User Registration Settings/ New member post limit: 1 (and forum permission Increment post counter is set to 'Yes').

But Newly Registered Users are requiring further approval after I've approved their first post...

It has been suggested that this might be because the user_new flag is not being set for these users (by WP_w3all).

If so, I wonder if you have a fix for this? I think it's the most useful function of the Newly Registered Users group.

Re: phpBB Newly Registered User bug? (no forums shows)

Posted: Tue Feb 09, 2021 10:16 pm
by axew3
I assume that you should set group, in the way the when user promoted to next group, should be removed by the previous one?
So when from newly to registered, the user should be removed from newly, and not belong to both.
Should be an option about this into ACP if i'm not wrong?

Re: phpBB Newly Registered User bug? (no forums shows)

Posted: Tue Feb 09, 2021 10:36 pm
by axew3
ACP -> Board Configuration -> User registration settings
Set Newly Registered Users group to default:
If set to yes, and a new member post limit is specified, newly registered users will not only be put into the Newly Registered Users group, but this group will also be their default one. This may come in handy if you want to assign a group default rank and/or avatar the user then inherits.
set to no. Not sure but, isn't it?

Re: phpBB Newly Registered User bug? (no forums shows)

Posted: Thu Feb 11, 2021 1:35 pm
by pennymachines
I must admit, having re-read the text several times, I can't understand what that setting does.

So I tried both Yes and No settings.

Either way, my Newly Registered Users are stuck in post approval mode. I have to manually remove them from the Newly Registered Users group and then add them to the Registered Users group. This seems odd, because I thought Newly Registered Users were also Registered Users by default. If I don't add them to the Registered Users group they have insufficient permissions to view the forums.

Maybe it's similar to the problem discussed above - they are Registered Users, but without the regular permissions of that group.