Recent Topics

1 Aug 08, 2007 23:07    

Hi
Is there an easy way of adding the login box in the side bar?
Cheers for any pointers
James

2 Aug 09, 2007 09:09

Yep, just copy the html from the login screen and paste it into your skins _main.php wherever you want it to appear.

If you only want it to appear when you're not logged in then you can wrap it like this :

<?php
if( !is_logged_in() )
{
?>

<!-- paste the login form html here -->

<?php
}
?>

¥

3 Aug 09, 2007 14:19

can't wait to get home to test
Thanks for your help. I'll let you know if it works
Cheers for now

4 Aug 09, 2007 19:58

no luck, i keep getting errors such as invalid parameters when i copied the contents of the inc/VIEW/_login_form.php to my _main

I did update the links to the header and footer but to no avail

Cheers
James

6 Aug 10, 2007 23:19

brilliant, have managed to get it to work
thanks for your help again

7 Nov 07, 2007 13:31

I see there's a "pwd_salt" field which in the original login form is filled dinamically. Isn't there a problem with leaving the static value of "pwd_salt" from the pasted HTML?

FYI, I did copy & pasted the form and loggin in and out works as intended, so this is only a -perhaps- minor doubt.

8 Nov 08, 2007 22:01

The pwd_salt makes harder someone to use a brute or a dictionary attack against you.


Form is loading...