Forum Replies Created

Viewing 15 replies - 91 through 105 (of 122 total)
  • Thread Starter squeaky

    (@squeaky)

    Hello, thank you for your reply.

    I have statewide turned off, and Buddypress turned on.

    Maybe what I am expecting to happen is incorrect.

    https://bayareagolf.review-mysite.com/gallery/

    I assume when I go to this page, I should see all of the galleries.

    I do not, until I click on “All Galleries”

    How can I make all the galleries display by default?
    Also in the widget on the home page, left column, it tells me there are no galleries, but there are, I can clearly see them under https://bayareagolf.review-mysite.com/gallery/
    once I click “all galleries”

    Thank you

    Thread Starter squeaky

    (@squeaky)

    Hi Matt,
    I keep trying to send an email, via the contact form, with “I am responding to your request to contact Give” OR “I have a presale question”

    But I do not think it is working (or you have 4 emails form me, sorry)
    I keep getting this message at the top of the screen.

    “The email parameter should include an email, euid, or leid key”

    Thread Starter squeaky

    (@squeaky)

    here is the code:

    function give_donations_custom_form_fields( $form_id ) {
    	if ( ($form_id === 122) )
    	{
    
    	?>
       	<div id="give-honor-wrap">
    			<label class="give-label" for="give-honor"><?php _e( 'In Honor Of:', 'give' ); ?></label>
    			<input class="give-input" name="give_honor" placeholder="" id="give-honor" type="text">
    		</div>
    	<?php
    	}
    }
    add_action( 'give_after_donation_levels', 'give_donations_custom_form_fields', 10, 1 );
    
    /**
     * Add Field to Payment Meta
     *
     * @description store the custom field data in the payment meta
     *
     * @param $payment_meta
     *
     * @return mixed
     */
    function give_donations_store_custom_fields( $payment_meta ) {
    
    	$payment_meta['tribute'] = isset( $_POST['tribute'] ) ? implode( "n", array_map( 'sanitize_text_field', explode( "n", $_POST['tribute'] ) ) ) : '';
    	$payment_meta['give_referral'] = isset( $_POST['give_referral'] ) ? implode( "n", array_map( 'sanitize_text_field', explode( "n", $_POST['give_referral'] ) ) ) : '';
    	$payment_meta['honor'] = isset( $_POST['give_honor'] ) ? implode( "n", array_map( 'sanitize_text_field', explode( "n", $_POST['give_honor'] ) ) ) : '';
    
    	return $payment_meta;
    }
    
    add_filter( 'give_payment_meta', 'give_donations_store_custom_fields' );
    /**
     * Show Data in Transaction Details
     *
     * @description show the custom field(s) on the transaction page
     *
     * @param $payment_meta
     * @param $user_info
     */
    function give_donations_purchase_details( $payment_meta, $user_info ) {
    	//uncomment below to see payment_meta array
    	// echo "<pre>";
    	// var_dump($payment_meta);
    	// echo "</pre>";
    	//Bounce out if no data for this transaction
    	if ( ! isset( $payment_meta['tribute'] ) ) {
    
    	echo 'no data';
    		return;
    	}
    	?>
    
    	<div class="message-data">
    		<label><?php echo __( 'Tribute:', 'give' ); ?></label>
    		<?php echo $payment_meta['tribute'] ; ?>
    	</div>
    <?php
    }
    add_action( 'give_payment_personal_details_list', 'give_donations_purchase_details', 10, 2 );
    
    function give_donations_purchase_details_honor( $payment_meta, $user_info ) {
    	//uncomment below to see payment_meta array
    	 //echo "<pre>";
    	 //var_dump($payment_meta);
    	 //echo "</pre>";
    	//Bounce out if no data for this transaction
    	if ( ! isset( $payment_meta['honor'] ) ) {
    	echo 'no data';
    		return;
    	}
    	?>
    
    	<div class="message-data">
    		<label><?php echo __( 'In Honor Of:', 'give' ); ?></label>
    		<?php echo $payment_meta['honor'] ; ?>
    	</div>
    <?php
    }
    add_action( 'give_payment_personal_details_list', 'give_donations_purchase_details_honor', 10, 2 );
    
    function my_give_custom_paypal_meta( $metadata ) {
    	$custom_meta_fields = array(
    		'inhonorof' => isset( $_POST['honorof'] ) ? $_POST['custom_field_meta_key_1'] : '',
    	);
    	$metadata = array_merge( $metadata, $custom_meta_fields );
    	return $metadata;
    }
    add_filter( 'give_paypal_customer_metadata', 'my_give_custom_paypal_meta', 10, 2 );
    
    /**
    
     * Adds a Custom "Engraved Message" Tag
     * @description: This function creates a custom Give email template tag
     *
     * @param $payment_id
     */
    function add_sample_tribute_tag( $payment_id ) {
    
    	give_add_email_tag( 'Tribute', 'This outputs the Tribute Fund', 'get_donation_tribute_data' );
    
    }
    add_action( 'give_add_email_tags', 'add_sample_tribute_tag' );
    /**
     * Get Donation Referral Data
     *
     * @description Example function that returns Custom field data if present in payment_meta; the example used here is in conjunction with the Give documentation tutorials
     * @param $payment_id
     *
     * @return string|void
     */
    function get_donation_tribute_data( $payment_id, $payment_meta ) {
    
    	$payment_meta = give_get_payment_meta( $payment_id );
    
    	$output       = __( 'LMS Direct Research Foundation', 'give' );
    
    	if ( ! empty( $payment_meta['tribute'] ) ) {
    
    		$output = $payment_meta['tribute'];
    
    	}
    	return $output;
    }
    
    function my_custom_gateway_labels($gateways) {
    	$gateways['offline'] = array(
    		'admin_label'    => 'Offline Donations',
    		'checkout_label' => __( 'Mail a Check', 'give' )
    	);
    	$gateways['paypal'] = array(
    		'admin_label'    => 'PayPal Standard',
    		'checkout_label' => __( 'Credit/Debit Card or PayPal', 'give' )
    	);
        return $gateways;
    }
    add_filter('give_payment_gateways', 'my_custom_gateway_labels');
    
    /**
     * Adds a Custom "Referral" Tag
     * @description: This function creates a custom Give email template tag
     *
     * @param $payment_id
     */
    function my_custom_prefix_add_sample_referral_tag( $payment_id ) {
    	give_add_email_tag( 'give_honor', 'This tag can be used to output the custom referral field', 'my_custom_prefix_get_donation_referral_data' );
    }
    
    add_action( 'give_add_email_tags', 'my_custom_prefix_add_sample_referral_tag' );
    
    /**
     * Get Donation Referral Data
     *
     * @description Example function that returns Custom field data if present in payment_meta;
      the example used here is in conjunction with the Give documentation tutorials
     * @param $payment_id
     *
     * @return string|void
     */
    function my_custom_prefix_get_donation_referral_data( $payment_id ) {
    
    	$payment_meta = give_get_payment_meta( $payment_id );
    	$output       = __( 'No "in honor of..." data found.', 'give' );
    	if ( isset( $payment_meta['honor'] ) && ! empty( $payment_meta['honor'] ) ) {
    		$output = $payment_meta['honor'];
    	}
    
    	return $output;
    }
    
    Thread Starter squeaky

    (@squeaky)

    Hi Matt,
    I am in test mode with a test payment.
    My custom field (In Honor Of:) is on the details screen.
    I recalculated the data. I did that several times, I did not delete the test data.
    I can include the field in an email.
    I used the plugin, custom-fields-plugin.php, to add the custom field.

    ‘give_after_donation_levels’ to add the form field to the form
    ‘give_payment_meta’ to add the field to the payment data.
    ‘give_payment_personal_details_list’ to add it to the details page, I assume.
    ‘give_add_email_tags’ to add to the email

    There is one last function that outputs the value (‘my_custom_prefix_get_donation_referral_data’)

    This is just a test site.
    https://wooowp.review-mysite.com/give/
    user: guest
    pw: guest

    thank you for your help.

    one other thing,
    ‘Visit plugin site’ on the plugin screen for the csv toolbox, links to this page https://givewp.com/addons/give-csv/ – and it appears to be a bad link.

    Thread Starter squeaky

    (@squeaky)

    Hi Matt,
    Thank you for the notice.

    I downloaded and installed the CSV Toolbox.

    Sadly it is not detecting my custom field.

    I do have the field on the form as well as it being included in the emails.

    I was able to export with the CSV tool, but no custom fields are included.

    I have this on an internal machine, I could put it on a public server and test it over there. let me give that a try and I will be back.

    Thank you for your time.

    Thread Starter squeaky

    (@squeaky)

    Hi Matt,
    Do you have any good news for me?
    Any idea when this will be available?

    Thank you!

    Thread Starter squeaky

    (@squeaky)

    oops, if needed…
    user: guest
    pw: guest

    Thread Starter squeaky

    (@squeaky)

    Hi Matt,
    I found where I need to keep an eye on for the Add ONs.
    Thank you again for your help

    Thread Starter squeaky

    (@squeaky)

    Hi Matt,

    Thank you for concise response.
    I have added a custom field and I have it added to the email notifications.

    If there is the ability to export those fields my issues will be solved.

    Can you tell me where to find the news of the new add-on? Is it out yet?

    Thank you for your help.
    Kim

    Thread Starter squeaky

    (@squeaky)

    Hi Kevin,

    Thank you for the guidance. I was able to resolve the sorting issue.
    Did I mention I just inherited this website?.

    The page displaying the listing was NOT a category shop page, it was a page with a short code. The short code needed to be updated. Now my sort is working as expected.

    I have one other issue, somewhat related.

    Is there any option in the theme, that would affect showing the ability to select a variation on the category listing? I have a feeling it is being hidden, but I cannot see how to fix that.

    Thank You,
    Kim

    Thread Starter squeaky

    (@squeaky)

    Both the theme and the woo commerce are up to date.

    I am seeing the same issue, https://www.prettyglj.com/product/starlight-bangles/
    but beyond that it is tagging the related products as well.

    The only out of stock product in the main product on that page.

    Thanks for the fun little plugin.

    Thread Starter squeaky

    (@squeaky)

    I think I may have found the issue, and broke all the rules for the support, sorry about that. But what i am finding, the status report is saying there is a newwer version of Authorize.net

    the report
    WooCommerce Authorize.net AIM Gateway: by WooThemes / SkyVerge – 3.4.4 – 3.10.0 is available

    but on the plugins screen it does not report an need to upldate

    I have the same issue. I am posting here to be notified if/when it is resolved.

    Thread Starter squeaky

    (@squeaky)

    I found it, in case anyone else is looking.

    Customize | Landing Page | Section Ordering

    I unchecked “Display subsidiary sidebar on landing page? “

Viewing 15 replies - 91 through 105 (of 122 total)