Epaxido
Forum Replies Created
-
Perfect, it will be essential for rental purpose.
Thank you!
Morki excuse me if I ask you again, but since the last update you’ve changed several files and now I don’t know where to change the days calculation.
Works!
Thank you very much for your support
FF, I’ve checked also with chrome
on the single product visualization it say
the stylesheet http://site.com/wp-admin/admin-ajax.php?action=dynamic_css was not loaded because its MIME type, "text / html", is not "text / css"do you have an email where I can send a link for private access?
Yes I’ve updated to the latest version (I saw the last date of updating). I’ve tried to deactivate all except wcomm but still don’t work.
I’m using v 1.2 of the plugin (on wcomm 2.2.4 and wp 4)… the data picker is showed on page (no overlay) and doesn’t work.
up
ok, I understand that this is not an error, but for my needs if in the order will appear the booking from 24 to 28 I have to calculate also the first day of the booking, therefore 24 (1) 25 (2) 26 (3) 27 (4) 28 (5).
What should I change in the files to calculate the first day of the booking (if possible without losing the changes to the next update of the plugin)
Thanks in advance
Forum: Plugins
In reply to: [Theme My Login] Extra registration fields… checkbox and textarea.For who need to add checkboxes in the registration form.. here is the code to put in functions (obviously works also without plugin):
<?php add_action( 'register_form', 'signup_fields_wpse_87261' ); add_action( 'user_register', 'handle_signup_wpse_87261', 10, 2 ); add_action( 'show_user_profile', 'user_field_wpse_87261' ); add_action( 'edit_user_profile', 'user_field_wpse_87261' ); add_action( 'personal_options_update', 'save_profile_fields_87261' ); add_action( 'edit_user_profile_update', 'save_profile_fields_87261' ); function signup_fields_wpse_87261() { ?> <input type="checkbox" name="custom_feature_a" id="custom_feature_a" value="enabled" /> Enable feature A? <input type="checkbox" name="custom_feature_b" id="custom_feature_b" value="enabled" /> Enable feature B? <hr /> <?php } function handle_signup_wpse_87261( $user_id, $data = null ) { $custom_feature_a = $_POST['custom_feature_a']; $custom_feature_b = $_POST['custom_feature_b']; if ( isset( $custom_feature_a ) ) { add_user_meta( $user_id, 'custom_feature_a', $custom_feature_b ); } if ( isset( $custom_feature_b ) ) { add_user_meta( $user_id, 'custom_feature_b', $custom_feature_b ); } } function user_field_wpse_87261( $user ) { $custom_feature_a = get_user_meta( $user->ID, 'custom_feature_a', true ); $custom_feature_b = get_user_meta( $user->ID, 'custom_feature_b', true ); ?> <h3><?php _e('Custom Fields'); ?></h3> <table class="form-table"> <tr> <td><span class="description"><?php _e('Custom Feature A?'); ?></span> <label><?php printf( '<input type="checkbox" name="custom_feature_a" id="custom_feature_a" value="enabled" %1$s />', checked( $custom_feature_a, 'enabled', false ) ); ?></label> </td> </tr> <tr> <td><span class="description"><?php _e('Custom Feature B?'); ?></span> <label><?php printf( '<input type="checkbox" name="custom_feature_b" id="custom_feature_b" value="enabled" %1$s />', checked( $custom_feature_b, 'enabled', false ) ); ?></label> </td> </tr> </table> <?php } function save_profile_fields_87261( $user_id ) { update_usermeta( $user_id, 'custom_feature_a', $_POST['custom_feature_a'] ); update_usermeta( $user_id, 'custom_feature_b', $_POST['custom_feature_b'] ); } ?>[Please post code or markup snippets between backticks or use the code button. Or better still – use a pastebin. Your posted code may now have been permanently damaged/corrupted by the forum’s parser.]
thanks to brasofilo
Forum: Plugins
In reply to: [Theme My Login] Extra registration fields… checkbox and textarea.can you check the code I’ve posted.. I think is correct, I just need a confirmation, to exclude that code.
Forum: Plugins
In reply to: [Theme My Login] Extra registration fields… checkbox and textarea.user selection for checkboxes and text for textarea are not showed in the profile page.