Page 1 of 1

Members registering (2 questions)

Posted: Tue May 08, 2007 11:01 pm
by holysjit
First question
Hi, I know there is a plugin for member registering. I just want to know how to install. When I install it, I get in my sidebar two fields:
1 with username and 1 with password.
When I login, entering the right information in the field, you will be redirected to the adminpanel, but I dont want that guests got adminrights. The only thing that members can is login and comment to posts.

Second question:
When someone is registered, another member cannot use his name. Is this possible, is this already used by the plugin?

Thanks

Re: Members registering (2 questions)

Posted: Wed May 09, 2007 12:11 pm
by garvinhicking
Hi!

It looks as if you installed a different plugin. You need to install the plugin "User Self-Registration", not the "Loginform" plugin...?

In the right plugin you can configure which group a new user becomes membership in, and you can configure that group to indicate which privileges they have through the 'group management' panel.
When someone is registered, another member cannot use his name. Is this possible, is this already used by the plugin?
No, member names are unique and cannot be taken twice.

Best regards,
Garvin

Posted: Thu May 10, 2007 11:19 am
by holysjit
Thanks.
One question left:
I want the admin loginfields on a (static) page. Because when someone logs in, you always go to the admin loginpage, but I dont want that. I want my own login page. How to do that?

Posted: Thu May 10, 2007 11:48 am
by garvinhicking
Hi!

If you install the loginform plugin, you can copy+paste its loginform HTML output to a staticpage. You can then remove the sidebar plugin, but need to keep the loginform-event plugin activated, so that a login can be performed.

However, when you do that, the staticpage will always show the loginform, because the user gets directed to the page after he logged in, and the staticpage is static HTML and thus cannot show you "You are logged in!" instead of the loginform.

To have/do that, you would need to write a custom smarty function that you can embed into the staticpage. That is not complicated for someone with basic Smarty knowledge, but it would take some time for me to describe that.

So I better suggest you to use the simple loginform sidebar plugin, or to let people log into the admin screen and get yourself familiar with Smarty so that in the future you can customize this on your own. :-)

Best regards,
Garvin