Topic: Add user from admin page

I have installed this forum and i like it very much smile fast and clean.
But i missed one thing, i want to run a forum all closed and open only for registred users, it works to closed the registration, then i want to add the user from the admin page,
is this easy to add ? or is there some mod to acess the database ?

If i access the database direct i can of course add user but can i set a password correctly ?

Re: Add user from admin page

Yes, you can. You have to put a MD5 och SHA1 hash in the password field. The MD5 hash for the password "temppass" (without the quotes) is e5f0f20b92f7022779015774e90ce917

To get the hash for different password, just create a script that contains:

<?php

exit(md5('PASSWORD'));

?>

And replace PASSWORD with whatever you want.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: Add user from admin page

OK, thanks for that.... have no idea of the hashfunction.....
I should try to fix a own page to input user directly,
But i prefer some help wink

Re: Add user from admin page

if you have phpmyadmin, then you can select that the field is a md5 string (from a dropdown list), and just write the pass in clear text (it is then converted when putting it into the database)

Re: Add user from admin page

Jepp i have it installed, should test that smile

Re: Add user from admin page

This is maybe a good idea for a plugin to the new admin system thing.

Re: Add user from admin page

True, true.

"Programming is like sex: one mistake and you have to support it for the rest of your life."