so you would like to have the register link just to point to WP and not phpBB into widget:
This is adjustment can be done with easy (also could be considered as option to be added).
You just need to replace url that point to phpbb registration, with url to point WP registration instead, just using
wp_registration_url() on code, so
In the while (until not added as option), you can open
if in iframe mode open:
views/
login_form_include_iframe_mode_links.php
search for line
Code: Select all
<h3><a href="<?php echo $wp_w3all_forum_folder_wp; ?>/?mode=login"><?php echo __( 'Login' , 'wp-w3all-phpbb-integration' ); ?></a> - <a href="<?php echo $wp_w3all_forum_folder_wp; ?>/?mode=register"><?php echo __( 'Register' , 'wp-w3all-phpbb-integration' ); ?></a></h3>
replace with:
Code: Select all
<h3><a href="<?php echo $wp_w3all_forum_folder_wp; ?>/?mode=login"><?php echo __( 'Login' , 'wp-w3all-phpbb-integration' ); ?></a> - <a href="<?php echo wp_registration_url(); ?>"><?php echo __( 'Register' , 'wp-w3all-phpbb-integration' ); ?></a></h3>
or if not iframe mode open:
views/
login_form_include_noiframe_mode_links.php
search for line:
Code: Select all
<h3><a href="<?php echo $w3all_url_to_cms; ?>/ucp.php?mode=register"><?php esc_html_e( 'Register' , 'wp-w3all-phpbb-integration' ); ?></a></h3>
replace with:
Code: Select all
<h3><a href="<?php echo wp_registration_url(); ?>"><?php esc_html_e( 'Register' , 'wp-w3all-phpbb-integration' ); ?></a></h3>
hope to not have forget on fly nothing, just post in case.
so you would like to have the register link just to point to WP and not phpBB into widget:
This is adjustment can be done with easy (also could be considered as option to be added).
You just need to replace url that point to phpbb registration, with url to point WP registration instead, just using [i]wp_registration_url()[/i] on code, so
In the while (until not added as option), you can open
[b]if in iframe mode open:[/b]
views/[i]login_form_include_iframe_mode_links.php[/i]
search for line
[code] <h3><a href="<?php echo $wp_w3all_forum_folder_wp; ?>/?mode=login"><?php echo __( 'Login' , 'wp-w3all-phpbb-integration' ); ?></a> - <a href="<?php echo $wp_w3all_forum_folder_wp; ?>/?mode=register"><?php echo __( 'Register' , 'wp-w3all-phpbb-integration' ); ?></a></h3>[/code]
replace with:
[code] <h3><a href="<?php echo $wp_w3all_forum_folder_wp; ?>/?mode=login"><?php echo __( 'Login' , 'wp-w3all-phpbb-integration' ); ?></a> - <a href="<?php echo wp_registration_url(); ?>"><?php echo __( 'Register' , 'wp-w3all-phpbb-integration' ); ?></a></h3>[/code]
[b]or if not iframe mode open:[/b]
views/[i]login_form_include_noiframe_mode_links.php[/i]
search for line:
[code] <h3><a href="<?php echo $w3all_url_to_cms; ?>/ucp.php?mode=register"><?php esc_html_e( 'Register' , 'wp-w3all-phpbb-integration' ); ?></a></h3>
[/code]
replace with:
[code] <h3><a href="<?php echo wp_registration_url(); ?>"><?php esc_html_e( 'Register' , 'wp-w3all-phpbb-integration' ); ?></a></h3>[/code]
hope to not have forget on fly nothing, just post in case.