Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] members index-directory.php

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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.

    Edit:

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


    Matzze
    Participant

    @matzze

    Ah, thank you, yes this works for me!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] members index-directory.php’ is closed to new replies.
Skip to toolbar