-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathREADME
More file actions
66 lines (50 loc) · 1.6 KB
/
README
File metadata and controls
66 lines (50 loc) · 1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
=====================================
NEON-Login README UPDATED: OCT 11, 2012
=====================================
NEON-Login is a base version of NEON-CP
which includes just the:
- Login
- Logout
- Database Connections
- Settings
- Registration
- Template & JQuery Files
=====================================
SETUP DIRECTIONS AS FOLLOWS:
=====================================
1. Create a database for the user data
and a user that can access it.
2. Move config.example to one directory
below your root directory. As an example:
If your site is in /var/www/
Put config.example in: /var/
Rename the file to "config.json" and
update the file with your database
settings and a random salt for password
security. DO NOT USE THE DEFAULT!
3. Import data.sql into your database.
3. Register for an account and make your
account active in the database. By setting
'active' = 1.
4. ???
5. Profit!
=====================================
EXTRA STUFF:
=====================================
A: By default users are not automatically
active and must activate via email. If you
want to send out VALID emails for activation
you must update lines 98 - 100 in:
./includes/functions/users.inc.php
B: To disable user registration update your
settings table in your database and set
allow registrations to 0.
C: At this time there is no forgot password
function, this will be added later, you can
set this to 0 to disable the link to it
from the homepage.
D: I want users to be able to register with
no activation email. Can I do it?
Sure... insert a line like the one below on line
123 in ./includes/functions/user.inc.php
$sUser->uActive = 1;