WordPress.org

Ready to get started?Download WordPress

Forums

The Events Calendar
[resolved] Plugin 2.0.9 does not display comments on events. (21 posts)

  1. fwchapman
    Member
    Posted 1 year ago #

    I'm using Version 2.0.9 of the plugin on two different websites. The plugin doesn't display comments on events on either website after the comments are approved. Approved comments on ordinary blog posts do display correctly, however. This appears to be a plugin issue, not an issue with comments in general or a quirk of a particular website.

    Thanks for anything you can do to resolve this problem. Please let me know if you need any additional information.

    Best wishes,

    Fred Chapman

    http://wordpress.org/extend/plugins/the-events-calendar/

  2. roblagatta
    Modern Tribe Support
    Plugin Author

    Posted 1 year ago #

    Hi there Fred. Thanks for the note here; I'm wondering if this is specific to either the theme or template being used? I just booted up Events 2.0.9 on the Twenty Twelve theme and my comments are showing on the frontend without issue.

    If you haven't already, you should make sure that comments are enabled both for WP and for Events. If they are, try switching to a different template under Events -> Settings -> Template. If none of the options on the dropdown there have any impact...can you try reverting to Twenty Eleven (or Twenty Twelve, if you've installed it yet) so we can see if this is theme-specific?

    Thanks in advance!

  3. fwchapman
    Member
    Posted 1 year ago #

    Hi Rob,

    Thanks for all your suggestions! I finally had a chance to try some of them. I determined that the problem is due to a combination of two factors:

    Factor #1: Plugin-Specific. In Events > Settings > Template, I was using the Default Events Template. Apparently, I need to use the Default Page Template. (The Blog template also works.)

    Factor #2: Theme-Specific. I'm using the Genesis framework from StudioPress with the Lifestyle and Metric child themes. In Genesis > Theme Settings, I had unchecked "Enable Comments on pages." Apparently, this setting needs to be enabled for approved comments to display properly on events. Note that the comment form displays properly on events even when this setting is disabled; in that case, events can receive comments but cannot display them after they've been approved.

    Problem: The Default Events Template is much better for my purposes than the Default Page Template. The Default Events Template uses a full-width layout with no sidebars, which is exactly how I want to display the calendar and event list views. The Default Page Template for both sites has a two-column layout with a single sidebar. I do not want to display a sidebar on the calendar and event list views.

    Workaround (not acceptable): I could change the default page layout for the entire site to be full width with no sidebars, but... I would then have to manually change the layout for every page and post throughout the site, both now and in the future. That's just not acceptable.

    Requests: Can you fix the Default Events Template so that it displays comments in the same way as the Default Page Template? Can you also fix it so that any event which receives comments can also display comments once they've been approved?

    Thank you,

    Fred

  4. roblagatta
    Modern Tribe Support
    Plugin Author

    Posted 1 year ago #

    I think we should be able to modify based on this, yes. Jonah from our team here is the resident Genesis specialist (he even wrote our tutorial on integrating with it: ), and he'd probably be best suited to respond here. Let me see if he can point you in the right direction when he's back on Monday.

    Stay tuned and thanks for your patience so far.

  5. jonahcoyote
    Member
    Posted 1 year ago #

    Hi Fred,

    Using the base Genesis framework, I'm seeing comments on events in the Default Events Template after I've checked the "Enable commenting on an event." option and enabled comments for the specific event. Have you made sure that your specific event(s) have comments allowed? Please check that first... If you do, I'll need to take a look at your specific theme. Can you email me a copy for evaluation to pro [at] tri [dot] be referencing this thread and attn. to me?

    Thanks,
    Jonah

  6. fwchapman
    Member
    Posted 1 year ago #

    Hi Jonah,

    My last message was based on the Metric child theme for the Genesis framework, but I just confirmed that the same combination of factors apply to the Lifestyle child theme as well. In both cases, I was careful to ensure that comments were enabled in three places: the Genesis theme settings, the plugin settings, and the settings for the specific event.

    Fred

  7. jonahcoyote
    Member
    Posted 1 year ago #

    Ok Fred, then I'll need a copy of one of the two themes to test things out. Can you please email these to me with the instructions above?

    Thanks,
    Jonah

  8. fwchapman
    Member
    Posted 1 year ago #

    Hi Jonah,

    I just did a third test using the free Sample Child Theme for the Genesis framework, and the results were exactly the same as for the Metric and Lifestyle themes. In all three cases, after I enabled comments in the theme settings, plugin settings, and individual event settings, approved comments were displayed only when using the Default Page Template, not the Default Events Template.

    You can download the Sample Child Theme here:

    http://www.studiopress.com/free-themes/sample

    Can you reproduce my problem using the Sample Child Theme? I'm using WordPress 3.4.2, Genesis 1.8.2, and Sample Child Theme 1.8.

    Thanks,

    Fred

  9. fwchapman
    Member
    Posted 1 year ago #

    P.S. I'm using The Events Calendar 2.0.9 on both sites and Eventbrite Tickets 1.0.3 on the site with the Metric theme.

  10. jonahcoyote
    Member
    Posted 1 year ago #

    Hi Fred,

    It does work for me using the Sample Child Theme. Make sure your events also don't have comments closed on articles older than x days, i.e. either change this Discussion setting or look at events in the future.

    If that still doesn't work, try deactivating all other plugins to see if there's a conflict or reverting to the Twenty Eleven theme to see if it's something with your theme.

    I hope that helps!
    - Jonah

  11. fwchapman
    Member
    Posted 1 year ago #

    Hi Jonah,

    I just finished another round of tests. Rest assured that my Discussion setting was already as you indicated.

    I disabled all other plugins, but still had the same problem within Genesis. When I switched to the Twenty Eleven theme, the problem went away and the Default Events Template worked fine.

    The problem does appear to be specific to the Genesis framework, but not to any particular Genesis child theme. What could Genesis be doing to alter the way your Default Events Template behaves? Is Genesis filtering a function that your template calls? Also, what's different about that template vs. the Default Page Template?

    If you can delve into the code to determine the fundamental difference between the template that works for me and the template that doesn't work for me, you may be able to resolve the problem even if you can't replicate it at your end. I'd be happy to test any proposed solutions you develop.

    Thanks very much,

    Fred

  12. roblagatta
    Modern Tribe Support
    Plugin Author

    Posted 1 year ago #

    Hey Fred. Just wanted to confirm now that I'm doing a forum pass that we did see your note here; Jonah should be able to take another look on this end tomorrow at some point. Thanks - as always - for your support and patience so far.

  13. jonahcoyote
    Member
    Posted 1 year ago #

    Hi Fred,

    Like I said before, comments are showing for me in the base Genesis theme and the Sample Child Theme. Do you have overrides of any of the template files in your child theme in an 'events' folder? What about anything customized for Genesis in your functions.php file? Can you send me the theme so I can test out your specific setup and take a look at what you've got?

    You can email to pro [at] tri [dot] be, please reference this thread and attn. to me.

    Thanks,
    Jonah

  14. fwchapman
    Member
    Posted 1 year ago #

    Hi Johan,

    I have a plain vanilla installation of The Events Calendar. I did not do any customization via template overrides. The only customization I did was via CSS, and I disabled that for purposes of the test when I disabled all other plugins.

    On the site with the Metric theme (where I've done most of the testing), I made no changes at all to the functions.php file. On the site with the Lifestyle theme, the only changes I made to functions.php pertained to the size of the header image and the choice of default header images. Other than that, I am using a plain vanilla installation of Genesis on both sites.

    I cannot send you a copy of a premium child theme. My license from StudioPress does not allow that. That's why I tested everything with the free Sample Child Theme for Genesis. The behavior is exactly the same there as it is for the Metric and Lifestyle child themes.

    As I said, you do not necessarily need to replicate the problem in order to solve it. The biggest clue to the cause of the problem is that the Default Events Template does not work with my Genesis installation, whereas the Default Page Template does work. If you examine and compare how those two templates process event comments, I think you'll find the answer to this mystery! Clearly, Genesis is modifying the behavior of the Default Events Template in some way, perhaps by filtering or redefining a function that your template calls.

    Would you like me to send you a copy of the MySQL database so that you can check whether I have any unusual WordPress settings?

    Fred

  15. jonahcoyote
    Member
    Posted 1 year ago #

    Hi Fred,

    I just don't know what else could be causing it because I essentially have the same setup as you (aside from settings). I see comments with the Default Events Template so that doesn't seem to be the issue to me. You're running the latest version of Genesis correct?

    - Jonah

  16. fwchapman
    Member
    Posted 1 year ago #

    Jonah, yes, I'm using the latest version of Genesis. My theory is that my installation of Genesis is modifying the behavior of the Default Events Template. Why my installation does this and yours doesn't is a mystery! Could it have something to do with my WordPress settings? -Fred

  17. jonahcoyote
    Member
    Posted 1 year ago #

    The WordPress settings are the only thing that would make sense to me because comments show for me using the base Genesis framework, the sample child theme and using either the Default Events Template or the Default Page Template.

    If you want to shoot me a quick database dump I could compare with my setup. It'd be great if you could use WP Migrate DB (http://wordpress.org/extend/plugins/wp-migrate-db/) because you can set the path for the migration to match my system and it will update all serialized strings correctly.

    For the New address (URL) use:
    http://ecp-support.dev

    For the New file path use:
    /Users/jonahwest/Sites/shane-and-peter-work/ecp/www

    Thanks,
    Jonah

  18. roblagatta
    Modern Tribe Support
    Plugin Author

    Posted 1 year ago #

    Hey Fred, just wanted to follow-up here to double check if Jonah's last comment got you where you needed to be. Let me know. Thanks!

  19. roblagatta
    Modern Tribe Support
    Plugin Author

    Posted 1 year ago #

    Going to assume you got this sorted, Fred, and as a result I'm marking this RESOLVED. Please let me know if you disagree.

  20. fwchapman
    Member
    Posted 1 year ago #

    Jonah and Rob, thank you both for all your helpful responses. I'm writing to update you on the status of my issue.

    I spent a lot of time investigating this issue, but I was absorbing the full cost of all the time I spent troubleshooting, and I finally had to put the issue on the back burner. As a full-time freelancer, I can only do so much free troubleshooting before I have to give priority attention to the needs of my paying clients. I'd be happy to troubleshoot issues like this ad infinitum if I had funding to cover my operating costs, but the realities of freelance life prevent me from underwriting those costs myself. Do you understand my dilemma?

    Fortunately, I have two paying clients who are using this plugin on their websites. Now that their sites are complete, I am encouraging them to purchase maintenance plans so that I can keep all their WordPress software up to date. When they purchase their plans, I'll reopen my investigation of this issue and retest everything using the latest versions of the plugin and themes.

    I'll be sure to let you know what I find! With any luck, it will all be auto-magically resolved by the new versions of the software. :)

    Thanks again,

    Fred

  21. jonahcoyote
    Member
    Posted 1 year ago #

    Hi Fred,

    I do understand your situation. If and when you are able to update your client's sites, please update us here with the status of this issue.

    Thanks,
    Jonah

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic