• Resolved RedfishTheCat

    (@redfishthecat)


    Hi,

    As many (many) user (shearsh on google), I need to sen mail on new envent type post (Events manager).
    It’s seem not possible actually… many look for, no one found how to do this.

    I see on your website plugin (subscrib2.wordpress.com):
    “If you still really want my direct help then make a donation. My code if free but my time is not.”
    I understand well, you make this plugin free, and we love it.
    So, my question… if many people, whoi need this feature, can group, how can cost it to us ?

    With regards,
    Redfish

    https://www.ads-software.com/plugins/subscribe2/

Viewing 9 replies - 1 through 9 (of 9 total)
  • @redfish,

    Sending post notifications for events created by Events Manager is possible by registered the post type and taxonomy with Subscribe2.

    The 2 hooks you needs are ‘s2_post_types’ and ‘s2_taxonomies’ and they are documented here:
    https://subscribe2.wordpress.com/support/api/

    So, the feature is already available. If you want me to write the code to register the post type for you let me know and we can speak directly.

    Thread Starter RedfishTheCat

    (@redfishthecat)

    Hi mattyrob,
    Thanks very much for your reply.

    I just not really understand about taxonomies.
    I was graphist, I understand nothing to php/msql or code.
    I come to wordpress since a month only, I read all things I can, but most of is to hard to understand for me.

    Is you can write the code, this will be wonderfull.
    Where will it be placed ? Will it be lost on plugin update ?
    If I can do anything at my level, tell it.

    I make a website for my climbing association… we have no funds (just enought to rent acces to our artificial wall climing).
    But this feature is necesserary to get organized for outdoor climbing.
    Before we haved “Affinitiz” (maybe you know), all in one & turnkey solution private blog with many tools (used mainly for event>notify all)… but it close, after 12 years, the 30th april.
    So if need to donate, we do it (and I do it too), with pleasure.

    And, for all people I see on forum who try to make subscrib2 work with events manager, I can find them and ask if some want to join in.

    Thats is the minimum for your work… I don’t feel I can learn php/mysql (even if it would please me ^^) in a so few short time (with new baby at home, not have time now).

    With regards,
    Redfish

    PS: Sorry again for my terrific english level… I’m french (and french are know to be bad languages learners).
    ??

    @redfish,

    Your English is better than my French mon ami!

    I can write the code for you for this so that you won’t lose it on upgrade. But before we get that far have a read of this thread:

    https://www.ads-software.com/support/topic/plugin-subscribe2-subscribe-from-events?replies=20

    In particular this post in the thread:

    https://www.ads-software.com/support/topic/plugin-subscribe2-subscribe-from-events?replies=20#post-3280981

    And you should fine all the code you need (for free) to make this work ??

    Thread Starter RedfishTheCat

    (@redfishthecat)

    Already have read this topics… many time even.
    My english is not enough good I seem to understand all, but it seem this work (as designed for) with all in one calendar (and even, not work fine if I good understand).
    I have tried to look in the Events Calendar if I can find the arguments it use (as ai1ec_event for exemple), but not able.
    I even tried to use All in one calendar instead Events Calendar, but it don’t work on last releases of wordpress…

    PS/ The mini plugin seem to not be available anymore (I suppose code is not enought, can’t work without this mini plugin).

    @redfish,

    You are quite right, I’ve pointed you to the wrong post in the thread. They this code:

    /**
    * Custom post type for Subscribe2
    */
    function custom_s2_post_types($types) {
    	$types[] = 'event';
    	return $types;
    }
    add_filter('s2_post_types', 'custom_s2_post_types');

    Thread Starter RedfishTheCat

    (@redfishthecat)

    This short code is enought ?
    Incredible and great !
    Ho can I have miss it ?!

    I test this as soon as possible and I tell you.
    Thank in advance…
    ??

    Thread Starter RedfishTheCat

    (@redfishthecat)

    I back…
    Hargl, don’t work.
    I received well notification mail for regulars posts, but not for events posts.

    Code well added in funtion.php.

    I see this in subscribe2 parameters:
    “Subscribe2 enverra des notifications par email pour les types d’articles personnalisés suivants: Event”
    So seem to be ok.

    But in category with square to check, I only see the regulars “post type”, not my 5 events “post type”.

    What can we do now ?

    With regards
    Redfish

    Thread Starter RedfishTheCat

    (@redfishthecat)

    Hi,

    The emails take 24h to come (cause Hostinger I suppose), but they come !
    So it’s work.

    Thank again, very much, for all mattyrob.
    I’m looking with my association to have something for you (just make a small myself).
    As on others topics (not closed) if some want give something (I’ll give the hack to them).
    ??

    @redfish,

    I thought you may have needed to register the custom taxonomy also but I cannot find anywhere in the code where it is registered; so it’s good news that it worked!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Support for event type post… what cost ?’ is closed to new replies.