WP_w3all 1.5.7 until 1.6.0 issues to be resolved and hints

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

WP_w3all 1.5.7 until 1.6.0 issues to be resolved and hints

Post by axew3 »

In this topic (maybe) only:
1.6.0 > features requests
and list of bugs and issues to be resolved for next versions and prior 1.6.0.
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Minor bug in Last Topics Widget

Post by axew3 »

I've just move a Topic to another phpbB forum, choosing to leave shadow of the original Topic into the original Forum: i see that the result on Last Topics Widget in this particular case, is that both posts are listed on Last Topics Widget. Perhaps this can be considered a secondary bug to be fixed.
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

search hashed email, not plain

Post by axew3 »

IMPORTANT: [phpBB] on user's table, indexes are username_clean and user_email_hash:
queries should be performed using these two instead than username or plain email.
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Fixed: wrong redirection -> on WP_w3all 1.5.7

Post by axew3 »

Issue: wrong redirection after login on modal login.
to fix: redirect correctly to page where the login has been done.

Fixed on next WP_w3all with this:

About the modal login, and correct redirect into wp forum page, this is the code to change:
open your Wp template page-forum(or board etc).php search for the line:

Code: Select all

<input type="hidden" name="redirect" value="<?php echo $w3urlscheme . "://" . $_SERVER['SERVER_NAME'].$_SERVER['PHP_SELF']; ?>">
just replace with this:

Code: Select all

<input type="hidden" name="redirect" value="<?php echo home_url().'/'.get_option( 'w3all_forum_template_wppage' ); ?>">
OR with this:

Code: Select all

<input type="hidden" name="redirect" value="<?php echo home_url().'/index.php/'.get_option( 'w3all_forum_template_wppage' ); ?>">
Now on modal login, the correct redirect to WP page forum should be executed.
Post Reply