Search Results for 'buddypress'
-
Search Results
-
Basically, I am needing to find a way to include one header/footer combination for all buddypress pages across my site, while dispalying another header/footer combination on other WPMU pages not related to the social networking functionality of BP.
After getting some help from these forums, I thought I could just stick some if…elseif….else code in header.php that would do the following:
if (PAGE IS BUDDYPRESS RELATED) include header-buddypress.php;
elseif (PAGE IS ABOUT PAGE) include header-about.php;
else include header-home.phpI figured I could do the same with the footers. It seemed on the face of it that this should be fairly simple using conditional tags, but they aren’t functioning as I expected.
For example, this code in my header.php file
<?php if ( bp_is_user_profile() ) {
get_header(bpProfile); //include bpProfile header if page is a bp profile page
} elseif ( is_page('Why We're Here') ) {
get_header(about); //include about header if page is not a profile page
} else {
get_header(home); //include normal home header in all other cases
} ?>always produces the bpProfile header. If I echo bp_is_user_profile, it always comes back as “1,” no matter what page I’m on with WPMU, whether I’m logged in or not.
I am kind of befuddled at this point. Perhaps I’m going about this the wrong way, but I just figured this would be the best way to modify a child theme to my specifications by just having a few custom header/footer files that are included as needed each time a page calls get_header(); and get_footer();
Does anyone have any thoughts on this?
Topic: Scammers
One thing that I’m finding is that my site is being hit every day by Senegal scammers. Because the site is free they are hitting all my members. BuddyPress makes it very easy for them to copy/paste the same email to all the members. My question is, is there some plugin for BP that puts CAPTCHA on the emails? Or, is there something else that is out there? I’ve searched and can’t find anything. BP is making it very easy for scammers to hit the site and email just about everyone in my com.
Thanks
Topic: spam free wordpress
hello all
I understand that there is no way to stop spam our wpmu installations. capatcha or asking questions maybe stop bots but normal living spammers will go on. here is my suggestion to solve this issue.
can we disable wordpress mu and buddypress signup and open openID/facebook connect/google friend connect stuff ?
I think I have a self inflicted problem and need help please.
Following Andy’s instructions I had Buddypress 1.1.1 with WPMU 2.8.4a working well with the Woo “Journal theme”. The only problem was the awkward display of BP, which we were going to change.
I then decided to see how the Studiopress “Magazine” theme would look. I activated this theme (without deactivating “Journal”), saw it, did not like it, and then, later, wanted to deactivate “Magazine” and redisplay “Journal” again. But I received this message:
Warning: require_once(/home/lewbell/public_html/wp-content/themes/bp-sn-parent/functions/admin-setup.php) [function.require-once]: failed to open stream: No such file or directory in /home/lewbell/public_html/wp-content/themes/thejournal/functions.php on line 12
My only hint is that “Magazine” was previously BP activated and some of that functionality may still be lingering in it. Also I’m surprised there is no mention of Magazine in the error message.