Page 2 of 2

Re: Redirect to phpbb login/sign up page

Posted: Sun Sep 09, 2018 11:04 pm
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

Re: Redirect to phpbb login/sign up page

Posted: Mon Sep 10, 2018 5:56 pm
by getty
i mean is it possible to not redirect if user logs in using widget? :)

Re: Redirect to phpbb login/sign up page

Posted: Mon Sep 10, 2018 8:02 pm
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.