Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] members index-directory.php

Viewing 3 replies - 1 through 3 (of 3 total)
  • Avatar of Hugo
    Hugo
    Moderator

    @hnla

    Confirmed!

    Minor bug or typo in the implementation of the hierarchy with directory incorrectly pointing to /single/
    If your comfortable editing files you could edit core file bp-members-screens.php and change the highlighted line at approx 333:

    	public function directory_template_hierarchy( $templates ) {
    		// Setup our templates based on priority
    		$new_templates = apply_filters( 'bp_template_hierarchy_members_directory', array(
    			'members/single/index-directory.php'
    		) );

    You’re looking at the path ‘members/index-directory.php’ and need to remove the ‘single/’ from that path.

    Only do this having made a backup copy of the file to revert to and it’s a short term fix that will be overwritten when correction comitted to core – I’ll raise a ticket for it.

    Avatar of Hugo
    Hugo
    Moderator

    @hnla

    Edit:

    Sigh it’s been fixed in trunk already, so it will be included in next point release of BP.

    Avatar of Matzze
    Matzze
    Participant

    @matzze

    Ah, thank you, yes this works for me!

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.