Viewing 42 posts - 1 through 42 (of 42 total)
  • Author
    Posts
  • #43744
    Anonymous
    Inactive

    Reposted as requested from WP forums. Please help!

    Hi. I’ve finally installed “EME” but something’s wrong. Nothing in the body of the event actually appears when viewing it. ONLY the event title appears, followed by the normal comments and/or Addthis toolbar. I’ve tried disabling AddThis and other plugins, but nothing changed.

    So no body text, no event location, no seat booking. Nothing appears in the body of the event.

    Am I doing something wrong? I’m using a 3 column theme with widgets. The “events” page was created automatically during EME installation. (I later renamed it but that didn’t seem to help.) I have another calendar program installed (The Event Calendar 1.x) but deactivating it doesn’t seem to help….

    I would appreciate any advice you can give.

    I don’t see any identical complaints in the forum here at e-dynamics either.

    I tried changing to the default 2011 theme. Then the TEXT part of the event body showed up. But the registration/booking/location details were still nowhere to be found.

    🙁

    Advice please?

    Franky wrote:

    I approved (I think) your account on the official forum. But to help you along: when posting there, also post the EME format settings you use for a single event.

    I’ve using these defaults as per the settings:

    Single Event Page Title Format:   #_EVENTNAME
    Default Single Event Format: <p>#j #M #Y - #H:#i</p><p>#_TOWN</p><p>#_NOTES</p>

    But even when I tried adding the various fields to the default, it doesn’t seem to do anything. Are we expected to add the format fields manually like this, or should it have been generated when I selected the event settings?

    Here’s what I tried:

    `

    <p>#j #M #Y – #H:#i</p><p>#_TOWN</p><p>#_NOTES</p>

    <p>Map:

    #_MAP</p><p>

    Contact:

    #_CONTACTNAME

    </p><p>

    E-Mail:

    #_CONTACTEMAIL

    </p><p>

    Phone:

    #_CONTACTPHONE

    </p><p>

    Booking:

    #_ADDBOOKINGFORM

    </p><p>

    Remove Booking: #_REMOVEBOOKINGFORM

    </p><p>

    Directions: #_DIRECTIONS

    </p><p>

    Categories: #_CATEGORIES

    </p><p>

    Attendees: #_ATTENDEES

    </p>

    If I change the Single Event Page Title Format the changes work, but nothing I do with the body seems to?

    Again, all I’m getting is the title, followed by AddThis toolbar and comments. If I put text in the EventsMadeEasy page, that shows up too. Tried turning off comments on the page; no improvement.

    #49445
    Anonymous
    Inactive

    Okay, now I’m getting somewhere. Including all the above new format code in the settings, AND turning on the 2011 Theme results in visible EME fields on the event page display.

    So it’s a theme conflict after all. What can I tweak in my theme? I tried the various templates for the page (including full width) but no help. Tried some brute force copypasta with “content” related code from the 2011 templates, but no go.

    #49446
    Franky
    Keymaster

    Is your theme calling wp_head() as it should? If it works with 2011 but not your theme, you need to check if the theme is supported for WP 3.3 first …

    #49447
    Anonymous
    Inactive

    If you mean in the header.php, yes, it’s in there. According to the 2011 theme comments, it needs to be before the /head keyword.

    I’m only on WP 3.2.1.

    I tried adding an extra call to wp_head() in the header.php, right before the /head, but no help. Tried removing all code after the /head; no change. Tried using both the header.php and page.php from 2011 theme; no good.

    Fooey; it seems my theme provider was acquired (WPZoom bought out Proud Themes). I suppose I can try upgrading the theme, if I HAVE to. Any other ideas?

    Below is the beginning of my header.php:

    <?php
    global $options;
    foreach ($options as $value) {
    if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); }
    }
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>

    <head profile="http://gmpg.org/xfn/11">
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

    <title><?php wp_title(''); ?><?php if(wp_title('', false)) { echo ' | '; } ?><?php bloginfo('name'); if(is_home()) { echo ' | '; bloginfo('description'); } ?></title>
    <?php if (is_single() || is_page() ) : if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
    <meta name="description" content="<?php the_excerpt_rss(); ?>" />
    <?php csv_tags(); ?>
    <?php endwhile; endif; elseif(is_home()) : ?>
    <meta name="description" content="<?php bloginfo('description'); ?>" />
    <?php endif; ?>
    <link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_directory'); ?>/style.css" />
    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url');?>" />
    <link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom Feed" href="<?php bloginfo('atom_url'); ?>" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
    <?php wp_enqueue_script('jquery'); ?>
    <?php wp_head(); ?>
    <script type='text/javascript'>
    jQuery(document).ready(function() {
    jQuery("#menuhead ul").css({display: "none"}); // Opera Fix
    jQuery("#menuhead li").hover(function(){
    jQuery(this).find('ul:first').css({visibility: "visible",display: "none"}).show(268);
    },function(){
    jQuery(this).find('ul:first').css({visibility: "hidden"});
    });
    });
    </script>

    <script src="<?php bloginfo('stylesheet_directory'); ?>/js/nivo.slider.pack.js" type="text/javascript"></script>
    <script src="<?php bloginfo('stylesheet_directory'); ?>/js/nivo.slider.js" type="text/javascript"></script>
    <link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_directory'); ?>/js/nivo.css" />

    </head>

    #49448
    Franky
    Keymaster

    I don’t do theme support, but in this case: weird that this line is in the header:

    <?php if (is_single() || is_page() ) : if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>

    It doesn’t belong there … and might mess up all of your html. Please contact your theme supplier for this.

    #49449
    Anonymous
    Inactive

    Thanks Franky. I tried taking out that whole if..endif section, but it didn’t improve my EME situation. I double checked and it’s in the original installer zip for the theme. I’m using a free theme so I’m not sure what support I will get; at the least I’ll probably have to upgrade it.

    I guess my only other alternatives are paying someone to tweak this for me (a not-for-profit with no money) or taking the time to learn PHP and WP theming and figuring this out myself… Darn.

    I’ve now tried clearing or swapping out the header, page.php, footer.php, AND the CSS file, and I still can’t get EME to appear properly.

    Edit: Figured out how to rename the latest version of the theme and install it without conflict; EME behavior STILL unchanged. 🙁

    Anyway, thanks for your time and for sharing EME. I still hope to get it to work.

    #49450
    Franky
    Keymaster

    Which free theme are you using? If it’s on the net, I can try it locally.

    #49451
    Anonymous
    Inactive

    It’s Academica. Version I was using was from Proud Themes. The new version is from WPZoom. Only minor changes really.

    Here’s something new. I find that if I explicitly enter [display_single_event id=xx] on the events PAGE in WordPress, I can get that event to display properly, even in my 3 column layout in this theme!

    But I don’t see a way to really take advantage of that, to have the page pick up the ID it’s supposed to for that event, without hard coding just a single event ID…

    Am I just making a basic mistake — is there supposed to be some EME code on the Events page? Up until now it’s been mostly blank for me; I thought EME was supposed to lay down everything over the blank WP page? (Of course this wasn’t necessary with the 2011 theme though.)

    For right now, this hardcoded shortcode kludge is enough for me to work with, for our first EME event. But obviously it’s no long term solution!

    #49452
    Franky
    Keymaster

    Check your EME setting concerning “Events page”. It should point to a real existing page (that’s best not shown in your menu)

    #49453
    Anonymous
    Inactive

    Yup; as I mentioned an “Events” page got created during EME installation. I later renamed it to “EventsMadeEasy”. (I wanted to avoid any possible conflict with The Events Calendar.) The EME settings still point to that. It’s that EventsMadeEasy page that I’ve added the above shortcode to.

    What’s weird is that according to the EME settings screen, “The content of this page (including shortcodes of any kind) will be ignored completely and dynamically replaced by events data”. Obviously that’s not what’s going on for me!

    #49454
    Franky
    Keymaster

    Which means you might have 2 pages with the same title or so. Since EME can only work if indeed the events page content is replaced by event data.

    Try creating a new page and change the EME settings to point to that page, then see what happens.

    #49455
    Anonymous
    Inactive

    Okay. It goes back to the original behavior — only the event title appears, and the body is blank again. (I created a new empty page called EMETest, and pointed to it via the pulldown “Events page” in the EME settings as you suggested.)

    More minor issue: using the #_ATTENDEES code in the single event settings, the users are listed with “username(#_USER_RESERVEDSPACES)” — where that #_USER_RESERVEDSPACES appears just like that, without a numeric space count.

    #49456
    Anonymous
    Inactive

    Oh, for the record, I’m reaching the event page through your Calendar widget for most of this testing.

    Also, there seems to be some caching going on server-side in some way. After switching back from the EMETest page to the EventsMadeEasy page, the events continued to show “EMETest” in their title until I actually renamed the EMETest page. Only then did they start picking up their accurate event title again, via the shortcode on the EventsMadeEasy page to which they were already supposed to be repointed. Odd.

    #49457
    Anonymous
    Inactive

    Noticed another potential conflict. The Event Calendar plugin uses a CATEGORY called “events”, which of course uses the /events URL. So I tried changing the EME Events Permalink Prefix from “events” to “eme-events”, along with changing locations to eme-locations.

    I had to deactivate/reactive EME, but it STILL doesn’t show event bodies unless I hard code the specific eventid shortcode on the Page.

    Besides, the other calendar plugin wasn’t even an issue using the Twenty-Eleven theme; then EME just worked.

    Other minor issue: the buttons and fields for booking on the event page are all borderless and shadeless, so it’s hard to know where they are. A CSS issue I’m sure.

    Sorry for bombarding you with stuff; I’m sure you’re busy enough.

    #49458
    Franky
    Keymaster

    CSS is in your theme and can be changed there. For the #_USER_RESERVEDSPACES issue: which EME version are you using? For caching: look at your plugins, some might interfere.

    In general: disable all other plugins and see if EME then works ok. Then re-enable one by one until you find the conflicting plugin.

    #49459
    Anonymous
    Inactive

    Thanks, Franky. The big issue is still of course the fact that I’m not getting event details on the event page unless I hard code the single event ID shortcode on the event page itself.

    Re: USER_RESERVEDSPACES, I have EME 1.0.1, which I installed a few days ago via the regular automated WP plugin process. The Plugins page is now telling me that 1.0.2 is available…

    #49460
    Franky
    Keymaster

    As said: disable all other plugins and see if EME then works ok. Then re-enable one by one until you find the conflicting plugin.

    If that doesn’t work: try disabling permalinks (if active) and see what happens then. You have something very weird going on here …

    And indeed 1.0.2 is out, I don’t remember if it fixes the USER_RESERVEDSPACES issue though, but do update.

    #49461
    Anonymous
    Inactive

    Toggling permalinks won’t break anything, right? I think I’ll try that first, because of the /events URL issue I mentioned. (Although now my EME events are using /eme-events instead.)

    You do mention USER_RESERVEDSPACES in the release notes! So it’s certainly worth me trying the upgrade.

    #49462
    Anonymous
    Inactive

    Nope, setting permalinks to default (numeric) didn’t change the behavior. I’m putting them back to Day and Name. My site really doesn’t want to let EME overlay the page the way it’s supposed to. It’s pulling up the right page, but not overlaying properly unless I insert a specific shortcode.

    #49463
    Franky
    Keymaster

    Did you try disabling other plugings? If your theme is the issue, try another 3-column theme first …

    #49464
    Anonymous
    Inactive

    I tried deactivating every plugin and reactivating EME. No difference!

    I will update this after trying another 3-column theme.

    Edit: Tried a couple, and they mostly work (booking fields don’t appear very well, but at least some of it is there). So yeah, there’s something specific about this Academica theme and/or framework (that we’ve naturally put a lot of time into tweaking for our purposes). Sigh.

    Is there something in a theme that would limit the kind of overlay EME does? (I’ve already tried replacing or disabling just about all the theme’s php and CSS. Just tried emptying widgets.php too; no change. Trying to selectively omit sections of functions.php; no improvement. I don’t see anything else in the theme!)

    #49465
    Franky
    Keymaster

    My guess is the theme is doing something weird for displaying a page … when I find the time next week, I’ll try the theme as well.

    #49466
    Anonymous
    Inactive

    Great, please let me know if you get a chance to look at it this week. I’ve purposely wiped the EME data during a plugin upgrade to your latest version, and started mostly fresh, but the blank event body has not improved for me.

    Thanks in advance.

    #49467
    Franky
    Keymaster
    #49468
    Anonymous
    Inactive

    Bingo! That made all the difference. Thank you so much! (I also had to reapply the PayPal fix.)

    However, perhaps in keeping with what you feared, it has also messed up my other columns — the widgets there listing “recent posts” and posts by WP categories now shows the summaries for THIS TEST EVENT for EVERY listing, repeated over and over in the various widget sections, for every recent post and category post.

    Thankfully I think this affects only the Events page display, so I can go to a single column view for that if I have to.

    UPDATE: I see you’ve already changed your post, from pointing at a previous discussion to an actual bugfix? I wrote the above based on commenting out the relevant $eme_event_parsed=1 line. Does that accomplish the same thing?

    #49469
    Franky
    Keymaster

    It should work better 🙂 Please do try the bugfix.

    And … what is the paypal fix?

    #49470
    Anonymous
    Inactive

    (The require_once thing that you helped me with already.)

    #49471
    Franky
    Keymaster

    I see, that has been added to the code. Please do give feedback about the bugfix if you have the time.

    #49472
    Anonymous
    Inactive

    Okay, newb time here — I can’t find the right way to download only that new piece of the trunk. All the Trac links display the code in a numbered view I can’t copy/paste from, the Repository URL link just goes to the WP plugins page, and it doesn’t appear that http://plugins.svn.wordpress.org/events-made-easy/trunk/eme_events.php is using the newest code.

    Also, even on Trac it shows an age of 16 hours?

    #49473
    Franky
    Keymaster

    16 hours because I fixed it last night. And http://plugins.svn.wordpress.org/events-made-easy/trunk/eme_events.php is correct (search for e.g. “wp_current_filter” there).

    The trac can be downloaded as a unified diff and then applied by using the patch command on linux. But you can just copy over those lines, or for the easiest method: download the file http://plugins.svn.wordpress.org/events-made-easy/trunk/eme_events.php

    #49474
    Anonymous
    Inactive

    Okay, cool, thank you. The new eme_events.php code works and my event body displays, but my surrounding column sidebar widgets for recent post and category post summaries are still messed up as I described above (every “post” summary shows text for the currently shown event, again and again).

    I guess I will have to use a different template for my Events page. 🙁

    #49475
    Franky
    Keymaster

    that should not happen. I’ll try here as well, using the standard widgets for recent posts

    #49476
    Anonymous
    Inactive

    Thank you very much (though I wouldn’t be at all surprised if this were due to my Academica theme again)…

    Update: Yeah, it’s Proud’s Featured Post widget (that displays posts in a particular WP category) that’s getting broken here. The stock Recent Posts widget works okay.

    #49477
    Anonymous
    Inactive

    Please note that the post titles (and featured images too) ARE being pulled correctly into the sidebar widgets; it’s the content summaries that are getting pulled from the event instead.

    As best I can tell, from their widgets.php, the relevant content-pulling code might be:

    <h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
    <p><?php the_content_limit('160'); ?></p>

    So I’m guessing that while you’ve covered “the_content”, it’s “the_content_limit” that is still an issue.

    #49478
    Franky
    Keymaster

    hmmm … instead of using the_content in their function the_content_limit, it would be better to use the_excerpt(), that would not interfere with the_content() being used. Maybe you can ask them how to do that, or try it yourseld based on this:

    http://codex.wordpress.org/Function_Reference/the_excerpt

    #49479
    Anonymous
    Inactive

    Beautiful. I hacked the_excerpt in myself in widgets.php, including the tweaks for functions.php listed at the codex, and EME is now working properly in my 3 column layout!

    Thank you so much for all your effort helping me out.

    Now to figure out how I’m going to maintain these hacks going forward…

    What’s weird to me is that the widgets purportedly pull content from “posts” and yet EME really uses neither posts nor pages. Maybe it’s all really the same thing in WordPress…

    #49480
    Franky
    Keymaster

    in fact wordpress uses something they call “the loop” and if in the loop and using the_content(), all filters for the_content are executed. In fact the problem is that you can’t indicate when not wanting to execute the filters (like e.g. when in a widget)

    #49481
    Anonymous
    Inactive

    Hey thanks, that actually makes sense to me.

    🙂

    I’ve tweaked things a bit more, set up a dedicated Calendar page with shortcodes (because apparently I can’t do both a calendar grid and events list at the same time at /events) and have been exploring the other features. I am REALLY liking this project and recommending it my organization, thanks in large part to your great support.

    #49482
    Anonymous
    Inactive

    Hi Franky, thank you for activating my account here.

    The plugin is working fine on the default theme, but on my own theme the body is empty.

    Also i tried to deactivate every other plugin.

    Tried to rename the event page.

    This is the website : http://www.lebanesechessfederation.com

    #49483
    Franky
    Keymaster

    Then your theme is doing something fishy. What theme are you using? And again: please open a new thread for future issues, it is not very handy to re-open old threads.

    Never mind: I see that you’re using a commercial theme called Guesthouse, so you should turn to them for support on this matter, since I can’t support commercial themes.

    #49484
    Anonymous
    Inactive

    “Probably the plugin need some work on themes compatibility”, pretty sure this will be the response from my theme dev support.

    anw, if you had a chance to refile my case, i would be thankful.

    sry for re-opening old thread. just to avoid topic duplication.

    Best regards,

    Ludwig Arcache

    #49485
    Franky
    Keymaster

    I test the plugin using several different themes (some which had problems in the past) and they all seem to work fine, but I can’t test commercial plugins since I would need to pay for them. And since you pay them support already …

Viewing 42 posts - 1 through 42 (of 42 total)
  • The forum ‘Bug fixed or feature request implemented’ is closed to new topics and replies.
Scroll to Top