himanshuS
Support threads created in the last 30 days: 1
Favorite Forum Topics
This user has no favorite topics.
Forum Topics Created
Status | Topic | Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
Unable to see toolset field group on custom post
Started by: himanshuS
in: Toolset Professional Support
Problem: The customer reported that a specific custom field group was missing from the post edit screen. Solution: The post field group was available, but since the section was part of the accordion, the arrow next to it needed to be clicked, in order to open/collapse it. Relevant Documentation: n/a |
2 | 8 | 3 years, 1 month ago | ||
Can I show a message before redirecting to a page?
Started by: himanshuS
in: Toolset Professional Support
Problem: Solution: add_filter('gettext', function($translated_text, $untranslated_text, $domain){ if($untranslated_text == 'Please Wait. You are being redirected...' && $domain == 'wp-cred'){ $translated_text = 'The new message to display before the redirect'; } return $translated_text; }, 10, 3); Note that the message will be wrapped in a tag, this means that you can't use any HTML tags, only the ones that can be wrapped in a tag. |
2 | 3 | 3 years, 1 month ago | ||
Unable to auto login from CRED form
Started by: himanshuS in: Toolset Professional Support |
3 | 12 | 3 years, 2 months ago | ||
How to show a user's information from user id in notification
Started by: himanshuS
in: Toolset Professional Support
Problem: The user wanted the custom user field values from a user ID passed through the generic field in the form notification. Solution: Suggested to use the "cred_subject_notification_codes" and "cred_body_notification_codes" filters to register custom placeholders for form notifications. Example: add_filter('cred_subject_notification_codes', 'custom_generic_field_notification', 10, 1); add_filter('cred_body_notification_codes', 'custom_generic_field_notification', 10, 1); function custom_generic_field_notification( $defaultPlaceHolders ) { // get the user ID from the generic field 'evaluatee-user-id' $target_user_ID = $_REQUEST['evaluatee-user-id']; // get the first name and last name from the $target_user_ID $user_first_name = do_shortcode("[wpv-user field='user_firstname' id='".$target_user_ID."']"); $user_last_name = do_shortcode("[wpv-user field='user_lastname' id='".$target_user_ID."']"); // set those first name and last name values in the custom placeholders $newPlaceHolders = array( '%%evaluatee_first_name%%' => $user_first_name, '%%evaluatee_last_name%%' => $user_last_name, ); return array_merge($defaultPlaceHolders, $newPlaceHolders ); } Relevant Documentation: |
2 | 5 | 3 years, 2 months ago | ||
Is there a character limit on multiple lines custom field?
Started by: himanshuS
in: Toolset Professional Support
Problem: The user wanted to know if there is a character limit for the multiple lines type custom field. Solution: Informed that there is no character limit for the multiple lines type custom field. Relevant Documentation: n/a |
2 | 3 | 3 years, 2 months ago | ||
How to show user dropdown list based on emails stored in custom post field?
Started by: himanshuS
in: Toolset Professional Support
Problem: The user asked how to add a custom select field in a form for the intermediary post edit form, that gets values from the child post's custom fields. Solution: Suggested to register a custom shortcode that can be used to populate the options for a generic field in the form. Relevant Documentation: https://toolset.com/documentation/customizing-sites-using-php/functions/#email https://developer.wordpress.org/reference/functions/get_posts/ https://developer.wordpress.org/reference/classes/wp_query/#author-parameters |
2 | 3 | 3 years, 2 months ago | ||
How to programmatically add value to multiple value email field ?
Started by: himanshuS in: Toolset Professional Support |
2 | 3 | 3 years, 2 months ago | ||
Unable to get user picture based on user ID
Started by: himanshuS in: Toolset Professional Support |
2 | 2 | 3 years, 2 months ago | ||
Custom Code snippets editors shows error message but finds no error
Started by: himanshuS in: Toolset Professional Support |
2 | 6 | 3 years, 2 months ago | ||
Custom Snippets Become Inactive Automatically
Started by: himanshuS in: Toolset Professional Support |
2 | 5 | 3 years, 2 months ago | ||
How to create signup questionnaire before asking for email with user form?
Started by: himanshuS
in: Toolset Professional Support
Problem: Solution:
Theoretically, we can change both on the database level, but that may create inconsistencies with WordPress's cache. I would suggest to:
|
3 | 5 | 3 years, 2 months ago | ||
How to allow collaboration between users on a custom post?
Started by: himanshuS in: Toolset Professional Support |
2 | 5 | 3 years, 2 months ago | ||
Show custom field based on taxonomy value does not work
Started by: himanshuS in: Toolset Professional Support |
2 | 4 | 3 years, 2 months ago | ||
Submit button gets hidden by conditional when it it not part of it.
Started by: himanshuS in: Toolset Professional Support |
3 | 8 | 3 years, 2 months ago | ||
CRED Form Submission taking a lot of time
Started by: himanshuS in: Toolset Professional Support |
3 | 9 | 3 years, 3 months ago |