jeffS-2
Admite hilos creados en los últimos 30 días: 0
Debates favoritos del foro
Este usuario no tiene debates favoritos.
Temas del foro creados
Status | Debate | Supporter | Voces | Mensajes | Caducidad |
---|---|---|---|---|---|
How to add javascript/jquery to a cred_field such as onblur?
Iniciado por: jeffS-2
en: Toolset Professional Support
Problem: I am creating a form to change email address. I do not want the current email to display in the field, so I am using a cred_generic_field called new_email. I also have a second email field called new_email_confirm to confirm the first one is entered correctly. So, a simple javascript function can compare the 2 fields. But, how can I add an on-event to the cred_generic_field such as onblur=check_email_same(); ? I want to use javascript so I can compare before the Submit occurs. Solution: It needs custom JS codes, for example: Relevant Documentation: |
2 | 5 | hace 4 años, 11 meses | ||
Update to Types 3.3 failed, but looks like it completed?
Iniciado por: jeffS-2 en: Toolset Professional Support |
1 | 3 | hace 4 años, 11 meses | ||
How to display user_email field in CRED without showing the current value?
Iniciado por: jeffS-2
en: Toolset Professional Support
Problem: I have a CRED User form that I want to use only for updating email address by a member. But, even using the Generate Form wizard, the current email address is shown in the field. I have labeled the field "Enter New Email Address", so it should not show the current email value. Solution: There isn't such a built-in feature within Toolset form for editing user, the email field will display existed user's email value by default. As a workaround, you can try these: Relevant Documentation: https://toolset.com/documentation/programmer-reference/cred-api/#cred_save_data |
2 | 3 | hace 4 años, 11 meses | ||
How to check for Pending->Publish status for CPT in PHP?
Iniciado por: jeffS-2 en: Toolset Professional Support |
2 | 3 | hace 4 años, 11 meses | ||
To All Developers: What are the best Event Ticketing Plugins to use with Toolset
Iniciado por: jeffS-2
en: Toolset Professional Support
Problem: Solution: You can find the proposed solution, in this case, with the following reply: Relevant Documentation: |
2 | 3 | hace 4 años, 12 meses | ||
How to set a default value for date/time field in CPT?
Iniciado por: jeffS-2
en: Toolset Professional Support
Problem: I have a CPT called Events. I use a Types date/time field for the event date and time. The event start time is always 7:00 PM. However, PHP 7.2 makes the use of $this as a function parameter a Fatal Error. Here is the code I currently have that fails in PHP 7.2: https://toolset.com/forums/topic/how-to-set-a-default-value-for-date-time-field-in-cpt/#post-1204861 Solution: It is a custom codes problem, see example codes here: https://toolset.com/forums/topic/how-to-set-a-default-value-for-date-time-field-in-cpt/#post-1205239 Relevant Documentation: |
2 | 3 | hace 5 años | ||
Date-Time: Logged out = correct timezone time; Logged in = UTC time.
Iniciado por: jeffS-2 en: Toolset Professional Support |
2 | 5 | hace 5 años, 1 mes | ||
In past week (approximately) getting spam in CRED form with reCAPTCHA
Iniciado por: jeffS-2 en: Toolset Professional Support |
2 | 5 | hace 5 años, 1 mes | ||
Slider view of one-line text slides takes 30 seconds to preload 5 slides
Iniciado por: jeffS-2
en: Toolset Professional Support
Problem: I have a slider View that takes 30 seconds to preload 5 slides. How can I speed up the performance of Views pagination? Solution: Counter-intuitively, some server environments will perform better if preloading is turned off for paginated Views. This is because of how Views handles preloading pagination by initiating one AJAX request per page. If multiple Views use preloading for multiple pages, the server response times can slow down. |
2 | 4 | hace 5 años, 3 meses | ||
How can I load a different (or random) featured image on page reload?
Iniciado por: jeffS-2 en: Chat Support |
1 | 3 | hace 5 años, 3 meses | ||
Best way to save user’s last login date?
Iniciado por: jeffS-2
en: Toolset Professional Support
Problem: Solution: The client shows their code in this thread. |
2 | 3 | hace 5 años, 3 meses | ||
How can I cound the characters or length of a custom field from Content Template
Iniciado por: jeffS-2 en: Toolset Professional Support |
2 | 4 | hace 5 años, 4 meses | ||
View version details for Types 3.2.3 shows changelog info for 2.3.5
Iniciado por: jeffS-2
en: Toolset Professional Support
Problem: View version details for Types 3.2.3 shows changelog info for 2.3.5, Solution: Dashboard-> Plugins That link is for free version of Types plugin in WordPress.org, which is under maintain mode Relevant Documentation: |
2 | 5 | hace 5 años, 4 meses | ||
After update to Types 3.2.1 and Views 2.7.1 causes array to string error
Iniciado por: jeffS-2 en: Toolset Professional Support |
2 | 3 | hace 5 años, 4 meses | ||
Need separate timestamp for last update from backend and from CRED form
Iniciado por: jeffS-2
en: Toolset Professional Support
Problem: I have an existing timestamp for when the CPT member-profile is updated by Admin. That works fine. Now I want a separate timestamp to keep track of when the member updates his own profile from the front end via CRED form. I got that to work using cred_save_data hook. The problem is, my backend hook is using save_post hook, so when member saves his profile on the front end, it updates both fields. Is there a way I can check this from the save_post hook? Solution: There is a hidden field "_cred_cred_prefix_form_id" in Toolset post form, it stores value of current Toolset form ID, you can use it to check if it is submitted by Toolset post form insider in the "save_post" action hook, for example, change this line of your PHP codes from: Relevant Documentation: |
3 | 8 | hace 5 años, 4 meses |