Search Results for 'buddypress'
-
AuthorSearch Results
-
March 26, 2009 at 2:00 pm #41053
In reply to: How to make “about me” kinda profile field?
March 26, 2009 at 1:40 pm #41051In reply to: Importing data from existing database to buddypress
enlightenmental1
Participant@ Manoj
thanks for answering me on your site… I\’ll move my issues to this thread
while the \”Full Name\” field cannot be changed, I was able to change it by duplicating the url to change a different field…
example:
when you edit any of the xprofile fields, the url shows somwthing like this:
http://mysite.com/wp-admin/?edit=profile_pageID=2
i just changed the \”2\” to a \”1\” and hit refresh…that allowed me to change the \”Full Name\” field to \”first name\”
my install is very customized, so I simpley can\’t \”roll back\” to a fresh install…
I will try changing the profile name back to \”Full Name\” and see if that works….
(more to follow)
@ theBigK
Well that would be bit difficult but not impossible because we have about 2200 users to be imported from old database. I also need to import their other profile data. Is this possible?
it doesnt look like you can add any additional information currently, however this plugin isn\’t super-complex, so you could probably add the functionality to add more user data by adjusting the PHP code (not sure how though)
you may also be able to export your SQL file in a | \”pipe\” delimited fashion
something like this:
\’
SELECT * FROM TABLE
ORDER BY ID INTO OUTFILE \’out.file\’
FIELDS TERMINATED BY \’|\’;
\’
I dont know much about this, but google it and Im sure you\’ll find something
March 26, 2009 at 1:28 pm #41048In reply to: Group Administration
talk2manoj
Participantfunction bp_group_admin_only(){
global $bp, $current_blog;
global $group_obj, $is_single_group;
if (!is_site_admin()){
remove_action( 'wp', 'groups_setup_nav', 2 );
}
}
/* I am using the same function (groups_setup_nav) as BuddyPress to avoid
* any hacking to the original code
*/
function manoj_groups_setup_nav(){
if (!is_site_admin() ){
global $bp, $current_blog;
global $group_obj, $is_single_group;
if ( $group_id = BP_Groups_Group::group_exists($bp->current_action) ) {
/* This is a single group page. */
$is_single_group = true;
$group_obj = new BP_Groups_Group( $group_id );
/* Using "item" not "group" for generic support in other components. */
if ( is_site_admin() )
$bp->is_item_admin = 1;
else
$bp->is_item_admin = groups_is_user_admin( $bp->loggedin_user->id, $group_obj->id );
/* If the user is not an admin, check if they are a moderator */
if ( !$bp->is_item_admin )
$bp->is_item_mod = groups_is_user_mod( $bp->loggedin_user->id, $group_obj->id );
/* Is the logged in user a member of the group? */
$is_member = ( groups_is_user_member( $bp->loggedin_user->id, $group_obj->id ) ) ? true : false;
/* Should this group be visible to the logged in user? */
$is_visible = ( 'public' == $group_obj->status || $is_member ) ? true : false;
}
/* Add 'Groups' to the main navigation */
bp_core_add_nav_item( __('Groups', 'buddypress'), $bp->groups->slug );
if ( $bp->displayed_user->id )
bp_core_add_nav_default( $bp->groups->slug, 'groups_screen_my_groups', 'my-groups' );
$groups_link = $bp->loggedin_user->domain . $bp->groups->slug . '/';
/* Add the subnav items to the groups nav item */
bp_core_add_subnav_item( $bp->groups->slug, 'my-groups', __('My Groups', 'buddypress'), $groups_link, 'groups_screen_my_groups', 'my-groups-list' );
//bp_core_add_subnav_item( $bp->groups->slug, 'create', __('Create a Group', 'buddypress'), $groups_link, 'groups_screen_create_group', false, bp_is_home() );
bp_core_add_subnav_item( $bp->groups->slug, 'invites', __('Invites', 'buddypress'), $groups_link, 'groups_screen_group_invites', false, bp_is_home() );
if ( $bp->current_component == $bp->groups->slug ) {
if ( bp_is_home() && !$is_single_group ) {
$bp->bp_options_title = __('My Groups', 'buddypress');
} else if ( !bp_is_home() && !$is_single_group ) {
$bp->bp_options_avatar = bp_core_get_avatar( $bp->displayed_user->id, 1 );
$bp->bp_options_title = $bp->displayed_user->fullname;
} else if ( $is_single_group ) {
// We are viewing a single group, so set up the
// group navigation menu using the $group_obj global.
/* When in a single group, the first action is bumped down one because of the
group name, so we need to adjust this and set the group name to current_item. */
$bp->current_item = $bp->current_action;
$bp->current_action = $bp->action_variables[0];
array_shift($bp->action_variables);
$bp->bp_options_title = bp_create_excerpt( $group_obj->name, 1 );
$bp->bp_options_avatar = '<img src="' . $group_obj->avatar_thumb . '" alt="Group Avatar Thumbnail" />';
$group_link = $bp->root_domain . '/' . $bp->groups->slug . '/' . $group_obj->slug . '/';
// If this is a private or hidden group, does the user have access?
if ( 'private' == $group_obj->status || 'hidden' == $group_obj->status ) {
if ( groups_is_user_member( $bp->loggedin_user->id, $group_obj->id ) && is_user_logged_in() )
$has_access = true;
else
$has_access = false;
} else {
$has_access = true;
}
// Reset the existing subnav items
bp_core_reset_subnav_items($bp->groups->slug);
// bp_core_add_nav_default( $bp->groups->slug, 'groups_screen_group_home', 'home' );
bp_core_add_subnav_item( $bp->groups->slug, 'home', __('Home', 'buddypress'), $group_link, 'groups_screen_group_home', 'group-home' );
// If the user is a group mod or more, then show the group admin nav item */
if ( $bp->is_item_mod || $bp->is_item_admin )
bp_core_add_subnav_item( $bp->groups->slug, 'admin', __('Admin', 'buddypress'), $group_link , 'groups_screen_group_admin', 'group-admin', ( $bp->is_item_admin + (int)$bp->is_item_mod ) );
// If this is a private group, and the user is not a member, show a "Request Membership" nav item.
if ( !$has_access && !groups_check_for_membership_request( $bp->loggedin_user->id, $group_obj->id ) && $group_obj->status == 'private' )
bp_core_add_subnav_item( $bp->groups->slug, 'request-membership', __('Request Membership', 'buddypress'), $group_link , 'groups_screen_group_request_membership', 'request-membership' );
if ( $has_access && $group_obj->enable_forum && function_exists('bp_forums_setup') )
bp_core_add_subnav_item( $bp->groups->slug, 'forum', __('Forum', 'buddypress'), $group_link , 'groups_screen_group_forum', 'group-forum', $is_visible);
if ( $has_access && $group_obj->enable_wire && function_exists('bp_wire_install') )
bp_core_add_subnav_item( $bp->groups->slug, 'wire', __('Wire', 'buddypress'), $group_link, 'groups_screen_group_wire', 'group-wire', $is_visible );
if ( $has_access && $group_obj->enable_photos && function_exists('bp_gallery_install') )
bp_core_add_subnav_item( $bp->groups->slug, 'photos', __('Photos', 'buddypress'), $group_link, 'groups_screen_group_photos', 'group-photos', $is_visible );
if ( $has_access )
bp_core_add_subnav_item( $bp->groups->slug, 'members', __('Members', 'buddypress'), $group_link, 'groups_screen_group_members', 'group-members', $is_visible );
if ( is_user_logged_in() && groups_is_user_member( $bp->loggedin_user->id, $group_obj->id ) ) {
if ( function_exists('friends_install') )
bp_core_add_subnav_item( $bp->groups->slug, 'send-invites', __('Send Invites', 'buddypress'), $group_link, 'groups_screen_group_invite', 'group-invite', $is_member );
bp_core_add_subnav_item( $bp->groups->slug, 'leave-group', __('Leave Group', 'buddypress'), $group_link, 'groups_screen_group_leave', 'group-leave', $is_member );
}
}
}
}
}
add_action( 'wp', 'bp_group_admin_only',1);
add_action( 'wp', 'manoj_groups_setup_nav',2);March 26, 2009 at 1:23 pm #41046In reply to: “BuddyPress” logo on the top left hand side
nicolagreco
ParticipantIf you’ve BPDEV plugins installed go in WP-ADMIN => BPDEV-ADMIN => PLUGINS => BPDEV Theme and change the logo link
March 26, 2009 at 12:46 pm #41038In reply to: Group Administration
talk2manoj
ParticipantI have done this by
1. If user is not is_site_admin() it calls remove_action
2. Added a new action to my own function, which basically is a copy of BuddyPress function except the code to add bp_core_add_subnav_item
Is it a good practice to avoid any hacking to the core? Please suggest.
March 26, 2009 at 12:32 pm #41033In reply to: Avatars / profile-pictures
Ezd
ParticipantOk Andy,
Anyways, thanks for all your fantastic work on BB. Love the new buddypress.org layout. There’s some issues with the tables breaking here and there in my browser (IE7) but I guess your already aware of that.
March 26, 2009 at 12:23 pm #41029In reply to: Avatars / profile-pictures
Andy Peatling
KeymasterThis is only the case on BuddyPress.org.
March 26, 2009 at 12:11 pm #41028In reply to: Avatars / profile-pictures
Ezd
ParticipantHi Burtadsit,
Your right, on the RC-1 I can upload an avatar during signup, I can also change it afterwards with a new image in my profile… Funny I didnt see that!
I guess it confused me a little that I was unable to change my avatar on the new buddypress.org layout without going to gravatar.com. (Not like RC-1)
It says:
Your avatar will be used on your profile and throughout the site.
Avatars on BuddyPress are controlled by the globally recognized avatar system (Gravatar). To change or create a new avatar for your account, please login or signup at: http://gravatar.com.
If you are signing up for a new Gravatar account, make sure you use the same email address that is registered with your WordPress.org account.
—
So I would have to goto gravatar.com and upload a new avatar instead of just uploading it on the buddypress site. I guess the avatars on the new layout is all controlled by gravatar.com.
March 26, 2009 at 11:50 am #41021In reply to: BuddyPress For WordPress (Not MU) Coming
Indojepang
ParticipantOMG!!! CAN’T WAIT!!
March 26, 2009 at 11:31 am #41020In reply to: Navigation problems :(
reprocessor
ParticipantHi Andy, Thanks for that (damned brackets lol). I’ve been using a zip version of buddypress from about 2-3 weeks back. Everything ‘so far’ (touch wood) has worked and thought there was no need to update from the trunk. This was the first time EVERYTHING in a bp install worked for me. My problem is, that if I do update from the trunk then everything will go ‘boobies to the dasies’ if you know what I mean, as there have been significant changes e.g. where you’ve placed the member themes etc.
If there is a hack I can implement to tide me over I would be extremely grateful. I’m almost finished the site y’see and will be demoing it tomorrow.
Thanks for your time as always.
Phil
March 26, 2009 at 10:45 am #41011In reply to: fresh install, widgets won’t show up on top pages
Sgrunt
Participantif are u using a language different from english, upgrade to the latest trunks of buddypress (not RC1) and re add widgets. If u are using default english language then the problem is different.
March 26, 2009 at 9:54 am #41005In reply to: Navigation problems :(
Andy Peatling
KeymasterTry this:
<li<?php if ( is_page( \'about\' ) ) : ?> class=\"selected\"<?php endif; ?>><a href=\"<?php echo $bp->root_domain; ?>/about/\" title=\"<?php _e( \'About\', \'buddypress\' );?>\"><?php _e( \'About\', \'buddypress\' );?></a></li>March 26, 2009 at 9:19 am #41003In reply to: bpgroups!?!?!
jam24
ParticipantI mean in the buddypress frontend!
March 26, 2009 at 8:13 am #41002In reply to: uninstall bbpress
Ekine
ParticipantYes but doesn’t bbpress and buddypress share tables? Do I have to touch those tables, too?
March 26, 2009 at 7:33 am #41001In reply to: Require user to be a friend to send messages
Arun
ParticipantIf you are talking about your installation somewhere ,you can easily turn it off (if you are a admin) from the “Buddypress” submenu under the “Site Admin” menu.there is an option “Allow non-friends to post on profile wires:”. you can select “no” for that.
But if you are talking about this buddypress.org site, Andy may think that this feature can be very useful for developers (like us) for contacting each other without having to wait for the invitation accept.
and Don’t forget to turn those Lights OFF.(only if this answers your Question)
March 26, 2009 at 6:44 am #41000In reply to: Importing data from existing database to buddypress
talk2manoj
ParticipantI will work towards enhancing this plugin whenever I get time.
Please put your wishlist regarding bulk import users at plugin page.
March 26, 2009 at 5:24 am #40999In reply to: member theme not showing
Sgrunt
Participantthe latest trunk of buddypress requires a change in the name of member theme folder:
OLD:
/wp-content/member-themes
NEW:
/wp-content/bp-themes
March 26, 2009 at 4:46 am #40996In reply to: Importing data from existing database to buddypress
thebigk
ParticipantWell that would be bit difficult but not impossible because we have about 2200 users to be imported from old database. I also need to import their other profile data. Is this possible?
March 26, 2009 at 3:55 am #40992In reply to: BuddyPress Showoff: Post your links
March 26, 2009 at 3:43 am #40990In reply to: nested profiles
aarongrey
ParticipantZapDog, I’m glad I found your post. This is exactly what I would like to use Buddypress for. If anyone knows of a plugin in the works or an existing solution, any information on how to accomplish this would be greatly appreciated. Thanks Andy for all your outstanding work on Buddypress.
March 26, 2009 at 3:40 am #40989In reply to: Same instance of Buddypress across domains?
hyrxx
Participantyou should use one install of mu and then use multi site manager it uses just the one database
you can then use it like so to access members profiles
eg
http://hyrxx.com/members/Hyrxx/ (dot com)
http://hyrxx.tv/members/Hyrxx/ (dot tv)
March 26, 2009 at 3:29 am #40987In reply to: Same instance of Buddypress across domains?
Trent Adams
ParticipantHere is my thoughts:
1) It is already easy enough to share wp_users across several WPMU installs or WP installs, so that part would be pretty simple (even using HyperDB)
2) Having two WPMU installs being able to write to the same BP tables might be a disaster, but it might work. Once again using something like HyperDB, but it seems as though BP has issues with tables not being in same database as main WPMU tables.
I am still playing with this myself on test installs, so if I learn anything new, I would be happy to report.
Trent
March 25, 2009 at 11:39 pm #40982In reply to: bpgroups!?!?!
keston
ParticipantHi, you mean in the buddypress front end or bb front end? Do you install this plugin: http://code.ourcommoninterest.org/2009/02/14/buddypress-group-forums-for-bbpress/
It did the same thing to me before I’ve installed it on bp front end now its working but not in bbpress!
March 25, 2009 at 10:41 pm #40980In reply to: “BuddyPress” logo on the top left hand side
bifpowellgameonthestreetcom
ParticipantI replaced the images/logo.gif with my own graphic, and made a file called site-wide.css and it had either no effect, or not the desired effect. The graphic changed, I can see the top of my graphic in there, but the top section of the site cuts it off. I put this in my site-wide.css:
#attempt to make the logo area larger
#header h1 a {
text-indent: -999em;
background: url(../images/logo.gif) top left no-repeat;
overflow: hidden;
width: 550px;
height: 141px;
display: block;
float: left;
}
Any guidance appreciated!
March 25, 2009 at 10:09 pm #40972In reply to: want only to make only one blog per user
Internetado
Participant -
AuthorSearch Results