Page 2 of 3
Re: Help, can't login/logout correctly thru widget.
Posted: Thu Mar 23, 2017 7:04 am
by kaspir
Just re-enabled my KeyCaptcha, remade a a new account no problem. Googled your error. Came up with this posted recently on phpBB:
https://www.phpbb.com/community/viewtop ... 6&start=15
I do NOT use cloudflare, so that's not the issue. Other advice was for the user to clear browser cache and try again. I do not host with hostgator, instead I have Siteground. So that doesn't seem to be an issue yet either.
I was checking phpBB, ACP -> Security Settings, eyeballing the "Validate" options, specifically the "Validate Referrer" option. Any advice on what these should be for your external login widget? I've set it to none, but still no avail for logging out thru widget.
Re: Help, can't login/logout correctly thru widget.
Posted: Thu Mar 23, 2017 12:39 pm
by axew3
wow ... after today 1.6.6 release i will return over and try to register!
Re: Help, can't login/logout correctly thru widget.
Posted: Fri Mar 24, 2017 4:13 am
by kaspir
axew3 wrote: ↑Thu Mar 23, 2017 12:39 pm
wow ... after today 1.6.6 release i will return over and try to register!
Take your time, I know everyone is busy. Logging out is little worry to me right now.
Updated version, looking sexy!
[resolved] Re: Help, can't login/logout correctly thru widget.
Posted: Sat Mar 25, 2017 9:41 am
by kaspir
Saw you successfully made an account, registered email, but then never logged in. It's okay, no rush I am merely updating my problem.
The only settings I been tinkering with (in hopes to logout thru widget) are these in phpBB -> Security Settings
And these I have NOT changed: phpBB -> Server Settings
I have also tried both [c]$w3all_dbport = ' '; // maybe required[/c] & [c]$w3all_dbport = '443'; // maybe required[/c] for my SSL port in the past. Currently still on 443 port, running a manual config file thru [c]/wp-content/plugins/wp-w3all-config/config.php[/c]. I am thinking about trying to change config file path to my actual in [c]/phpBB/[/c] to see if that makes a difference logging out. Will report findings then, I never tried it that way yet.
Re: [resolved] Help, can't login/logout correctly thru widget.
Posted: Wed Mar 29, 2017 1:24 pm
by kaspir
EDIT: I ACTUALLY JUST FOUND THE CULPRIT. It's the iThemes plugin.
This option CAN NOT be used:
I turned it off, then logout from widget finally worked.
Is there anyway for me to match my custom WP login page url? Change the widget logout url I guess? Since I never allowed users to register thru WP.
Also, after logout, how do I redirect them elsewhere, instead of the wp-login page?
Re: [resolved] Help, can't login/logout correctly thru widget.
Posted: Wed Mar 29, 2017 2:15 pm
by kaspir
Perhaps, the widget logout code, could somehow use the code from phpBB/includes/functions.php found here:
There for bypassing any WP plugins by using the phpBB logout link+sid, would this be a possible resolution?