Forum Replies Created

Viewing 15 replies - 91 through 105 (of 116 total)
  • Thread Starter nikdow

    (@nikdow)

    BTW I am using plugin Inclusive Parents to get around WP problem that prevents private posts from being selected as parent in the page heirarchy.

    Thread Starter nikdow

    (@nikdow)

    OK I’ve copied over a test version of the website and done an upgrade to the latest WP version and newsletter now installs OK.

    Thanks for all suggestions etc and please ignore my parallel post on your own website.

    Thread Starter nikdow

    (@nikdow)

    I tried the WP-admin install of the plugin and get the same result.

    Maybe it’s my old WP version, at 4.5.6 could be the problem. I did enter the WP version when I submitted to this forum but it seems to discard that information.

    Thread Starter nikdow

    (@nikdow)

    Ahh, sorry I clicked on “support” on the plugin page and it brought me here. I”ll try again.

    Thread Starter nikdow

    (@nikdow)

    Yes, I’m about to add some more fields to the custom post type so I can display each fund as a page with a featured image, and display that image as a thumbnail when a fund is selected, plus the post_excerpt. BTW for possible use by others, here is my code so far. It allows the post ID of the fund to be passed as a GET parameter so the form opens with the fund already selected:

    add_filter( 'seamless_donations_form_donation_section', function( $donation_section ){
    ...
    $fund = intval( filter_input(INPUT_GET, 'fund', FILTER_SANITIZE_NUMBER_INT ) );
    if( $fund ) $donation_section = set_designated_fund( $donation_section, $fund );
    ...
    
    function set_designated_fund( $donation_section, $fund ){
            $funds = $donation_section['funds_section']['elements']['_dgx_donate_designated_fund']['options'];
            foreach( $funds as $post_id => $title ) {
                if( $post_id === $fund ) {
                    $donation_section['elements']['_dgx_donate_designated']['select'] = 1;
                    unset( $donation_section['funds_section']['elements']['designated_fund_label']['cloak'] );
                    unset( $donation_section['funds_section']['elements']['_dgx_donate_designated_fund']['cloak'] );
                    $donation_section['funds_section']['elements']['_dgx_donate_designated_fund']['value'] = $fund;
                    unset( $donation_section['repeating_section'] );
                    unset( $donation_section['elements']['regular_intro'] );
                }
            }
            return $donation_section;
    }

    Note that I’ve removed the repeating donations when a fund is preselected. That makes sense for our use-case but if I leave the repeating donations enabled their heading is misplaced, it places above the funds section while the checkbox for repeating donations is placed below the funds section. This relates to a different bug you have on your list. What is puzzling me is that that heading: “Optional — regular giving:” doesn’t appear in function seamless_donations_get_donation_section which makes it impossible to force it to appear in the right place.

    Thread Starter nikdow

    (@nikdow)

    Also didn’t understand that funds is included in the “create new” select in the admin bar – that’s the black band across the top of the screen when logged in as administrator.

    Thread Starter nikdow

    (@nikdow)

    Thanks again for support. OK the problem is that the “Add New” submenu disappears when Donations, Donors and Funds are folded into the Seamless Donations menu. I’ve disabled that tweak and I can see “Add New” now.

    Thread Starter nikdow

    (@nikdow)

    Thanks for the help, I’m just returning to this as funds are back on our agenda. Where is the dashboard, nothing called dashboard on my menu. I’m assuming you aren’t referring to the WP dashboard, anyhow I looked there and only found your recent posts widget.

    “Designated Funds Checkbox and Section” is turned on in my “form fields and sections”.

    nikdow

    (@nikdow)

    Yeah, I’m sorry to hijack this post, I’ll start a separate one…

    nikdow

    (@nikdow)

    I checked with P3 Plugin Profiler and didn’t find a problem, but I noticed that it depends on what pages are sampled by the profiler.
    If I run it while logged in as admin, it logs calls to the admin bar stats function which does for some reason show a high % of time in Seamless Donations.
    If do a manual test on a few various pages, including the home page, Seamless Donations is using about 0.02 seconds, so it doesn’t seem to be a problem.

    nikdow

    (@nikdow)

    I haven’t added any add-ons (yet) but if this is about “designated funds checkbox and section” on form options, it isn’t apparent anywhere that this requires an add-on to work.
    I’ve spent a while trying to work out why the “funds” page doesn’t show an “add new” button, is this the reason?

    Thread Starter nikdow

    (@nikdow)

    Yes, as I said above, “Google is listing the individual event pages”, that was the first check I made, so it’s all good.

    I guess this is all Google’s attempt to cope with CMS that provide designed 404 pages that are hard to distinguish from normal pages. That’s a good outcome as well because we don’t want those boring pages indexed.

    But a better solution that your plugin could employ would be to add a meta tag to the page <head> as follows:
    <META NAME="ROBOTS" CONTENT="NOINDEX, FOLLOW">

    Thread Starter nikdow

    (@nikdow)

    Thanks for the link, explains it very well.

    Personally, I think the page as presented is perfectm with the short explanation on no events.

    I’m guessing Google is telling me that these pages won’t be indexed, and that’s a good outcome.

    Google is listing the individual event pages, and that’s the important thing.

    Thread Starter nikdow

    (@nikdow)

    Thanks for clearing up my elementary error, working well now.

    Now I just have to get that plugin author to toe the line, as I have my plugins on auto-update, but from your “plan B” I gather the option once set up will still work even if the errant plugin updates.

    Thanks for a great plugin.

    Thread Starter nikdow

    (@nikdow)

    That’s correct, the only posts showing a months old, because most of the posts on that facebook page are from others. You should be able to readily see this if you click on the link, look at the posts on our homepage, then click through to the Facebook page and check what you see there. I confess I find Facebook a bit opaque, I’m never sure how their pages work etc. so I could be misunderstanding things – your help is greatly appreciated.

    BTW I searched quite a few plugins before choosing yours, mainly because the format matched our requirements. Yours was the most flexible.

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