Redirect to phpbb login/sign up page

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

Re: Redirect to phpbb login/sign up page

Post by axew3 »

"Tried to redirect to potentially insecure url."
About phpBB error redirecting to potential insecure url ...

phpBB external login redirect how to – domain, subdomain

p.s read Install Common How section on Help Install Page and this forum sticky posts and sub forum for further hints:
viewforum.php?f=2
getty
User w
User w
Posts: 5
Joined: Sun Sep 09, 2018 11:00 am

Re: Redirect to phpbb login/sign up page

Post by getty »

i mean is it possible to not redirect if user logs in using widget? :)
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: Redirect to phpbb login/sign up page

Post by axew3 »

ah ok, you want that: user login in wp widget, then redirected into phpBB and presented logged in on the forum, without redirecting the user in wordpress ...

Without edit any phpBB file for redirection or addition of nothing, open (we assume you're not on iframe mode)
so open:
/wp-content/plugins/wp-w3all-phpbb-integration/views/login_form_include_noiframe_mode_links.php
just remove line where:

Code: Select all

<input type="hidden" name="redirect" value="<?php echo $current_url; ?>">
then you should not be redirected into wordpress.
Isn't it?

In case use also option
Use custom files to display Last Topics Widgets, Login Widget or Last Topics Shortcode content
as explained on related admin plugin option hint, to avoid overwrite of these modifications when plugin update.
Locked