Tutorial

If you are having problems or issues with the ajax pop-up login when clicking on the "Member Login" link in the top right corner of your site you can do away with it.

Maybe you just don't like the pop-up at all.

Some security enhancement code added to .htaccess can block it thereby confusing a member.

You can change this so when someone clicks on the "Member Login" link they get a page that prompts them for their login "Nickname" and "Password" like this site does.

First backup the file:
/templates/tmpl_uni/scripts/functions.php

To eliminate the ajax pop-up login open /templates/tmpl_uni/scripts/functions.php

Find:

                <div class="topMemberBlock">
                        <div class="no_hello_actions">
                                <a href="<?= $site['url'] ?>join.php"><?= _t( '_Join Now Top' ) ?></a>
                                <a href="<?= $site['url'] ?>member.php" onclick="showItemEditForm('login_div'); $( '#login_div' ).show().load( '<?= $site['url'] ?>member.php?action=show_login_form&relocate=' + encodeURIComponent( window.location )  );return false;"><?= _t( '_Member Login' ) ?></a>
                        </div>
                </div>



Change to:

                <div class="topMemberBlock">
                        <div class="no_hello_actions">
                                <a href="<?= $site['url'] ?>join.php"><?= _t( '_Join Now Top' ) ?></a>
                                <a href="<?= $site['url'] ?>member.php"><?= _t( '_Member Login' ) ?></a>
                        </div>
                </div>



Save changes to functions.php and re-upload overwriting the original.

Refresh page for changes to take effect. Click on "Member Login" and see the difference.

Restore your backup to undo the changes or reverse the order of these steps to get back to original state.

 

Note:

If you are using a custom template other than the Dolphin Default tmpl_uni just replace tmpl_uni with the name of your template folder above to find functions.php.

 
Written By
Tutorial by: Jeremy LeSarge (AKA Ray)

I am the owner and administrator of DialMe.com. I write Tutorials for Boonex Dolphin as well as tips and resources surrounding website programming and development. I enjoy working with WordPress, SEO, and Web Hosting / Servers. I also maintain a WordPress Blog here on this site where you will find a variety of technology and webmaster resources.

Actions
Sponsored Links
Recommend