Forums

Events Manager
[closed] Please help! RSS Feeds no longer working since update... (16 posts)

  1. Annieoohs
    Member
    Posted 9 months ago #

    This is urgent! Please help. The below feeds were going out to 2000+ people in a mailchimp campaign on a weekly basis and working fine until I upgraded 'Events Manager' as it no longer worked with the new version of WordPress on the following site - below are the feeds, as you can see they now show all the events and are no longer differentiated by location or in date order (in this case - the 'state' i.e county in Thailand) as before: -

    http://www.expatnewsletter.net/events/feed/?loc=Chiang+Mai
    http://www.expatnewsletter.net/events/feed/?loc=Pattaya
    http://www.expatnewsletter.net/events/feed/?loc=Hua+Hin
    http://www.expatnewsletter.net/events/feed/?loc=Chiang+Rai
    http://www.expatnewsletter.net/events/feed/?loc=Bangkok

    I am completely stumped as to how to fix this and why is broke?

    http://wordpress.org/extend/plugins/events-manager/

  2. agelonwl
    Member
    Posted 9 months ago #

    can I know from what version are you from before upgrading? also, please see this old post http://wordpress.org/support/topic/plugin-events-manager-rss-feed-for-events-by-region?replies=9

  3. Annieoohs
    Member
    Posted 9 months ago #

    Hi there, I already tried the steps suggested in that thread but it is almost a year old now and did not help me. We previously were using version 5.1.3

    I really hope you can help!

  4. Annieoohs
    Member
    Posted 9 months ago #

    Hi there,

    Do you have any more ideas? We would be willing to pay to fix this issue.

    Thanks

  5. agelonwl
    Member
    Posted 9 months ago #

    have you tried to modify template file at templates/rss.php
    e.g.
    add
    , 'town'=>$_REQUEST['loc']
    after
    'owner'=>false at around line 22 then to use

    http://yourdomain.com/events-4/rss/?loc=San Diego where events-4 is the events page you set.

    to use templates - http://wp-events-plugin.com/documentation/using-template-files/

  6. Annieoohs
    Member
    Posted 9 months ago #

    Not as yet - I will try now - thank you - can I use 'state' in place of town? I will try and get back to you :-)

  7. Annieoohs
    Member
    Posted 9 months ago #

    I have modified the file - the code now looks like this:

    $description_format = str_replace ( ">", ">", str_replace ( "<", "<", get_option ( 'dbem_rss_description_format' ) ) );
    //$EM_Events = new EM_Events( array('limit'=>5, 'owner'=>false) ); , 'town'=>$_REQUEST['loc']
    $EM_Events = EM_Events::get( array('scope'=>'future', 'owner'=>false) );

    I have also tried with , 'state'=>$_REQUEST['loc']

    and used the following http://www.expatnewsletter.net/events/rss/?loc=Bangkok

    But it still does not work. Any other ideas?

  8. Annieoohs
    Member
    Posted 9 months ago #

    Should this file be in my theme folder?

  9. Annieoohs
    Member
    Posted 9 months ago #

    I have tried it in my theme folder but still no differentiation by location with both town and state.

    The only thing I do notice is it is now in date order...

    Can you refer me to a programmer who can fix this issue for us?

  10. agelonwl
    Member
    Posted 9 months ago #

    copy this whole snippet http://pastebin.com/7dGyTJ8D instead.

  11. Annieoohs
    Member
    Posted 9 months ago #

    I just pasted that whole thing into my theme/plugins/events-manager/templates/rss.php file and when I tried the following rss url http://www.expatnewsletter.net/events/rss/?loc=Bangkok it didn't take me to google reader as usual - a download window came up and said "You have chosen to Open a Text Document'

    I'm guessing something went wrong! Any idea? Should I paste it into rss.php in the plugin?

  12. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 9 months ago #

    i'd check your server error logs, looks to me like a server/php error so that might give you a clue.

  13. Annieoohs
    Member
    Posted 9 months ago #

    I'm afraid I just don't have a clue what to do here? How would I check server error logs and to what purpose?

  14. Annieoohs
    Member
    Posted 9 months ago #

    I pasted it in again from RAW data copy area and no the error message is gone but the feed is out of date order and not in location order either....

  15. Annieoohs
    Member
    Posted 9 months ago #

    The feeds are due to go out again on Monday and I'm no closer to a solution. Again - can you refer me to a programmer who we can pay to fix this issue for us?

    [ Please do not bump, that's not permitted here. ]

  16. Please consider posting this to http://jobs.wordpress.net/ instead.

    Per forum rules, I am now closing this post.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic