[resolved] Help, can't login/logout correctly thru widget.

User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: [resolved] Help, can't login/logout correctly thru widget.

Post by axew3 »

hello! In this plugin we use only code that run in WP, no way to use phpBB functions. We can reproduce by the way anything on WP side.
On old versions of the plugin in fact, the logout widget link was pointing to phpBB logout not wp logout.
The trick is just to append phpbb session to an url that point to phpBB logout.

I see that you have cookie .thetopfew.com, i should test the thing to understand why the loop about cookie that should be the couse due to cookie problem, but you can try this?

Open wp_w3all.php file

search for this code

Code: Select all

$useragent = (!empty($_SERVER['HTTP_USER_AGENT'])) ? $_SERVER['HTTP_USER_AGENT'] : 'unknown';
immediately after, add this:

Code: Select all

$w3cookie_domain = '.thetopfew.com';
OR

Code: Select all

$w3cookie_domain = 'thetopfew.com';
without point at begin.

try to logout and re-login.
User avatar
kaspir
Moderator
Moderator
Posts: 88
Joined: Mon Mar 20, 2017 2:38 pm
Location: USA
Contact:

Re: [resolved] Help, can't login/logout correctly thru widget.

Post by kaspir »

Yes, I use the ".thetopfew.com" for cookie domain.

I logged in, turned on my ithemes - > hide back end option.

Tried both edits, neither allow me to logout thru widget. :(

axew3 wrote: Wed Mar 29, 2017 2:46 pm hello! In this plugin we use only code that run in WP, no way to use phpBB functions. We can reproduce by the way anything on WP side.
On old versions of the plugin in fact, the logout widget link was pointing to phpBB logout not wp logout.
The trick is just to append phpbb session to an url that point to phpBB logout.
That was my objective, but not a good idea way of doing it. But exactly what I meant by in phpbb functions. So we could do WP side of course.
Image
World of Phaos RPG online is making it's come back! Play free now!
Check out phpBB contributions & extension downloads. :P
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: [resolved] Help, can't login/logout correctly thru widget.

Post by axew3 »

p.s i've also note if not wrong, due to your cookie on your site i've check a while before,
i see you're using plugin WordFence?
Have you try to disable this plugin to see what happen?
User avatar
kaspir
Moderator
Moderator
Posts: 88
Joined: Mon Mar 20, 2017 2:38 pm
Location: USA
Contact:

Re: [resolved] Help, can't login/logout correctly thru widget.

Post by kaspir »

Yes I have, it's not Wordfence, it is in fact iThemes Security feature s/s above.
axew3 wrote: Wed Mar 29, 2017 4:29 pm p.s i've also note if not wrong, due to your cookie on your site i've check a while before,
Not sure what you meant by this.
Image
World of Phaos RPG online is making it's come back! Play free now!
Check out phpBB contributions & extension downloads. :P
Post Reply