Just pinging this back to the top to see if anyone else is having this problem and knows of a fix?
I remember Andy said he would fix this in a different post. Althrough I do not think this has been resolved in the latest skeleton theme yet.
@Simon… just came across the same problem (the bars also seem to have meaningless links in them)… did you get anywhere with a fix?
Roger, I haven’t looked at the skel member theme yet but perhaps it’s missing a :
$bp->is_directory = true; declaration.
That goes right before you do:
wp_enqueue_script( )
bp_core_load_template( );
Which launches the directory template. Setting that var turns off the userbar and the options bar.
Also, I’m not too sure that the skeleton theme has been kept up to date with the recent changes–at least changes up to v1.0.1. Andy would know.
@burt: not sure where to look for those function calls, but the bp_is_directory() function is returning true. Is that fed off the same declaration?
@Jeff: cheers… any pointers on other pitfalls to look out for with the skeleton theme would be appreciated. I’ve picked up on quite a few html / css markup issues. My theme (based on skeleton) is for a commercial client, so I’d like to make sure it will stand up to core upgrades.
Ok, I have the solution:
header.php in the skeleton template directly calls:
<?php load_template ( TEMPLATEPATH . ‘/optionsbar.php’ ); ?>
This bypasses any checking to see if it is a directory.
Instead, replace this line with:
<?php bp_get_optionsbar(); ?>
and everything works fine.
The same applies to the userbar.
Ha! Well that isn’t terribly optimal is it? Since the skel theme is distributed with bp I guess the best place to have this issue brought up is in trac. You found it and the solution. You get the credit and honor of reporting it with a patch.
https://trac.buddypress.org/newticket
Same credentials as here if you’ve never been there before.
@Burt: thanks, have registered it in trac
Are there guidelines on what should be reported to the trac, and what belongs on the forums?
@Rogercoathup
Not really. The standard operating procedure on the forums is that when a given issue is finally determined to be a bug, and that bug has been isolated, that it then gets posted in trac.
But, if you think that you’ve found a bug, you can go right into trac and file a new ticket. If it is big enough of an issue, creating a thread in the forums and pointing to your new trac ticket may be in order.