• Resolved deegan

    (@deegan)


    I used the formats section to customize my lists. Everything works fine on the Event page but if i go to the my events tab on buddypress profile section, the list is shown differently… I’ve checked my formats part, everything is fine… I’ve also checked the code of the profile.php of the Events-manager templates (section buddypress) and the function calls the right part of the formats to show the list:

    if( count($events) > 0 ){
    
    		$args = array(
    
    			'format_header' => get_option('dbem_bp_events_list_format_header'),
    
    			'format' => get_option('dbem_bp_events_list_format'),
    
    			'format_footer' => get_option('dbem_bp_events_list_format_footer'),
    
    			'owner' => $bp->displayed_user->id
    
    		);

    So can somebody help me to get through this part of customization?

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • can you try https://domain.com/wp-admin/options.php then search ‘dbem_bp_events_list_format_header’ ?

    Thread Starter deegan

    (@deegan)

    I checked this fonction, but it’s not present in the wp-admin/option.php…

    hmmm; it was present on my test site; can I know your EM version? or you can add it using phpmyadmin

    here’s the content on my test site;

    dbem_bp_events_list_format_header
    => <ul class="em-events-list">
    
    dbem_bp_events_list_format
    => <li>#_EVENTLINK - #_EVENTDATES - #_EVENTTIMES<ul><li>#_LOCATIONLINK - #_LOCATIONADDRESS, #_LOCATIONTOWN</li></ul></li>
    
    dbem_bp_events_list_format_footer
    =></ul>
    Thread Starter deegan

    (@deegan)

    This is present but not in the options.php … it’ in the em-install.php

    Thread Starter deegan

    (@deegan)

    the version i use: Version 5.3.6.1

    Thread Starter deegan

    (@deegan)

    So i’ve checket the database and i’ve discovered that the option included was the not the same so owing to phpmyadmin i’ve changed the value of “dbem_bp_events_list_format_header” to what i needed now everything is fine… Thanks a lot for your help !!!

    Hey Deegan, I’m running into the same issue. Can you elaborate how you solved this? Thanks in advance.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Events-list Format isn't used for the My Events list on buddypress’ is closed to new replies.