Support threads created in the last 30 days: 0
Favorite Forum Topics
This user has no favorite topics.
Forum Topics Created
|Display showing as div instead of span||2||4||1 year, 5 months ago|
|Execute POST URL for a newsletter list via checkbox on User Registration form.||3||5||1 year, 5 months ago|
|Shortcodes are showing on front end instead of dynamic data||2||7||1 year, 5 months ago|
|Add User to Sendy list via registration form checkbox and jquery||2||10||1 year, 6 months ago|
|How to add a link to user profile in messaging system||2||9||1 year, 6 months ago|
|Blocks editor not showing some functions||3||8||1 year, 6 months ago|
Change the Role of a User thru a Toolset Form
Problem: Can we change a user role thru a Toolset Form? If so, how?
Solution: You can, but only using Custom Code. You can see a cred_save_data() hook to fire your custom code when the Form saves the users' data in the database.
Inside that hook, you can use wp_update_user() WordPress API to update the user to any role you desire. For example, you can add a Generic Field to the form where the user can choose his role to which to update, and then you can read it from the $_POST - so to update the user to the desired role with wp_update_user()
Be careful with this as users will be able to eventually change their role. Be sure to grant access to these forms only to whom you trust.
Relevant Documentation: https://toolset.com/documentation/programmer-reference/cred-api/#cred_save_data
|2||11||1 year, 6 months ago|
|How to extend the forms woocomm plugin to prepay for single and packs of post||2||3||1 year, 6 months ago|
|1 of 2 Checkboxes and value are not showing on user registration form||2||4||1 year, 6 months ago|
|images not removed from front end post edit form||2||13||1 year, 6 months ago|
Generatepress theme settings are not working on template output User Profile
I was using Beaver Themer as a template, but switched to a normal Beaver Builder page . It's not working as expected.
1. The Post Title and Featured image were disabled on the Theme Settings. The featured image is showing at top of post and periodically the title shows on some user profile posts.
2. The hero image should show the featured image of the post, but is showing the featured image of someone else's post.
These are compatibility issues, see details here:
|3||9||1 year, 6 months ago|
|What is the correct syntax for linking text with url type shortcode?||2||6||1 year, 7 months ago|
|Show/hide password on both password input fields when user changes password||2||5||1 year, 7 months ago|
|Fields not showing on user profiles (posts)||2||6||1 year, 7 months ago|
|Conditional Fields based on Taxonomy not showing anything||2||3||1 year, 7 months ago|