|
|
| Author |
Message |
YoannQ
Joined: 12 Mar 2006 Posts: 7
|
Posted: Wed Aug 08, 2007 7:52 am Post subject: [SOLVED] User Email not set in database |
|
|
On user_admin.php file, user's Email (use in thold plugins) is not added in database.
Edit user_admin.php and find this line (line 151):
| Code: | | $save["full_name"] = form_input_validate($_POST["full_name"], "full_name", "", true, 3); |
Add this new line after.
| Code: | | $save["email"] = form_input_validate($_POST["email"], "email", "", true, 3); |
Now in your database, you must insert a new row in user_auth table after full_name row.
| Code: | | ALTER TABLE `user_auth` ADD `test` VARCHAR( 255 ) NOT NULL AFTER `full_name` ; |
Good luck  |
|
| Back to top |
|
 |
cigamit Developer
Joined: 07 Apr 2005 Posts: 978 Location: B/CS Texas
|
Posted: Wed Aug 08, 2007 8:29 pm Post subject: |
|
|
| Email addresses are stored in a separate table for thold, not the user table. |
|
| Back to top |
|
 |
YoannQ
Joined: 12 Mar 2006 Posts: 7
|
Posted: Thu Aug 09, 2007 4:23 am Post subject: |
|
|
Right
But if you want to show email adresse in user admin interface you must be that.
Also it's better to read thold user table, but it's not easy in 5 minutes. Next version ? |
|
| Back to top |
|
 |
cigamit Developer
Joined: 07 Apr 2005 Posts: 978 Location: B/CS Texas
|
Posted: Thu Oct 25, 2007 12:21 am Post subject: |
|
|
Fixed in thold v0.3.6.
Please note that this version of thold requires Cacti 0.8.7 to function. |
|
| Back to top |
|
 |
|