klausB
Support threads created in the last 30 days: 0
Favorite Forum Topics
This user has no favorite topics.
Forum Topics Created
Status | Topic | Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
Assistance Needed with Custom File Uploads in Toolset Forms
Started by: klausB
in: Toolset Professional Support
Problem: The customer wanted to enable users to upload files (resumes and certificates) via a Toolset form and store these files in a custom directory (/wp-content/bewerbungsunterlagen) rather than the default uploads folder. The initial code attempts failed, saving files in the standard uploads directory. Solution: We suggested refining the upload_dir filter to ensure it only applies when necessary and removed afterward to avoid conflicts. Additionally, the permissions for the custom post type 'Bewerbungen' were adjusted in Toolset > Access Control to allow guest users to upload files without needing to log in. To prevent WordPress from generating thumbnails for PDF files, a code snippet was added to the functions.php file to disable PDF previews: function wp_disable_pdf_previews() { $fallbacksizes = array(); return $fallbacksizes; } add_filter('fallback_intermediate_image_sizes', 'wp_disable_pdf_previews'); |
2 | 17 | 2 months, 1 week ago | ||
Baskets don't work
Started by: klausB in: Toolset Professional Support |
2 | 3 | 2 years, 2 months ago | ||
Conditional viewing based on a minimum age of 18 / CRED form
Started by: klausB in: Toolset Professional Support |
2 | 5 | 2 years, 3 months ago | ||
How can i sort custom field group insde custom post type?
Started by: klausB in: Toolset Professional Support |
2 | 4 | 5 years, 1 month ago | ||
I want to display user-information and filter for name and Custom Fields
Started by: klausB in: Toolset Professional Support |
2 | 3 | 6 years, 1 month ago | ||
can’t access select-field value in custom FormValidator
Started by: klausB
in: Toolset Professional Support
Problem: Solution: add_filter('cred_form_validate','cred_filetype_size_validation',10,2); function cred_filetype_size_validation($field_data, $form_data){ list($fields,$errors)=$field_data; if ( 9999 == $form_data['id'] ) { echo "<pre>"; print_r($_POST); print_r($fields); exit; } return array($fields,$errors); } You can find the proposed solution, in this case, with the following reply: Relevant Documentation: |
2 | 3 | 6 years, 2 months ago | ||
Prefill a select-field with a dynamic value
Started by: klausB
in: Toolset Professional Support
Problem: Solution: [cred_field field='@fahrzeugbuchung-pkw.child' class='form-control' output='bootstrap' select_text='Wählen Sie das Auto aus, das Sie reservieren möchten' value='[wpv-post-id]'] You can find the proposed solution, in this case, with the following reply: Relevant Documentation: |
2 | 5 | 6 years, 2 months ago |