raftaar1191
Forum Replies Created
-
Hi @revived,
Thanks for using our Plugin.
Here is a snippet that can help you to change the text that you wanted. Please copy the code from the below link and past it in Themes functions.php files and rename the text with what you wanted like “Giving Total”Regard,
RaftaarHi @dzaho
I can understand that but can you please test it once that it is working or not with the Other Payment Gateway which is offer by Give Core itself. Just want to know that the problem is within the Give Core or in the Plugin that you are using.
Thanks,
RaftaarForum: Plugins
In reply to: [GiveWP - Donation Plugin and Fundraising Platform] Error with importHi @sherwin
I did request access to the sample CSV file you linked above.
-> GivenThanks for your suggestions we are soon going to add a Sample of Donation Import Form within the Import Tab of the Donations here is the link of the Github issues
When it shows the number of records imported it should NOT include the first row, with column names, in the count since that row doesn’t get imported.
-> I try to regenerate the issues at my end but not successfully I guess this may be because of the empty fields that are being passed with the CSV.I am adding the link of the Google Sheet that I am using it https://docs.google.com/spreadsheets/d/1sKrSI7wSTdt6EZMcgBwVDIbW8qLhMzU3P8T0jHnzMzE/edit#gid=0
Regard
RaftaarForum: Plugins
In reply to: [GiveWP - Donation Plugin and Fundraising Platform] Error with importHi
I have just now created a CSV and try to import the CSV it’s working fine.
Here is link of the CSV: https://docs.google.com/a/wordimpress.com/spreadsheets/d/1sKrSI7wSTdt6EZMcgBwVDIbW8qLhMzU3P8T0jHnzMzE/edit?usp=sharing
One Question are you sure the Form ID which you mention is already existed, If not then you can copy it from Dashboard > Donations > All Form > Donation ID
https://nimb.ws/oz4SKFOr else write the From Title and select the option from the drop-down as
Donation Form Title
Regard
RaftaarForum: Plugins
In reply to: [GiveWP - Donation Plugin and Fundraising Platform] Error with importHi @sherwin_flight,
Can you please share the Demo CSV format that you are trying to import. So that we can tell you the reason.
Thanks
RaftaarHi @dzaho just had a look at your sites. What I can see s that the Payment gateway you are using is being developed by a third party.
Can you please switch to default payment gateway which is offered by Give Core itself and check for the issue.
Regard
RaftaarYes, You are right @databell96
Updated Code:
/** * Moves the custom amount to the beginning of the dropdown. * * @param $output * @param $form_id */ function give_dropdown_donations_custom_amount_first( $output, $form_id ) { $prices = apply_filters( 'give_form_variable_prices', give_get_variable_prices( $form_id ), $form_id ); $display_style = give_get_meta( $form_id, '_give_display_style', true ); $custom_amount = give_get_meta( $form_id, '_give_custom_amount', true ); $custom_amount_text = give_get_meta( $form_id, '_give_custom_amount_text', true ); if ( empty( $custom_amount_text ) ) { $custom_amount_text = esc_html__( 'Give a Custom Amount', 'give' ); } if ( 'dropdown' === $display_style ) { $output = '<label for="give-donation-level-select-' . $form_id . '" class="give-hidden">' . esc_html__( 'Choose Your Donation Amount', 'give' ) . ':</label>'; $output .= '<select id="give-donation-level-select-' . $form_id . '" class="give-select give-select-level give-donation-levels-wrap">'; // Custom Amount. if ( give_is_setting_enabled( $custom_amount ) && ! empty( $custom_amount_text ) ) { $output .= '<option data-price-id="custom" class="give-donation-level-custom give-default-level" value="custom" selected>' . $custom_amount_text . '</option>'; } //first loop through prices. foreach ( $prices as $price ) { $level_text = apply_filters( 'give_form_level_text', ! empty( $price['_give_text'] ) ? $price['_give_text'] : give_currency_filter( give_format_amount( $price['_give_amount'], array( 'sanitize' => false ) ) ), $form_id, $price ); $level_classes = apply_filters( 'give_form_level_classes', 'give-donation-level-' . $price['_give_id']['level_id'], $form_id, $price ); $output .= '<option data-price-id="' . $price['_give_id']['level_id'] . '" class="' . $level_classes . '" value="' . give_format_amount( $price['_give_amount'], array( 'sanitize' => false ) ) . '">'; $output .= $level_text; $output .= '</option>'; } $output .= '</select>'; } echo $output; } add_filter( 'give_form_level_output', 'give_dropdown_donations_custom_amount_first', 10, 2 );
Regard,
Raftaar- This reply was modified 7 years, 3 months ago by raftaar1191.
Hi @jiltsmom,
You mean the first/last name and email address? That has been standard since day one of Give. The first name and email address are required for Reports and to allow donors to see their Donation History. There is currently no way to remove those fields at all.
Thanks,
RaftaarHi @priyadilsha,
Currently, it’s not possible to do that with some Give Hooks. but you can use
gettext Filter to that
Example: https://gist.github.com/raftaar1191/ba9b8d901a56eb0f1ea25b9f03a1b27d
Notes: But this may result in some performances issues.Another way is by using the translator plugin. Please save the Give .mo file in the language folder of the plugins not in the Give languages folder as it will overtire once plugin is updated
Regard,
RaftaarHi @brettintherye,
You mean the first/last name and email address? That has been standard since day one of Give. The first name and email address are required for Reports and to allow donors to see their Donation History. There is currently no way to remove those fields at all in any payment gateway.
Thanks,
RaftaarWhat I can see right into you code you are using textarea to show the fields.
You should be using input type text in place of that
Example: https://prntscr.com/hirirj
Thanks,
RaftaarHi @seanmadrid
I had a look at your websites and try to reproduce the issues at my ends but not able to regenerate the issues.
Can you please try by switching the theme to WordPress Default one and let me know if the issues still exist or not.
Thanks,
RaftaarYou can use
give_donation_form_after_email
action to print that HTML inside the Personal Info fieldsAction file Link: https://github.com/WordImpress/Give/blob/release/1.8.17/includes/forms/template.php#L712
Thanks you
Raftaar- This reply was modified 7 years, 3 months ago by raftaar1191.
Forum: Plugins
In reply to: [GiveWP - Donation Plugin and Fundraising Platform] Please Add CurrencyCurrently, Give does not have Indonesia currency option. But we can add this by using the filter
give_currencies
.
Documentation for the filter: https://github.com/WordImpress/Give/blob/master/includes/misc-functions.php#L409I have used that filter and added support for Indonesia currency to Give Plugins and their add-on as well.
Please copy the code from the below mention link and past it in your child themes functions.php file
File Link: https://gist.github.com/raftaar1191/12748c1f7eb0999aaac8591f24a358a7Step to do that:
1> Go to the above mentions Link and Copy the code from there
2> Now go to your theme functions.php file and paste that code thereI have also created issues for this, So you can have a look into this as well https://github.com/WordImpress/Give/issues/2275
Please let us know if this works for you or now
Thanks You
Raftaar