Home N-13 News Forums Help Search
RegisterForgot password?
How to add image to post necklacesdiscou
Known bugs - 4.0.3 necklacesdiscou

Latest N-13 News 4.0.3

What is N-13 News?
Where can I get help?
Known bugs

Forums Help & Support Login Form?
Yuuri
Posted on 21 Aug 2009, 05:10:14

Access: Member
Total Posts: 13
Joined: 2009-07-03

Is there a way to add a login form in my site's sidebar? That would be a big help.
#774
Chris
Posted on 21 Aug 2009, 11:22:27

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

This is very easy to do, I whipped up this quick form that does just that

Code:
<form method="post" action="news/admin.php">
Name: <input type="text" name="name" /><br />
Pass: <input type="password" name="pass" /><br />
Stay logged in? <input type="checkbox" name="rememberme" /><br />
<input type="submit" name="B3" value="Login" />
</form>

Just need to change the form action attribute to point to your admin login page.

Basically all it does is replcate the admin login form by using the same field names so when you submit the form, it gets sent to the admin login along with the info the user has entered.
#775
Yuuri
Posted on 22 Aug 2009, 01:47:47

Access: Member
Total Posts: 13
Joined: 2009-07-03

Thank you! This script is way more better than any scripts I have used before!
#776
Ashleenahpage
Posted on 01 Sep 2009, 02:23:09

Access: Member
Total Posts: 38
Joined: 2009-05-31

thank you for this. :grin:
#829
Killernicolas
Posted on 29 Jun 2011, 12:00:26

Access: Member
Total Posts: 8
Joined: 2011-06-29

I use http://network-13.com/thread/774 to make a login form on my website but I have a problem I put this code but I see

Warning: require_once(/home/ah34548/web/www/news//language/english.php) [function.require-once]: failed to open stream: No such file or directory in /home/ah34548/web/www/news/langmsg.php on line 31

Fatal error: require_once() [function.require]: Failed opening required '/home/ah34548/web/www/news//language/english.php' (include_path='.:/usr/local/php-5.2.17/lib/php') in /home/ah34548/web/www/news/langmsg.php on line 31


How create a login zone on my web site ? ( with n13n4 ) ?

news13n4 files in the folder are news, I just want a box connection on my website
#3492
Last edited by Killernicolas at 2011-06-29 12:02:20 Reason:
Chris
Posted on 29 Jun 2011, 15:28:30

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

You could either rename language/English.php to language/english.php or create a copy of English.php and name the new copy english.php
#3494
Killernicolas
Posted on 30 Jun 2011, 08:00:13

Access: Member
Total Posts: 8
Joined: 2011-06-29

I create a copy and now it's ok , thank you very much
#3495
Network-13.com © 2013