raftaar1191
Forum Replies Created
-
Forum: Plugins
In reply to: [Notifications On Post Like For BuddyBoss] Email CustomisationHey @andymort
Thank you for your query and for using our plugin. We will review the codebase of the BuddyBoss Platform to determine if email customization is possible. We’ll get back to you with more details once we have completed the review.I am able to regenerate the issue, Here the main point is that we need to cache the whole page and then only we will be able to regenerate this issue
Thanks, Anoop looking for a positive response from you.
Thanking you in advance
DeepakHey Anoop,
Thanks for your reply. Yes, I tried with Import/Export and it works there I just want to create some dynamic string or something else that I can use in place of ID.
As ID is not changeable but if we add some dynamic name and then pass it in the shortcode then we can get the Post id and display the popup.
It’s just an idea of make it dynamic.
Here is my Github link: https://github.com/raftaar1191
If you can add me into the repo or give me access to this repo then I can do that custom work and if you do not find it use full then you can keep this PR un-mergerThanks in Advance
DeepakHey @mbootsman
I try to regenerate the issue but not able to regenerate this issue. Can you prove me the shortcode with the parameter that you had passed into it?
Example: https://prntscr.com/kv9hbz
yes @tsquared, you need to add this file in the child theme functions.php file
Let me know if this work for you or not?Regard
DeepakForum: Plugins
In reply to: [GiveWP - Donation Plugin and Fundraising Platform] Trouble importing donorsHey @mlavanish
Thanks for retesting and adding your comment to the thread.
If you find any other problem then please create a new issue, I am closing this issue for now as this is being solved.
Regard,
DeepakHey @tsquared
You can copy the code from below link and bypass the duplicated donation check for the donation that is getting imported via CSV.
Let me know if there is anything else I can help you with.
https://gist.github.com/raftaar1191/8e25d93486ff62c2f1830a5d6fbeb935
Forum: Plugins
In reply to: [GiveWP - Donation Plugin and Fundraising Platform] Trouble importing donorsHey @mlavanish
Sorry to hear that you are facing issues when importing donation via CSV.
I try to regenerate the issue at my end but was not able too.
Can you provide me with the CSV that you are using to import donation so that I can also regenerate the issue?
Thanks
DeepakHey @imthatguydavid Kindly try this code and let me know if this is working for you or not
/** * Add Custom Donation Form Fields * * @param $form_id */ function give_myprefix_custom_form_fields( $form_id ) { // Only display for forms with the IDs "754" and "578"; // Remove "If" statement to display on all forms // For a single form, use this instead: // if ( $form_id == 754) { $forms = array( 754, 578 ); ?> <div id="give-memo-wrap"> <label class="give-label" for="give-memo"><?php _e( 'Memo:', 'give' ); ?> <span class="give-tooltip icon icon-question" data-tooltip="<?php _e( 'Comment section for your donation', 'give' ) ?>"></span> </label> <textarea class="give-textarea" name="give_memo" id="give-memo"></textarea> </div> <?php // endif; } add_action( 'give_after_donation_levels', 'give_myprefix_custom_form_fields', 10, 1 ); /** * Add Field to Payment Meta * * Store the custom field data custom post meta attached to the <code>give_payment</code> CPT. * * @param $payment_id * @param $payment_data * * @return mixed */ function myprefix123_give_donations_save_custom_fields( $payment_id, $payment_data ) { if ( isset( $_POST['give_memo'] ) ) { $message = implode( "\n", array_map( 'sanitize_text_field', explode( "\n", $_POST['give_memo'] ) ) ); give_update_meta( $payment_id, 'give_memo', $message ); } } add_action( 'give_insert_payment', 'myprefix123_give_donations_save_custom_fields', 10, 2 ); /** * Show Data in Payment Details * * Show the custom field(s) on the payment details page in wp-admin * * @param $payment_id */ function give_myprefix_purchase_details( $payment_meta ) { $payment_id = absint( $_GET['id'] ); // Bounce out if no data for this transaction $give_memo = give_get_meta( $payment_id, 'give_memo', true ); if ( $give_memo ) : ?> <div id="give-memo-details" class="postbox"> <h3 class="hndle"><?php esc_html_e( 'Memo Message', 'give' ); ?></h3> <div class="inside" style="padding-bottom:10px;"> <?php echo wpautop( $give_memo ); ?> </div> </div> <?php endif; } add_action( 'give_payment_personal_details_list', 'give_myprefix_purchase_details', 10 );
Thanks
DeepakHey @faizedz,
You can do that by login into you Websites Dashboard and go to Donations > Settings > Payment Gateways and select the Payment Gateway for which you want to disable the Billing Details.
Click on Disable option of Billing Details to disable the billing details
Hi @scudyscud
Can you please share us the link of your site that would be really helpfully.
- This reply was modified 7 years, 1 month ago by raftaar1191.
Forum: Plugins
In reply to: [GiveWP - Donation Plugin and Fundraising Platform] About the billing addressHi @billybilly88
There is a setting to show or hide the billing details depending on the Gateway selected.
Like if you want to Enable billing details for PayPal Payment Gateway then you can browse to Donations > Settings > Payment Gateways > PayPal Standard and go to Billing Details Settings and then Enable it. So there is a setting for each gateway that you want to add the billing details.Thanks,
Raftaar- This reply was modified 7 years, 1 month ago by raftaar1191.
Hi @vertiges
Here is the code that will display the custom amount int he first place when display options is set to “button”
Please copy the code from below link and past it in the theme’s functions .php file
https://gist.github.com/raftaar1191/a7cea38b6cec8dc4c17d85156c015f7dRegard
Raftaar- This reply was modified 7 years, 2 months ago by raftaar1191.
Hi @ maggieaey
Was not able to view the Link that you provided. Can you please check what’s wrong with you link?
Regard,
Raftaar1191