Skip Navigation

[Resolved] User Profile

This support ticket is created 4 years ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 18 replies, has 3 voices.

Last updated by ibrahimM 4 years ago.

Assisted by: Raja Mohammed.

Author
Posts
#1842919
User data WP.JPG
user data toolset.JPG

Tell us what you are trying to do?
I want to create user profile page

What is the link to your site?
eTuisyen.my

Below are 2 pictures:
1) User data in WP
2) Data can be put using toolset.

Q) How I want to include all of the userdata WP and put it to our user profile pages?

Thank You

#1843135

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

WordPress doesn't offer front-end user profiles. From your screenshot it looks like you are using a plugin to provide this functionality.

I'm not quite sure what your question is.

It appears that the UsersWP plugin provides custom user fields, and it offers front-end user profile pages.

Where does Toolset fit in?

#1843257

Then can we make a user profile page using toolset?

1) Login (using other plugin)
2) Form to update user data form.(using toolset form)
3) Make user profile (data taken from user data form)

The Question is how to link the user id to the data fill in the user data form.?

Example if I log in and i want to see my profile , how to link all of the data that I fill in the user data form (toolset form) to my profile.

Understand Sir?

Thank You

#1843501

Raja Mohammed
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

With Toolset types you can add custom user profile fields.,
https://toolset.com/documentation/customizing-sites-using-php/creating-custom-user-profiles/#adding-custom-fields-to-user-profiles

Once you have setup the required fields all the user profile fields are accessible with the user id. To display them in the front end you might need to add some code and you can make use of the Toolset API
https://toolset.com/documentation/customizing-sites-using-php/creating-custom-user-profiles/#displaying-custom-user-fields

To edit the user profile Toolset forms will be a useful tool, you can edit the user profiles including the custom fields added by Tool set or any other plugin
https://toolset.com/lesson-placement/lesson-placements-1645837-1650645/

Here is a detailed documentation on how to make toolset form working with user fields created by other plugins, However there are a few limitation on this.
https://toolset.com/documentation/customizing-sites-using-php/creating-custom-user-profiles/#displaying-custom-user-fields

Regards
Raja

#1845325

Hi;

How to webhook to google sheet for any toolset form that we enter?

Thank You

#1845449

Hi;

2) How to put google / facebook login under registration for toolset?

Thank You

#1845455

Inside the expert form?

How to add CSS code ?

Example:
[creduserform]
<div class="form-group">
<label>[cred_i18n name='user_login-label']Username[/cred_i18n]</label>
[cred_field field='user_login' class='form-control' output='bootstrap']
[cred_field field='form_submit' output='bootstrap' value='Submit' class='btn btn-primary btn-lg']
[/creduserform]

How to put CSS code to cred_field?
[cred_field field='user_login' class='form-control' output='bootstrap' style=" border: 5px solid red;"]
Like this can?

#1845833

Raja Mohammed
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Screenshot 2020-11-16 at 5.17.08 PM.jpg

1) I am not exactly sure what you mean by webhook to google sheets, do you mean you want to enter the details to a google sheet ?
In such case you should be able to capture the form data using the form API like cred_save_data where you can use your custom function to process the form and send the details to google sheet
https://toolset.com/documentation/programmer-reference/cred-api/#cred_save_data

2) Social login is not built in with Toolset forms you might have to use any third part plugin please refer
https://toolset.com/forums/topic/add-social-login-buttons-to-cred-user-form/#post-1190853

3) You cannot add a inline style for the cred_filed instead add a class attribute like [cred_field field='user_login' class='form-control' output='bootstrap' class="my_class"] and use the Custom CSS editor Below the form editor to add the CSS snippet for the field. Check the attached screenshot.

#1847085
checkbox.JPG

Hi;

Can you help me on this?

The user form position is not good. (checkbox many)

#1847099
User List View.JPG

Hi;

How to make view for user data;

I want to make list of people that already register to my website, I thought I can use view to just pull all the user data ; and make a list from it.

Can you help on this.

Thank You

#1847285

Raja Mohammed
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

The checkbox issue seems more like the style from themes are affecting the checkbox styles you might have to add some custom css to modify them. Can you please share the url where the issue can be seen so that i can help with some custom styling

To display the list of user it is not yet possible with blocks you might have to use the legacy view, please try the solution mentioned here
https://toolset.com/forums/topic/display-list-of-all-users/#post-1622297

#1847361

Hi;

This is the link. To get access you need to login first.

Thank You

#1847393
where to put this.JPG
View.JPG

Thank You for your reply on user list

Issue: from the link that you share " https://toolset.com/forums/topic/display-list-of-all-users/#post-1622297 "

I am not sure where to put this code , please advice. The 2nd picture is View area picture.

Thanks

#1848033

Raja Mohammed
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

choose_user_view.jpg
loop_editor_and_wizard.jpg
select_fields_to_be_displaed.jpg
Screenshot 2020-11-18 at 10.57.24 AM.jpg

Sorry in your case you may not need that code. The code is to display the role of each user.

Since you just want to display the list of users registered on your site, You can follow the below steps
1) Goto Toolset > Views , Create a new view with Users , Select the list of Roles that needs to be queried by the view
2) Scroll down to the loop editor and click on Loop wizard, Where you can choose the predefined output format in which each user details needs to be displayed
3) Select the Fields that needs to be displayed for each user in the Loop wizard popup.
4) To edit the display styling further you can scroll down to Templates for this View click on Stop using Block Editor for this Content Template and then you will see the user fields display there. You can wrap each fields in desired HTML elements

For better understanding on how the View loop works please refer :https://toolset.com/documentation/legacy-features/views-plugin/view-layouts-101/

#1848171
where to put this.JPG
View.JPG
View User Already Created.JPG

Hi;

1) I already follow your suggestion , as shown in the picture the , I already made the user view
2) But when I want to put it at the page , the user view was unseen (It's still have)
3) After use this "empty" user view, the results is
" Error while retrieving the View preview. The selected View (ID: undefined) was not found. "

Please advise TQ