› Forums › Post Pay Counter PRO › Support › Problem with counting visits
We are based in Europe with a GMT+1/GMT+2 time zone - support replies may be delayed due to time zone differences with your country.
- This topic has 35 replies, 1 voice, and was last updated 1 year, 9 months ago by Abdulaziz.
-
AuthorPosts
-
February 15, 2023 at 8:56 am #237308AbdulazizGuest
I have hidden this field, the code is marked as a comment. Is this step correct and will not cause any problems?
https://i.ibb.co/SJ47q7K/Screenshot-2023-02-15-095436.jpgFebruary 15, 2023 at 3:42 pm #237437StefanoKeymasterThere is no issue in hiding as you have done, but new updates will restore the code to its original form. Just be aware of that!
February 15, 2023 at 3:51 pm #237442AbdulazizGuestThanks for the note
I would like to share with you some details regarding the proposal that I wish you would add to the program
My support, I say something important, that you have already created such a function in a different way, and all you need is to modify it to make it the required form
Here I am talking about how when you press the select button as paid, it saves the income and completes the calculation of profits according to the new data. All you need is to create a modified version of this function to allowAdding the possibility to change the price of the visit without affecting the balance of the member already in his account.
February 19, 2023 at 1:16 pm #238496AbdulazizGuestUnfortunately, some field hiding, the save data button has disappeared
February 23, 2023 at 2:55 pm #239735AbdulazizGuestany help
February 24, 2023 at 9:04 am #239945StefanoKeymasterI’m sorry, but I don’t know what the issue is. If you want to describe in detail
– what you wanted to achieve
– what you have done
– what your expectations were
– what you got instead
then I can try to help, but otherwise it’s impossible for me.February 24, 2023 at 1:30 pm #240009AbdulazizGuestwhat you wanted to achieve
It is to hide the PayPal email field in the member’s profile
what you have done.
I made the code that displays this field as a comment, as I shared with you earlier.
what your expectations were
The field is hidden, but without causing other problems.
what you got instead
Indeed, this field has been hidden, but another problem has appeared, which is hiding the update profile button, which saves the modifications in the profileFebruary 24, 2023 at 1:42 pm #240014StefanoKeymasterPost again your code please
February 24, 2023 at 1:47 pm #240017AbdulazizGuestFebruary 27, 2023 at 3:11 am #240769AbdulazizGuestDidn’t I explain the details enough?
February 27, 2023 at 9:01 am #240848StefanoKeymasterThe following way of commenting it out works for me, try it:
static function custom_fields_user_page_print( $user ) { global $ppcp_global_settings; ?> <!-- <h3><?php _e( 'PayPal email address', 'ppcp'); ?></h3> <table class="form-table"> <tr> <th> <label for="<?php echo $ppcp_global_settings['paypal_email']; ?>"><?php _e( 'PayPal email address', 'ppcp'); ?></label> </th> <td> <input type="email" name="<?php echo $ppcp_global_settings['paypal_email']; ?>" id="<?php echo $ppcp_global_settings['paypal_email']; ?>" value="<?php echo esc_attr( get_user_option( $ppcp_global_settings['paypal_email'], $user->ID ) ); ?>" class="regular-text" /> <br /> <span class="description"><?php _e( 'The PayPal email address you would like to be paid to', 'ppcp'); ?></span> </td> </tr> </table> --> <?php }
February 27, 2023 at 4:24 pm #240959AbdulazizGuestHawa is already hiding this field
But it also hides this button
https://i.ibb.co/4WFMCpr/Screenshot-2023-02-27-172232.jpg
Thus, I will not be able to save the eventsFebruary 28, 2023 at 7:35 am #241174StefanoKeymasterI tested the code I sent above and it works: it does not remove the save button. You may have made a mistake in your implementation, I suggest trying again with mine.
February 28, 2023 at 7:57 pm #241367AbdulazizGuestThank you it’s working
Also, I am waiting for the addition of that feature that I told you about earlierFebruary 28, 2023 at 9:45 pm #241413StefanoKeymasterGreat to hear that is working.
For the other features, I’ve already said that they are complicated implementations and that I am not going to work on them anytime soon 😉
February 28, 2023 at 10:17 pm #241437AbdulazizGuestI know you can do it. You made a great system. You can add this feature to improve it
Also, let me point out that you have almost done the payment feature
You can derive from this feature and modify it to make it suitable
I know you can do it. This is what the system needs -
AuthorPosts
- The topic ‘Problem with counting visits’ is closed to new replies.