Razvan Mocanu
Forum Replies Created
-
Hello,
Yes this is possible, using a bit of code.add_action( 'wppb_register_success' , 'usermeta_from_query_string', 10, 3 ); function usermeta_from_query_string($REQUEST, $form_name, $user_id){ if(isset($_GET['query_string'])){ update_user_meta( $user_id, 'my_custom_meta_key',$_GET['query_string']); } }
Using this code hooked to Profile Builder’s wppb_register_succes, you can insert into the user meta the value from the query string called “query_string”.
Forum: Plugins
In reply to: [Custom Post Types and Custom Fields creator - WCK] Missing 1.1.6 ChangelogHi,
You are right, they are missing. Sorry about that.
We will post them soon.Hi,
Actually it is valid to have an empty action, it will just point to the current page, which is what Profile Builder needs to do with that form.
Check out more about this subject here: https://www.thefutureoftheweb.com/blog/use-empty-form-action-submit-to-current.Hi,
WCK is compatible with WordPress 4.3.1.
The plugin is currently in active development, and if any WP update would cause a malfunction, we will apply fixes for it.Hi,
I made some tests with all the possible combinations of single quotes and double quotes to both the original string and the $translated_text parameter of the change_text_activation_mail function.I found out that the $translated_text parameter needs to match the type of quotes used in the original __( function.
In this particular case, Profile Builder uses double quotes and so should your function’s search term: $translated_text.There is a good reason why we’re using double quotes for that particular string in the plugin. Double quotes enables the special end line character \n to actually be processed as a new line. Single quote just outputs this character: \n.
Keep in mind that making modifications to the plugin’s core is not recommended because, on future updates, all your changes will be lost.
Hi,
Profile Builder checks the validity of registering emails with the help of is_email, a standard WordPress function.Considering that it is pretty unusual for emails to have an apostrophe (‘) in the address and that WordPress itself does not allow this format because of security reasons, there aren’t any nice workarounds for this.
Going through all the code and removing all checks of the is_email function is, obviously, not recommended.
Advising your users to register with an email address without apostrophe seems to me as a decent solution.
Hi,
Thank you for reporting this issue to us.
We already rolled out an update containing this fix.We will try our best for this not to happen again.
Hi,
It is possible that the email was received in the Spam folder.
Does the user appear in the list of unconfirmed email addresses at Users > All Users > Email Confirmation ?
Do other types of emails get sent from WordPress? If not, this could indicate a WordPress installation issue.
If you aren’t able to resolve this, please submit a support ticket with more details at https://www.cozmoslabs.com/support/ so we can help you fix it.Forum: Plugins
In reply to: [Custom Post Types and Custom Fields creator - WCK] Is this possibleHi,
To answer your questions:
0-Yes, it is possible using WCK Pro’s feature Front End Posting. You can even select which fields (or custom fields) to display on front-end and which not. You can check out more details in this article.1-Yes. WCK Pro enables you to edit posts with its custom fields included directly from the front end. This is done by placing a shortcode on the page you want this “front-end dashboard” to appear. Check out this section of the article for more information.
2-Using front-end posting you cannot save posts as draft to continue later. This is possible only from wp-admin dashboard.
3-WCK Pro enables you to place shortcodes anywhere you want. This means you can just place it on a page with restrictive access configured by any account-control plugin such as Members.
Forum: Plugins
In reply to: [Custom Post Types and Custom Fields creator - WCK] Taxonomies Not ShowingHi,
Thank you for reaching out to us.
I tested your issue but it doesn’t seem to replicate.Please submit a support ticket on our support platform and try to include more details so we can help you find a solution.
Forum: Plugins
In reply to: [Custom Post Types and Custom Fields creator - WCK] ConditionalHi,
This happens because if a value was inserted and then removed,
if( !empty( $precos ))
will be considered true by php as it does contains a string, although an empty one.You could try something like this:
<?php $precos = get_post_meta( $post->ID, 'precos', true ); $noprecos = true; if( !empty( $precos )){ foreach( $precos as $precos ) { if( !empty( $precos['preco'] )) { echo '<p>Pre?o: ' . $precos['preco'] . '</p>'; $noprecos = false; } } } if( true == $noprecos) { echo 'Pre?o sobre consulta'; } ?>
Hi,
Yes, that’s possible using the CPT select as a field type. Then you can select what custom post type should be used in the CPT Select.You can check out this article for more information about Custom Post Type Select.
Please note that this feature is available only in Hobbyist or Pro versions.Forum: Plugins
In reply to: [Custom Post Types and Custom Fields creator - WCK] Placement of custom fieldHi,
This is possible using Swift Templates, one of WCK pro features.
It allows you to generate any template for a custom post type directly from the UI, using simple tags and basic HTML + CSS.
You can read more about it in this article: https://www.cozmoslabs.com/20489-swift-templates-alternative-to-wordpress-templates/Hello,
WCK uses a serialized manner to store custom fields. The reason behind this is because it was designed to ease storing of repeater fields. We know that it poses some issues when trying to retrieve the content directly from code and we plan on changing that.
However, there is a workaround for this. If you need to disable serialization visit our article: https://www.cozmoslabs.com/docs/wordpress-creation-kit-documentation/how-to/store-custom-field-meta-unserialized-fields/