WBCE CMS Forum

WBCE CMS – Way Better Content Editing.

You are not logged in.

#1 20.10.2019 11:11:24

mdvitalia
Member

How to create the register page for users

Hi all

I can't find the possibility to create a register page with form for customers.

Thank you for help.

Offline

#2 20.10.2019 11:28:29

florian
Administrator

Re: How to create the register page for users

this depends on what you want to achieve.
If the users should register on your site to access pages which are only accessable for a certain usergroup, just add a login form to your page, the easiest way is putting the droplet call [[loginbox]] on the start page or in the template. Create a group with restricted editing rights at access/groups and activate registration at the options.
Users register with username and mailaddress, if you need more data during the registration process, you need special extensions.

If you just need a form where visitors can enter their data, have a look at miniform or mpform an create an input form according to your needs.


Sorgen sind wie Nudeln: man macht sich meist zu viele.

Offline

#3 20.10.2019 13:43:37

mdvitalia
Member

Re: How to create the register page for users

florian wrote:

this depends on what you want to achieve.
If the users should register on your site to access pages which are only accessable for a certain usergroup, just add a login form to your page, the easiest way is putting the droplet call [[loginbox]] on the start page or in the template. Create a group with restricted editing rights at access/groups and activate registration at the options.
Users register with username and mailaddress, if you need more data during the registration process, you need special extensions.

If you just need a form where visitors can enter their data, have a look at miniform or mpform an create an input form according to your needs.

Nice! All done and all works using the droplet but how can set the form fields of the login fom?
I see this when In admin tools

admintool.jpg

Last edited by mdvitalia (20.10.2019 13:47:07)

Offline

#4 20.10.2019 13:50:58

colinax
Member

Re: How to create the register page for users

This is definitely not normal.

Can you tell us which PHP version you are using and a screenshot of the browser console (F12) would be nice.

Offline

#5 20.10.2019 13:56:21

mdvitalia
Member

Re: How to create the register page for users

PHP is  7.2

hope the console screenshot is right

php.jpg

console.jpg

Offline

#6 20.10.2019 14:08:55

colinax
Member

Re: How to create the register page for users

see #7

Last edited by colinax (20.10.2019 14:30:07)

Offline

#7 20.10.2019 14:29:50

colinax
Member

Re: How to create the register page for users

The view you see in the admin tools is the overview of the received messages.

If no MiniForm forms have been created for the frontend, it looks like #3 and #5

To add a MiniForm form go to Pages -> Add Pages and choose as Type MiniForm

Offline

Liked by:

stefanek

#8 20.10.2019 14:30:40

florian
Administrator

Re: How to create the register page for users

And, to make clear: Miniform is just a module to build contact forms. The form data is sent by mail to one or more email adresses and stored in the backend, but it has nothing to do with the user management of WBCE and the loginform droplet mentioned before.


Sorgen sind wie Nudeln: man macht sich meist zu viele.

Offline

Liked by:

colinax

#9 20.10.2019 14:39:15

colinax
Member

Re: How to create the register page for users

mdvitalia wrote:

Nice! All done and all works using the droplet but how can set the form fields of the login fom?

If you used the droplet, in the Droplet module (Admin-Tools Droplets)

Offline

Liked by:

mdvitalia

#10 20.10.2019 14:39:30

mdvitalia
Member

Re: How to create the register page for users

colinax wrote:

The view you see in the admin tools is the overview of the received messages.

If no MiniForm forms have been created for the frontend, it looks like #3 and #5

To add a MiniForm form go to Pages -> Add Pages and choose as Type MiniForm

ok I have used the droplet Login to know that exists a signup page (..account/signup.php)  with a form for account registration.

I have translated in italian language a part that was not wll translated but now I can't find how to translate the privacy notice confirmation
that you can see in this image:

translation.jpg

Offline

#11 20.10.2019 15:04:31

florian
Administrator

Re: How to create the register page for users

You find this phrase in modules/tool_account_settings/languages/EN.php
If you'd like, you can translate all phrases and save it as IT.php


Sorgen sind wie Nudeln: man macht sich meist zu viele.

Offline

Liked by:

mdvitalia

#12 21.10.2019 09:41:15

mdvitalia
Member

Re: How to create the register page for users

florian wrote:

You find this phrase in modules/tool_account_settings/languages/EN.php
If you'd like, you can translate all phrases and save it as IT.php

Nice, I see it now, many thanks!

Offline

#13 21.10.2019 10:04:09

mdvitalia
Member

Re: How to create the register page for users

florian wrote:

You find this phrase in modules/tool_account_settings/languages/EN.php
If you'd like, you can translate all phrases and save it as IT.php

I'd like to share translation for this project smile

Offline

Liked by:

florian, stefanek

#14 21.10.2019 10:26:59

florian
Administrator

Re: How to create the register page for users

That would be great. Just attach the IT.php to a forum posting when you're ready. We will add it to the next release.


Sorgen sind wie Nudeln: man macht sich meist zu viele.

Offline

Liked by:

mdvitalia, stefanek

#15 21.10.2019 10:55:06

stefanek
Developer

Re: How to create the register page for users

Yes, this is nice community teamwork, mdvitalia!


“Success is the progressive realization of a worthy ideal.” ― Earl Nightingale

Offline

Liked by:

mdvitalia

#16 06.08.2020 21:28:50

ricktraigon
Member

Re: How to create the register page for users

Hello mdvitalia, florian, stefanek and others.
I read this topic, very clear, the only way to do a login form is with miniform? I used mpform to insert data from users and I can't find "password" field in there.

Offline

#17 07.08.2020 05:39:04

florian
Administrator

Re: How to create the register page for users

No, you're getting that wrong. miniform is NOT the way to create a login form.
The login form is automatically generated by WBCE, if a user which is not registered, tries to access a page with the visibility "Registered" or "Private". Also, Settings > Login has to be enabled.
If the users should be able to self-register, Settings > Sign-up has to be enabled too. But be careful about the group for which new users can register. This group usually should have only reading permissions.


Sorgen sind wie Nudeln: man macht sich meist zu viele.

Offline

#18 08.08.2020 00:17:02

ricktraigon
Member

Re: How to create the register page for users

Good, I can do. I stay aware of user reading permissions. Thanks for the help.
Ricardo.

Offline

#19 08.08.2020 06:26:53

florian
Administrator

Re: How to create the register page for users

No! You are getting me wrong again.

I did not mean not to edit the group permissions. I meant that you have to make sure that the users should have only reading permissions, e.g. you have to create a group which has no backend permissions:
group config

At "Settings", you enable "Login" and - if wanted/needed Sign-Up for that group:
Settings

At "Admintools > Account and Signups Configuration > Configuration" enable Double opt-in and notifying:
ASC

Now create pages with the visibility "private" or "registered":
New page

Or change the permissions of existing pages:
Page settings

In the frontend, according to the template and the default language, users will then see a login form
Login

and if sign-up is activated, also a registration form.
Registration

Last edited by florian (08.08.2020 06:30:40)


Sorgen sind wie Nudeln: man macht sich meist zu viele.

Offline

Board footer

up