Search Results for 'buddypress'
-
Search Results
-
Fatal error: Call to undefined function get_active_blog_for_user() in /homepages/18/d95001024/htdocs/languagesocial/wp-admin/includes/ms.php on line 577
Background:
Installed BuddyPress 1.23 worked great on a SU install.
However, when I tried to make it an MU directory based Buddypress install per the install steps, everything worked fine to a point.
It prompted me to make modifications on the config.php and .htaccess file. I did.
Also, I am using 1and1.com so made a fast additional modification to the .htaccess file:
AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .php
I am using wordpress 3.0 beta. But that has nothing to do with this issue as I had something similar on 2.92 + MU (and thought I would wait for 3.0) But it the same basic issue. And on the SU everything worked fine.
I am sure I am doing something basic that is wrong. I check forums, made sure I deactivated the plug-ins and deleted all the themes except the new default theme.
http://languagesocial.com/ is the site.
I get an error when I try to log in under http://languagesocial.com (wp-admin)
Fatal error: Call to undefined function get_active_blog_for_user() in /homepages/18/d95001024/htdocs/languagesocial/wp-admin/includes/ms.php on line 577
Thank you
Topic: Can’t find my register page
I have installed BuddyPress 1.2.3 on a WordPress 3.0 BETA 1 install.
Everything works but I can’t find the register page for new members.
Can anyone help?
Topic: BuddyPress + GSoC 2010
Hi there
Will there be a Project on GSoC related to BuddyPress?
This may not be the most elegant solution but perhaps it will be useful to others. I use WP=2.9.2 & BP 1.2.1 and a simplistic child theme based on the BuddyPress Default 1.2.1 theme.
I want to have certain xProfile fields that are visible to others but could only be administered by the site administrator (e.g. is their membership payment up-to-date). I decided the easiest strategy would be to prevent a user from having access to the “SAVE CHANGES” button on the admin page of a specific xProfile group named “Admin-only”.
1) i copied a file from the default theme: BLOG_BASE/wp-content/plugins/buddypress/bp-themes/bp-default/members/single/profile
2) I placed the file into my child theme: BLOG_BASE/wp-content/themes/MY_CHILD_THEME/members/single/profile/edit.php
3) Within the file, I replaced these lines (from around line #104):
<?php do_action( ‘bp_after_profile_field_content’ ) ?>
<div class=”submit”>
<input type=”submit” name=”profile-group-edit-submit” id=”profile-group-edit-submit” value=”<?php _e( ‘Save Changes’, ‘buddypress’ ) ?> ” />
</div>
with the following lines:
<?php do_action( ‘bp_after_profile_field_content’ ) ?>
<!–
****** RESTRICT ADMINISTRATION OF ADMIN-ONLY XPROFILE GROUP TO ADMINISTRATORS
****** BY REMOVING THE “SAVE CHANGES” BUTTON UNLESS USER IS A SITE ADMINISTRATOR
–>
<?php if ( bp_get_the_profile_group_name() == “Admin-only” && !is_site_admin() ) : ?>
<h4>
<?php printf( __( “Only Administrators can save changes in this Profile Group”, “buddypress” ) ); ?></h4><?php else: ?>
<div class=”submit”>
<input type=”submit” name=”profile-group-edit-submit” id=”profile-group-edit-submit” value=”<?php _e(
‘Save Changes’, ‘buddypress’ ) ?> ” />
</div>
<?php endif; ?>
<!– ****** END OF ADMIN-ONLY RESTRICTION –>
4) From the Dashboard: BuddyPress –> Profile Field Setup create a new Field Group called “Admin-only”
Now, any field added into this group will have the restriction that its value can only be changed by a site-administrator.
As I said, not elegant, but i hope it helps.