by axew3 » Sun Oct 02, 2016 9:00 pm
hello, the modal login is used to redirect to login inside iframe (in a raw version we could say): but it will be improved and another better way added, just with few lines of code into the page-forum(or board etc).php. It will not be more necessary.
The code about the modal login is all inside the
page-(forum, board or what you have name it).php file, that you have create or paste into your active WP template folder.
To remove, you should comment to avoid execution, or delete, the follow code on it:
Code: Select all
add_action('wp_head','wp_w3all_css_modal_login');
and
Code: Select all
<!-- START w3all_cssmodal_login div -->
<div id="w3allopenModal" class="w3allmodalDialog">
<div>
<a href="#w3allclose" title="Close" class="w3allclose">X</a>
<form method="post" action="<?php echo $w3all_url_to_cms; ?>/ucp.php?mode=login" class="">
<h3><a href="<?php echo $wp_w3all_forum_folder_wp; ?>/?mode=register">Register</a></h3>
<label for="username"><span>Username:</span> <input type="text" tabindex="1" name="username" id="username" size="10" class="" title="Username"></label>
<label for="password"><span>Password:</span> <input type="password" tabindex="2" name="password" id="password" size="10" class="" title="Password" autocomplete="off"></label>
<br /><br /><a href="<?php echo $wp_w3all_forum_folder_wp; ?>/?mode=sendpassword">I forgot my password</a>
<span class="">|</span> <label for="autologin">Remember me <input type="checkbox" tabindex="4" name="autologin" id="autologin"></label>
<input type="submit" tabindex="5" name="login" value="Login" class="">
<input type="hidden" name="redirect" value="<?php echo $w3urlscheme . "://" . $_SERVER['SERVER_NAME'].$_SERVER['PHP_SELF']; ?>">
</form>
</div>
</div><!-- END w3all_cssmodal_login div -->
hello, the modal login is used to redirect to login inside iframe (in a raw version we could say): but it will be improved and another better way added, just with few lines of code into the page-forum(or board etc).php. It will not be more necessary.
The code about the modal login is all inside the [i]page-(forum, board or what you have name it).php[/i] file, that you have create or paste into your active WP template folder.
To remove, you should comment to avoid execution, or delete, the follow code on it:
[code]add_action('wp_head','wp_w3all_css_modal_login');[/code]
and
[code] <!-- START w3all_cssmodal_login div -->
<div id="w3allopenModal" class="w3allmodalDialog">
<div>
<a href="#w3allclose" title="Close" class="w3allclose">X</a>
<form method="post" action="<?php echo $w3all_url_to_cms; ?>/ucp.php?mode=login" class="">
<h3><a href="<?php echo $wp_w3all_forum_folder_wp; ?>/?mode=register">Register</a></h3>
<label for="username"><span>Username:</span> <input type="text" tabindex="1" name="username" id="username" size="10" class="" title="Username"></label>
<label for="password"><span>Password:</span> <input type="password" tabindex="2" name="password" id="password" size="10" class="" title="Password" autocomplete="off"></label>
<br /><br /><a href="<?php echo $wp_w3all_forum_folder_wp; ?>/?mode=sendpassword">I forgot my password</a>
<span class="">|</span> <label for="autologin">Remember me <input type="checkbox" tabindex="4" name="autologin" id="autologin"></label>
<input type="submit" tabindex="5" name="login" value="Login" class="">
<input type="hidden" name="redirect" value="<?php echo $w3urlscheme . "://" . $_SERVER['SERVER_NAME'].$_SERVER['PHP_SELF']; ?>">
</form>
</div>
</div><!-- END w3all_cssmodal_login div -->[/code]