Install a member login
Permalink
Hi,
I would like to install on the home-side a member login, so that only registered members are able to join.
How can I do this?
Kind regards
Muck
I would like to install on the home-side a member login, so that only registered members are able to join.
How can I do this?
Kind regards
Muck
Have a look in the dashboard for permissions. If you set it so that only registered members can see your site, a log-in box will appear automatically.
Thank you, that works.
Is it right, it is the same login-box as for the admin?
And: where can I register the members?
If I would like to have a start-page for everyone and on the startpage should be the login for the next pages, how would I have to do that?
Kind regards
Is it right, it is the same login-box as for the admin?
And: where can I register the members?
If I would like to have a start-page for everyone and on the startpage should be the login for the next pages, how would I have to do that?
Kind regards
Yes, same login box for admin(s) and others.
An admin can register new members in the Dashboard Members page. Or you can just let new members create their own accounts subject to admin approval. Again, the options for this are in the Dashboard.
It's possible to create a link on a page that goes to the login screen, but it requires writing some php code (I think). You can insert it using a php block (available for free in the c5 marketplace). Example code:
I'm sure others can improve on this!
An admin can register new members in the Dashboard Members page. Or you can just let new members create their own accounts subject to admin approval. Again, the options for this are in the Dashboard.
It's possible to create a link on a page that goes to the login screen, but it requires writing some php code (I think). You can insert it using a php block (available for free in the c5 marketplace). Example code:
<? $u = new User(); if ($u->isRegistered()) { print '<p>To get your data, go to the <a href="http://example.net.au/exerbyte/index.php/fitbit">Fitbit page</a>.</p>'; } else { print '<p>If you\'ve got an ExerByte site account, <a href="http://example.net.au/exerbyte/index.php/login">click here to log in</a>. '; print 'Otherwise, <a href="http://example.net.au/exerbyte/index.php/register">click here to register</a>.</p>'; } ?>
I'm sure others can improve on this!