[MOD REQUEST] CODE ...
 
Notifications
Clear all

[MOD REQUEST] CODE TO LOGIN TO EFICTION FROM ANOTHER PAGE.

3 Posts
2 Users
0 Reactions
1,659 Views
(@guest2085)
Posts: 0
 

Hi  πŸ˜€ I have a fansite that I use efiction on. I was wondering if someone knew of a code that I could use to put a login box on the home page of my site. Kind of like a lazy way of signing into Efiction, instead of going to the fanfiction tab and then signing in, they could just sign in the login box on the front page?!?  πŸ˜›


 
Posted : 13/11/2007 7:16 pm
 Elle
(@jenny)
Posts: 594
Honorable Member
 

Try:

<form method="post" enctype="multipart/form-data" action="user.php?action=login">
<p><label for="penname"><input type="text" name="penname" id="penname" /> Penname</label></p>
<p><label for="pswd"><input type="password" id="pswd" name="password" /> Password</label></p>
<p><label for="cookiecheck"><input type="checkbox" name="cookiecheck" id="cookiecheck" value="1"> Remember Me</label></p>
<p><input type="submit" name="submit" value="Submit" /></p>
</form>

<p><a href=""user.php?action=register"" title="Register">Register</a> | <a href=""user.php?action=lostpassword"" title="Lost Password">Lost Password</a></p>

You'll have to modify the four user.php's to the absolute path (or folder) of your website. It should work, but might not -- also, if your user is already logged in, it'll still display that ... that's basically just ripped from the login file. πŸ˜›


archive: dramione.org
site: accio.nu

Available for skin/mod commission! πŸ™‚

 
Posted : 13/11/2007 7:23 pm
(@guest2085)
Posts: 0
 

OMG Thank you so much. You are just wonderful!!!!  πŸ™‚


 
Posted : 13/11/2007 11:49 pm
Share: