Search Results for 'buddypress'
-
AuthorSearch Results
-
March 26, 2009 at 8:06 pm #41090
jtbailey
ParticipantWith Flash games in the content area?
March 26, 2009 at 7:25 pm #41088Kunkel
ParticipantYes an arcade, well on my way
March 26, 2009 at 6:16 pm #41086keston
ParticipantHi, this one worked for me: https://buddypress.org/forums/topic.php?id=504#post-2216
Hope that it can help
March 26, 2009 at 5:28 pm #41085In reply to: Language problem,in RC1
Andy Peatling
KeymasterUse the trunk, this is fixed.
March 26, 2009 at 5:06 pm #41082In reply to: Importing data from existing database to buddypress
thebigk
ParticipantThanks. I’m not good with php/mysql
.
March 26, 2009 at 4:34 pm #41078In reply to: sort_by_name() function
Andy Peatling
KeymasterYou’re better off using the new users template tags. Check out the members directory template loop in the member theme in the latest trunk.
bp-themes/buddypress-member/directories/members/members-loop.php
You can set specific ways to order members:
bp_has_site_members( 'type=alphabetical&per_page=10' ) )type can be: active ( default ) | random | newest | popular | online | alphabetical
This is only in the latest trunk, not RC1.
March 26, 2009 at 4:22 pm #41075In reply to: Create Group button like Create Account
belogical
Participantnever mind, that was easier than I thought. had to do a hack in bp-core-widgets.php
add this under the function: (function bp_core_widget_welcome)
global $current_user;
$username = $current_user->user_login;add this under the Create Account button: (line #49)
<?php if ( is_user_logged_in() ) { ?>
<div class="create-account"><div class="visit generic-button"><a hre f='/members/<?php echo $username; ?>/groups/create' title="<?php _e('Create a New Group', 'buddypress') ?>"><?php _e('Create a New Group', 'buddypress') ?></a></div></div>
<?php } ?>how can i avoid a core hack on this one?
EDIT: Had to put a space in the href in order to get the code to display somewhat normal in the forum. Make sure to remove that if you use this.
March 26, 2009 at 4:18 pm #41073In reply to: Same instance of Buddypress across domains?
Seobrien
ParticipantMarch 26, 2009 at 4:04 pm #41072In reply to: BuddyPress Blog – Call for Posts!
Andy Peatling
KeymasterYou can all now post via the write-post menu under /blog
Please feel free to start adding your posts!
March 26, 2009 at 2:29 pm #41059In reply to: Twitter to Wire
Dfa327
ParticipantHi,
Wow, I had no idea!!! I don’t use it much. I just happened to see twitterToWire on buddypress yesterday. Sorry about not getting to contact me too. I’ll fix that asap.
Now in the meantime. I have good news. I fixed why it failed to post to the wire. I also took out the need to have twitterTools and I now talk directly to twitter. Lastly, I think I can get a wire to twitter to work as well. So does anybody want this ability? Do you want me to show just the last post, last 20? How do you want it to work?
Here’s a link to the latest:
http://codewarrior.getpaidfrom.us/2009/03/26/twittertowire-test-11/
Comments DO work on this post as well. Feedback is welcome. AND PLEASE let me know if you can’t reach me. I run getpaidfrom.us, so the contact form there works too.
Thanks,
Dave:)
March 26, 2009 at 2:14 pm #41055In reply to: member theme not showing
Burt Adsit
ParticipantA new user gets the blog they signed up with or the main wp blog. The member theme is not a normal wp theme: https://codex.buddypress.org/getting-started/using-the-buddypress-themes/
March 26, 2009 at 2:10 pm #41054In reply to: Navigation problems :(
Burt Adsit
ParticipantYou don’t have to install the latest trunk to get it and take a look at it Phil.
From the linux cmd line:
svn co https://svn.buddypress.org/trunk
From windows using http://tortisesvn.net
https://svn.buddypress.org/trunk
I dunno Mac.
You can just create a directory somplace and check out the files to that dir. Then you have a copy of the latest bp to play with.
March 26, 2009 at 2:00 pm #41053In 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!
-
AuthorSearch Results