Forum Replies Created

Viewing 15 replies - 436 through 450 (of 4,985 total)
  • Plugin Contributor Matt Cromwell

    (@webdevmattcrom)

    Generally, for changing text throughout the plugin, we recommend a translation tool like Loco-Translate or using Poedit to provide your site with local translations of the plugin.

    But if you just need to change one or two strings, this filter will do that for you:

    function my_give_text_switcher( $translations, $text, $domain ) {
    
    	if ( $domain == 'give' && $text == 'First Name' ) {
    		$translations = __( 'Name', 'give' );
    	}
    	return $translations;
    }
    add_filter( 'gettext', 'my_give_text_switcher', 10, 3 );

    If you need guidance implementing custom PHP functions on your website, we have this guide here: https://givewp.com/documentation/resources/adding-custom-functions-to-your-wordpress-website/

    Thanks!

    Plugin Contributor Matt Cromwell

    (@webdevmattcrom)

    I think loco-translate plugin should do the trick for you.

    Or you can use this translation snippet. You’d have to customize it to target the field you want, with the correct translation, but it would look something like this:

    function my_give_text_switcher( $translations, $text, $domain ) {
    
    	if ( $domain == 'give' && $text == 'פרטים אישיים' ) {
    		$translations = __( 'personal details', 'give' );
    	}
    
    	if ( $domain == 'give' && $text == 'Your Hebrew Text for Last Name' ) {
    		$translations = __( 'last name', 'give' );
    	}
    
    	
    	return $translations;
    }
    add_filter( 'gettext', 'my_give_text_switcher', 10, 3 );
    Plugin Contributor Matt Cromwell

    (@webdevmattcrom)

    Currently the only way to hide that is with CSS, like this:

    #give-last-name-wrap.form-row-last {
    	display: none;
    }
    
    #give-first-name-wrap.form-row-first {
        float: none;
    	width: 100%;
    }

    Add that to the bottom of your theme’s styles.css file; or go to “Appearance > Customize > Custom CSS” and add it to the bottom of that setting. For more detailed info on adding custom CSS, see here: https://givewp.com/documentation/resources/handling-custom-css-in-wordpress/

    Thanks!

    Plugin Contributor Matt Cromwell

    (@webdevmattcrom)

    When I visit that page on desktop I don’t see it present at all.

    I’m currently thinking:

    1. Check your editor in TExt mode and see if the shortcode is clean, meaning there’s no stray markup in the shortcode at all anywhere. It should look like this: [give_form id="XXX"] — where XXX is your form ID.

    2. Make sure you check all caching, while testing just disable it completely. it messes with your ability to have a TRUE view of what your website looks like.

    Plugin Contributor Matt Cromwell

    (@webdevmattcrom)

    Hi there!

    Thanks for the update. So, let me summarize what your new work tells us:

    1. Because you can see the donor names of the OLD donations on the test site AFTER rolling back Give, that confirms that those donations STILL have the old data in the old place instead of the new place in the database

    2. Because on the live site, with Give updated, you CANNOT see the donor information, we know that the old data was not properly migrated to the NEW database location.

    In summary, the DB update routines we built into Give are not working correctly.

    My suspicion is a limitation or security issue with your webhost. If you are able to view you database on the NEW test site, can you confirm whether you see these database tables?

    • wp_give_donationmeta
    • wp_give_donormeta

    If they are there, then install that Database Healthcheck plugin again (while on the OLD version of Give), and run those updates again. Then, update to the latest version of Give (on the test site) and run all the database updates again.

    Make sure on your Test site that you have all other plugins deactivated, and that you do not have any Database caching or security plugins running at all (check with your webhost about that as well).

    Ideally, that will get it resolved for you on the Test site, then you can migrate that data to the live site manually.

    I wish this were easier for you, but I’m fairly certain this is a webhost security issue, something that there’s no way we could prevent or compensate for.

    Keep me posted.

    Plugin Contributor Matt Cromwell

    (@webdevmattcrom)

    I believe you’ll need to do at least one test donation with a form that has that information on it already before it appears as in the Export. That field in the export only appears when the new donation meta is present in the database.

    Thanks!

    Plugin Contributor Matt Cromwell

    (@webdevmattcrom)

    Hi there,

    It looks like you are using Elegant Theme’s Divi theme. Each module of their page builder has the ability to show/hide the info for desktop or mobile. Most likely you’ll need to adjust those settings. We have TONS of users using Give and Divi very successfully.

    If you have more questions about that, I’d reach out to Divi support which is generally very good.

    Thanks!

    Plugin Contributor Matt Cromwell

    (@webdevmattcrom)

    Hi there,

    Unfortunately, we’re not allowed to discuss our paid add-ons on this free support forum. I’d recommend you contact us via our Contact Form:
    https://givewp.com/contact-us

    Thanks!

    Plugin Contributor Matt Cromwell

    (@webdevmattcrom)

    Hi there,

    Those are some great questions. I’ll be brief but this should give you the most pertinent info to get up and running quickly with your questions.

    First, is it possible to bring into the sum of the sum collected also amounts of money that have already been donated?
    Yes. See our docs on the [give_totals] shortcode. That should do what you need.
    https://givewp.com/documentation/core/shortcodes/give_totals/

    Can I set a countdown timer to end the donation date?
    We built a FREE addon for that purpose. It’s a bit experimental, but try it out and let us know how you like it:
    https://ww.wp.xz.cn/plugins/give-form-countdown/

    Is there a possibility to know which of the representatives of our donation came through the donation (for example: a link to each representative, option to choose the name of the representative in a special window)
    You can add a dropdown to your Give forms so the donor can choose the representative. You can add custom fields to your Give forms in one of two ways:

    Alternatively, if you wanted to have a HIDDEN field that is populated by a unique link, you could add the field in one of the two ways above, then you’d need some custom jQuery to automatically populate that field based on the link. We have a detailed tutorial about that here:
    https://givewp.com/populate-donor-info-one-click/

    Can I write all fields in Hebrew?
    Rather than writing the fields directly, we’d recommend translating the fields into Hebrew with a PO or MO file — this is the default way in which ALL strings in WordPress are translated.

    Here’s two ways you can do that:
    1. The technical/manual way — https://developer.ww.wp.xz.cn/plugins/internationalization/localization/#poedit
    2. With a plugin — https://ww.wp.xz.cn/plugins/loco-translate/

    Thanks!

    Plugin Contributor Matt Cromwell

    (@webdevmattcrom)

    Hi there,

    That’s an interesting approach to what you are trying to accomplish. Let me address your main concerns and then I’ll provide some general feedback.

    CSS ISSUE
    The reason you’re having that problem in general is because of how you’re trying to add headings (technically they’d be unique field-groups or legends) into the single list of multi-level list elements. So, this isn’t really a typical “issue” that Give users struggle with, it’s a matter of how you’ve tweaked those options.

    Under these circumstances, the CSS gets pretty hacky, but this will get you most of the way there:

    #give-donation-level-radio-list>li label {
       display:inline!important;
    }

    RECOMMENDATION
    But when I reviewed your form, I have several concerns. These concerns are based on my experience with our customers and supporting nonprofits for 10 years and some best practices when it comes to collecting user/donor information. Here’s the nutshell:

    • The more fields you have in a form, the more likely it can fail — due to either a plugin or theme conflict.
    • The more fields you have in a form, the LESS likely your donors will actually donate anything at all. They’ll just want to call you and have you do the donation over the phone or seek ANY alternative than to have to sift through all those fields.
    • The most important thing is DONATING. The uploads, and additional info and whatnot is secondary, so you would probably be better off getting that information AFTER the donation.
    • Our Give Reporting works best if you have multiple forms. For example, you’ll have a hard time tracking which sponsorship donors like to support more: The Partnerships, the Program Sponsorships, or the Anniversary Event Sponsorships. Breaking those out will help you a lot.

    So with that in mind, I put together a quick visual alternative to make it really clear what I mean. This page is done by doing the following:

    1. Creating three forms, one for each type of sponsorship. And they each were added to a Form category called “Sponsorships”
    2. I created a new page, and moved all the descriptive stuff out of the forms completely and into that page.
    3. I then used our Give Form Grid to display the three forms and have them open in a Modal. Here’s docs on that: https://givewp.com/documentation/core/shortcodes/give_form_grid/

    Here’s the screenshot of that page:
    Givetesting test our sponsorships

    Let me know if you have any questions at all.

    • This reply was modified 7 years, 2 months ago by Matt Cromwell.
    Plugin Contributor Matt Cromwell

    (@webdevmattcrom)

    I understand you’d like to just hide that, but the problem is that those elements shouldn’t even be in the forms at all, and I’m concerned they might create trouble for you down the line.

    Can you tell me what theme and theme version it is and what page builder and page builder version you are running?

    I think the page builder you are using must be converting the shortcode somehow, because all of those <p> elements are not supposed to be there at all.

    Try going to “Donations > Settings > Advanced” And then on “the_content filter” set that to “Disabled”.

    Try that, then resave the page with the correct shortcode in it. If it still doesn’t work as intended then i’d hit up your page builder or theme support to understand that better.

    Plugin Contributor Matt Cromwell

    (@webdevmattcrom)

    Sorry… didn’t see your replies come through. In looking at your snippet now, make sure you remove all those numbers at the beginning of the lines.

    For example, this:

    /**
    4 * Add Terms Agreement text and consent to Donation Meta
    5 * NOTE: This is then used in the Give CSV Export to show consent.
    6 *
    7 */
    
    /**
    10 * Output Terms in hidden textarea for saving
    11 *
    12 * @param $form_id
    13 */

    Should actually be this:

    /**
      * Add Terms Agreement text and consent to Donation Meta
      * NOTE: This is then used in the Give CSV Export to show consent.
      *
      */
    
    /**
      * Output Terms in hidden textarea for saving
      *
      * @param $form_id
      */

    Try that and let me know how it goes.

    Plugin Contributor Matt Cromwell

    (@webdevmattcrom)

    We respond to all support requests with 2-4 hours. If you haven’t received a response at all, please fill out our Contact Form and we’ll get you immediate attention. Just ask for Matt and mention this thread here.

    Plugin Contributor Matt Cromwell

    (@webdevmattcrom)

    Great to hear, happy to help!

    If you’re enjoying Give and appreciate our support, we’d love a kind review from you here:
    https://ww.wp.xz.cn/support/plugin/give/reviews/

    Thanks!

    Plugin Contributor Matt Cromwell

    (@webdevmattcrom)

    HI there,

    I love that idea. It’s not something we offer out of the box, but here’s the way I’d approach that:

    1. Create a form for each author. Note the Form ID for each author’s form.
    2. Use this snippet to make the form use the author’s paypal:
    https://github.com/impress-org/give-snippet-library/blob/master/gateway-customizations/paypal/paypal-standard-mutliple-accounts.php
    3. In order for the donations to be shown as “Complete” each author will need to update their PayPal IPN number to refer to your website. Here’s basic instructions for that here:
    https://givewp.com/documentation/core/payment-gateways/paypal-standard/troubleshooting-ipn-issues/#confirm-ipn
    4. Then you’ll probably want to use the [give_form] shortcode to output a Button in the WordPress Profile and use the Button Only display mode. See docs on that here:
    https://givewp.com/documentation/core/shortcodes/give_form/

    IF you want to get a little more developer-oriented with this, you could add a custom field to the Author bio that sets that paypal address dynamically. But you’ll still need each author to update their IPN manually — there’s really no workaround for that, it’s a PayPal thing.

    thanks!

Viewing 15 replies - 436 through 450 (of 4,985 total)