Search Results for 'buddypress'
-
Search Results
-
Hi there,
I’ve been trying to get bp_has_members to just output members with the role of moderator. This works to do that:
`
<?php while ( bp_members() ) : bp_the_member();
$user = new WP_User( bp_get_member_user_id() );
if ( $user->roles[0] == ‘moderator’ ) :
?>`The problem seems to be that it returns the full list of members, but then just doesn’t display the ones that aren’t moderators. I’m new to BuddyPress and know that normally I would apply that filter to moderator in wp_query on the ‘if’ statement, not the ‘while’. But I’m not sure how to go about changing the query in BuddyPress. Any thoughts? Many thanks.
I’m using WP Multi-Site with BuddyPress activated network wide. I want the home page of each site to point to a static welcome page situated on that site. I want each site’s blog to be displayed on a separate blog page. For example
For site one:
Welcome page at site-one.example.com/
Blog page at site-one.example/blog/For site two:
Welcome Page: site-two.example.com/
Blog Page: site-two.example/blog/To try to achieve this for each site, I have configured WordPress to show static “Welcome” page when someone visits the site’s hostname and I have configured the “blog” page to show when people click the blog page URL. The problem is that in the BuddyPress blogs directory, each site’s blog name still links to the site’s hostname e.g Blog One points to site-one.example.com/ and Blog Two points to site-two.example.com but I want them to point to site-one.example.com/blog/ and site-two.example.com/blog/, respectively.
In wp-config.php, I’ve tried setting
`define ( ‘BP_HOME_BLOG_SLUG’, ‘blog-name’ );`
I’ve tried adding the same custom slug config to /plugins/bp-custom.php.
Neither of the above methods of setting a custom blog slug helped.
I am aware there are themes that do this naturally i.e. some themes set a static home page that uses widgets to show custom content on the home page. Such themes provide a separate widget that can be used to display blog posts in any page. But again, the BuddyPress blogs directory still associates a blog’s title with its site’s hostname as opposed to the URL of the custom page set for the blog.
I have thought of using a plugin to rewrite the URLs as pages are served but this could have unintended consequences.
So, how do I set a custom blog page and a custom home page for each site in BuddyPress in a multi-site environment and still use the blogs directory?
Topic: Problems with translatin
Hi!
I have tried to translate Buddypress into Norwegian for many days, but without managing it.
I have uploaded the languagefiles to wp-content/languages and also buddypress/bp-languages . But nothing worked.
Wordpress is in Norwegian, and it stays “nb_NO” in the wp-config file.
Do you have any ideas of what I do wrong?Thanks for answers!
Activity page is not working in subsite ( its shows correct link but it redirect to groups page )
I installed wordpress 3.2.1, then BuddyPress 1.5. Everything was fine, so I started tweaking the themes. I installed Custom Community, and received the following error –
Fatal error: Call to undefined function cap_get_options() in /home//public_html/wp-content/themes/custom-community/admin/library.php on line 416
So I searched on the Custom Community website, and they had a possible fix, so I added I added `”require_once(‘admin/config.php’);”` to my functions.php file, but that didn’t help- more problems cropped up. So I tried to delete the custom-community theme folder to get it to go back to default, but that just made the site blank. Then I put that back, and tried to change the theme manually in `wp_options`, but anytime I change `template` ,`stylesheet`, and `current_theme` to anything else, the site blanks out again.
I’m at my wits end… can anyone help?
The FAQ page http://codex.buddypress.org/troubleshooting/frequently-asked-questions/ says that in order to get register button on the BP site, I need to
Login to the WP admin area, navigate to “Settings > General”, and make sure “Anyone can register” is checked.Well, I don’t want people to see the Register button on the rest of the site – they should only see it when they visit the BP pages…
What should I do?
I installed custom community theme, enabled the buddypress settings, but buddypress is nowhere to be found on my site. I thought it came with the theme, maybe it doesn’t. So I installed the buddypress plugin and when I activated it, I got the following:
Fatal error: Call to undefined function bp_is_active() in /home/sarahgingles/rawsimpledelicious.com/wp-content/themes/custom-community/functions.php on line 498
I have searched and searched for what the problem could be and can’t figure it out. I deleted the plugin from my FTP. My site is back up for now (http://www.rawsimpledelicious.com). Please help me get buddypress running on my custom community theme!
Hello, I am kind of at a loss as to why the WordPress user fields do not show up under the buddypress user profile and vice versa. What do I do to link the two? Sorry if this is not very specific.
How can I see my activity on these forums, seeing as I cant get email updates.
My topics is empty http://buddypress.org/support/topics/mine/
And so are Forum and Activity tabs on my profile
http://buddypress.org/community/members/sooskriszta/
http://buddypress.org/community/members/sooskriszta/forums/