wp_w3all 2.6.6 logs and requests

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

wp_w3all 2.6.6 logs and requests

Post by axew3 »

Moved to 2.6.7
Thinking on how all works into the plugin code, could be so useful, in the case that logins are done only into the wordpress side (and maybe, also, the phpBB WP extension has been installed into phpBB), to avoid the search for an existent and valid phpBB session each time, if the user result to be logged and with valid session in WordPress.
Actually in effect, the main verify_credentials function (even if it is very fast) retrieve each time the phpBB user's session, but what it do if users result to be already logged in wp, is just to check if email, password or url settings in phpBB have been updated, and update in WordPress in accord if required. It result to be not useful, if the phpBB WP extension has been installed into phpBB.
So that an option, that will switch the way the integration plugin will work if installed in conjunction with the phpBB WP extension in phpBB, will be added.

Moved to 2.6.7

P.s (not related plugin, but phpBB extension)
The NEW version of the phpBB WordPress phpBB extension is quite ready to be released.
It will not require to manually edit any config.php file, but only to setup into the ACP related settings page, configuring options.
The extension has been upgraded to be easier to be used for anyone.

Stay tuned! ASAP will be ready for the cool people
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: wp_w3all 2.6.6 logs and requests

Post by axew3 »

2.6.6 will fix all redirects, and will add phpBB notifications shortcode and array of declaring as global the $w3all_phpbb_unotificationsdata array, that can be used into any plugin or template php file on WordPress.
Get phpBB user's notifications
Set to Yes and activate to use the related w3all_phpbb_notifications shortcode or
the var (array) $w3all_phpbb_unotifications declaring it as global, into any Php template (ex: into a wp_head action/function) or plugin code
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: wp_w3all 2.6.6 logs and requests

Post by axew3 »

The main user session query into
private static function verify_phpbb_credentials(){
has been shortened removing the join into notifications table (that was seriously slowing the query exec and was totally not useful).
More edits applied to be faster.
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: wp_w3all 2.6.6 logs and requests

Post by axew3 »

ADD shortcode:
phpBB user notifications
see how to use it into related inline hints (on w3_all preferences) (since 2.6.6>)

phpBB Unread Private Messages
hints and code have been optimized
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: wp_w3all 2.6.6 logs and requests

Post by axew3 »

2.6.6 has been released!
Locked