• Resolved esroyo

    (@esroyo)


    On a buddypress profile, when visiting “My events” section, all works fine. But on editing a new or existing events, html breaks, as if the event form where closing all the existing divs. Sidebar is moved out of the wrappers, an so one.

    Since showing the lists of events, locations, and any other buddypress plugin works fine, I assume this must be related with the form generation and printing. I’m using Mesocolum theme.

    Is anyone experiencing problems with the event edition inside buddypress?

    Thank you very much.
    Regards.

    https://www.ads-software.com/plugins/events-manager/

Viewing 15 replies - 1 through 15 (of 19 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    just to narrow down the problem can you try to temporarily:

    – switching to the default theme to rule out any theme-specific problems

    Thread Starter esroyo

    (@esroyo)

    I switched to Twenty Twelve and took a couple of screenshots.

    First one is a usual buddypress screen, on which “primary” and “secondary” divs are inside the main wrapper:
    https://www.dropbox.com/s/pwneaytc293z4a5/buddy_normal.png

    Second one is the buddy press screen shown when editing/adding a new event:
    https://www.dropbox.com/s/v9ejc09gtq24a2t/buddy_edit_event.png

    As you can see, the edit event form seems to close more divs than should, causing to drop out of the wrapper the “secondary” div.

    Thanks for your help.

    Plugin Support angelo_nwl

    (@angelo_nwl)

    sorry, can you try also on default buddypress theme?

    thanks

    Thread Starter esroyo

    (@esroyo)

    I was unaware of a buddypress default theme. I’ve read here its use has been deprecated… should I still try to activate that?

    Philip John

    (@philipjohn)

    You can simply activate the WordPress default theme, that will achieve the same goal.

    Thanks

    Thread Starter esroyo

    (@esroyo)

    That’s what I though I was doing by activating “Twenty Twelve”.

    I have disabled all plugins other than buddypress, bbpress and events-manager, and the problem continues to show as in the screenshots.

    Definitively It seems to me as a problem in the printing of the form.

    Thanks.

    caimin_nwl

    (@caimin_nwl)

    Can you share a link to your site?

    Thread Starter esroyo

    (@esroyo)

    Of course, a link to a buddypress group. Login as a subscriber with user “anonim” and pass “test”.

    Plugin Support angelo_nwl

    (@angelo_nwl)

    you can fixed that by overriding the form css and/or editing template file at events-manager/templates/forms/events-editor.php

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

    Thread Starter esroyo

    (@esroyo)

    Thanks angelo_nwl, I was aware that I could modify the templates. However I thought of reporting as the issue appeared with default events-manager plugin (no modifications), furthermore It doesn’t seem to be theme related.

    caimin_nwl

    (@caimin_nwl)

    Not 100% certain, but I’m pretty sure there is a BuddyPress bug relating to this.

    That said, it might be worth upgrading Events Manager to the Dev version (Events > Settings > General Settings > Admin Tools).

    Thread Starter esroyo

    (@esroyo)

    If it were BP related, then we could assume it should reproduce with other BP plugins. But it doesn’t seem to be the case.

    Also tried EM dev version with same results.

    I’ll try to modify the templates.

    Thanks.

    Thread Starter esroyo

    (@esroyo)

    I found the bug. Here is the diff:

    --- em-template-tags.php.old	2014-03-05 19:26:00.083416988 +0100
    +++ em-template-tags.php	2014-03-05 19:26:33.506569252 +0100
    @@ -274,8 +274,8 @@
     				'offset' => $offset,
     				'show_add_new' => true
     			));
    +    		if( get_option('dbem_css_editors') ) echo '</div>';
     		}
    -		if( get_option('dbem_css_editors') ) echo '</div>';
     	}elseif( !is_user_logged_in() && get_option('dbem_events_anonymous_submissions') ){
     		em_event_form($args);
     	}else{
    @@ -386,8 +386,8 @@
     				'offset' => $offset,
     				'show_add_new' => true
     			));
    +    		if( get_option('dbem_css_editors') ) echo '</div>';
     		}
    -		if( get_option('dbem_css_editors') ) echo '</div>';
     	}else{
     		if( get_option('dbem_css_editors') ) echo '<div class="css-locations-admin">';
     		echo '<div class="css-locations-admin-login">'. __("You must log in to view and manage your locations.",'dbem') .'</div>';

    Can anyone here report/change upstream?

    Thanks!

    Thread Starter esroyo

    (@esroyo)

    Please, is any developer around here? I don’t know any way to get to them and I want to make sure this little bug gets patched upstream.

    Should I create a ticket here in the Plugin’s Trac at www.ads-software.com?

    Thanks.

    Thanks – I’ll make sure Marcus sees this thread.

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Event editor form breaks on buddypress’ is closed to new replies.