How to turn off login ajax popup?

Is there a simple way to turn off the ajax popup

so that the top right Member Login link goes to the member.php page

like it used to in earlier versions?

Thanks

Dan V

Quote · 9 Oct 2008

you need just to edit templates/tmpl_uni/scripts/functions.php

find this line:

<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>

and replace it with this one:

<a href="<?= $site['url'] ?>member.php" ><?= _t( '_Member Login' ) ?></a>

Regards

Artur A

Quote · 10 Oct 2008

Thanks Artur

I will try that out as soon as my computer is operational again.

Dan V

Quote · 10 Oct 2008

Hi Artur

You said to find

<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>

but on my site for some reason this code is slightly different like this ...

<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 ), disableMedia(true));return false;"><?= _t( '_Member Login' ) ?></a>

any idea what the disableMedia(true) section is about?

Could this be causeing problems with the login popup?

Thanks

Dan V

Quote · 16 Oct 2008

I have just checked my functions.php and it does not have "disableMedia(true) section". My login works ok.

I hope this helps,

Stuart

Hi Artur

You said to find

<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>

but on my site for some reason this code is slightly different like this ...

<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 ), disableMedia(true));return false;"><?= _t( '_Member Login' ) ?></a>

any idea what the disableMedia(true) section is about?

Could this be causeing problems with the login popup?

Thanks

Dan V

There are none so blind as those that will not see.
Quote · 16 Oct 2008

Well I tried just taking out the 'disable media' part of the code and it made no apparent difference.

 

I think I have nailed down the problem with the popup login further though.

 

Its only happening in Firefox, and only when I use the popup from a profile page.

 

I get an error message and cant log in.

 

But if I do it from any other page its fine.

 

Arghhhh :-(

 

I guess I will just turn off the popup as Artur explained.

 

Thanks

Dan V

Quote · 18 Oct 2008

I used to have the same problem, then I found free fix on expertzzz.com

It does the same thing, you do have a popout login box, its just slightly different in size and look but it is functional...

 

http://www.expertzzz.com/Downloadz/view/2788

 

I hope this helps.

Nurke

Quote · 18 Oct 2008

Hi Nurke

Thanks I will try it.

Im running 6.1004.

Dan V

Quote · 22 Oct 2008
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.