Search Results for 'buddypress'
-
AuthorSearch Results
-
August 15, 2009 at 7:25 pm #51055
In reply to: Adding members as friends feature
Jeff Sayre
ParticipantIf you are saying that you do not want to have groups, activity streams, the wire, private messaging and a few other BP services, and just want to offer users the ability to create a profile and add/see friends, then the answer is simple. Just log into WPMu’s backend as Site Admin and navigate to the BuddyPress menu grouping. Select the “Component Setup” submenu option and disable the components you do not want to offer users.
August 15, 2009 at 7:21 pm #51054In reply to: Using trunk, cannot access BuddyPress pages
Jeff Sayre
ParticipantAre you using the new parent/child theme architecture or an older member theme located in /bp-themes/?
August 15, 2009 at 5:41 pm #51052In reply to: Skeleton Theme & Component for Developers
bpisimone
ParticipantI would like to bring this topic I posted yesterday to this thread’s attention: https://buddypress.org/forums/topic/how-to-use-bphome-functions-on-bp-member-pages
August 15, 2009 at 2:14 pm #51045peterverkooijen
ParticipantThanks for the additional clues DJPaul!
In the latest attempt I was going back to my first approach, trying to catch the input straight from the form, so that has to run on initial user registration, not on activation.
Or is user_register not used in Buddypress at all? Is there a wpmu or bp equivalent I could try? Should I use wpmu_create_user? According to this blog post:
the do_action for wpmu_new_user is directly at the bottom of wpmu_create_user in the wp-includes/wpmu-functions.php the wpmu_create_user gets sent the username password and email and checks if the username or email exists, if not create the new user in the database and assign a user_id to the return, also assigning capabilities and level … this happens on *all* levels of registration and is the perfect hook point to add them into the database
the do_action do_action( ‘wpmu_new_user’, $user_id ); so you get the immediate user_id soon as it’s created which you can use in your table
Apparantly this is like a flowchart of registration events in wpmu (wp-includes/wpmu-default-filters.php):
add_filter ( 'wpmu_validate_user_signup', 'signup_nonce_check' );
add_action ( 'init', 'maybe_add_existing_user_to_blog' );
add_filter ( 'xmlrpc_methods', 'attach_wpmu_xmlrpc' );
add_filter ( 'wp_authenticate_user', 'wordpressmu_authenticate_siteadmin', 10, 2 );
add_action ( 'wpmu_new_user', 'newuser_notify_siteadmin' );
add_action ( 'wpmu_activate_user', 'add_new_user_to_blog', 10, 3 );
add_action ( 'sanitize_user', 'strtolower_usernames', 10, 3 );Should I focus on these wpmu action hooks instead of regular wp hook? Does bp have a list like this somewhere?
I couldn’t figure out how to serialize that $meta data and extract the fullname from it, so I abandoned the approach hooking into wpmu_activate_user for now. Also when I put in the $user_id and $password arguments I got the error messages about missing arguments. wtf?!
I think this bit of code grabs the input from the registration form:
$fields = BP_XProfile_Field::get_signup_fields();
if ( $fields ) {
foreach ( $fields as $field ) {
$value = $_POST['field_' . $field->id];fullname is the input from field_1, but I don’t know how to finish the php to get to $fullname = … . The two latest attempts above did not work.
I have to give up for now. Deadline at my day job coming up…
August 15, 2009 at 9:28 am #51043In reply to: problem with using the home theme as a user theme
Korhan Ekinci
ParticipantOk Kunal replace this part:
<?php
if ( function_exists('wp_logout_url') ) {
$logout_link = '/ <a href="' . wp_logout_url( $bp->root_domain ) . '">' . __( 'Log Out', 'buddypress' ) . '</a>';
} else {
$logout_link = '/ <a href="' . $bp->root_domain . '/wp-login.php?action=logout&redirect_to=' . $bp->root_domain . '">' . __( 'Log Out', 'buddypress' ) . '</a>';
}
echo apply_filters( 'bp_logout_link', $logout_link );
?>With This:
<a href="<?php echo wp_logout_url( get_permalink() ); ?>" title="Logout">Logout</a>And that should solve the logout issue.
August 15, 2009 at 9:27 am #51042In reply to: navbar not appearing, footer is there
Tore
ParticipantHi!
Do you mean the adminbar (showing at the very top of the page, it says Buddypress to the left) or the navbar (containing only links to blogs, wire, profile, groups, etc and the subnavbar)?
August 15, 2009 at 7:17 am #51040In reply to: Handling of User Data & Terms of Service. Discuss
Kunal17
ParticipantI would love to see a TOS template that is customized to Buddypress communities that takes into account its technical feasibility like you described above.
Buddypress makes it so easy for anyone to create a community but not everyone can afford to get professional legal help to create the TOS and privacy policy.
Not sure if I can provide much input here as I am startup up my first community but I will follow this discussion closely.
August 15, 2009 at 6:01 am #51035In reply to: BuddyPress Showoff: Post your links
Jamie Marsland
Participanthttp://www.leckhamptononline.co.uk
It’s a hyperlocal website serving approx 10,000 residents in a district of Cheltenham in the UK. Launching in Sept.
August 15, 2009 at 4:29 am #51034In reply to: noob questions…new to buddypress
cpkid2
ParticipantThank you, DJPaul. I’m starting to get a clue lol. Just one question – Say I use “Kubrick” for my home/blog theme. How do I get a login/password field in the sidebar? I noticed it’s not one of the widgets. Do I have to grab the code from the admin bar on top and insert it manually into the sidebar?
August 14, 2009 at 10:02 pm #51029In reply to: Help with custom setup buddypress + bbpress
gerikg
ParticipantAs of now they can have their own group that translate to their own topics/forum and they can be the admin of their “discussion” You can just have the groups only and no link to the bbpress section. The forums will be under groups. make sense?
August 14, 2009 at 9:46 pm #51028In reply to: Help with custom setup buddypress + bbpress
jorrie
ParticipantEmpty?
Someone can help me with this please? Would be higly appreciated, buddypress looks nice just need some little directions.
August 14, 2009 at 6:02 pm #51021peterverkooijen
Participantarezki, there is a Users to CSV plugin. Not sure if it also exports data from Buddypress’ xprofile table, but perhaps you could expand it.
Getting data from the database is relatively simple. You could just write your own SQL queries as well, if you can figure out how and where the data is stored, which is not at all straightforward in the wp-wpmu-bp patchwork.
My original question was about something else; how does data move from registration form to the database?
I’m trying to identify what bit of code “picks up” the input from the ‘* Name’ field, id/name = “field_1”. Is it this function?:
function xprofile_extract_signup_meta( $user_id, $meta ) {
// Extract signup meta fields to fill out profile
$field_ids = $meta['xprofile_field_ids'];
$field_ids = explode( ',', $field_ids );
// Loop through each bit of profile data and save it to profile.
for ( $i = 0; $i < count($field_ids); $i++ ) {
if ( empty( $field_ids[$i] ) ) continue;
$field_value = $meta["field_{$field_ids[$i]}"];
$field = new BP_XProfile_ProfileData();
$field->user_id = $user_id;
$field->value = $field_value;
$field->field_id = $field_ids[$i];
$field->last_updated = time();
$field->save();
}
update_usermeta( $user_id, 'last_activity', time() );
}For a plugin I need SOMETHING HERE = $fullname. The SOMETHING HERE should be the input value for field_1 from the registration form.
I get lost in the php in the array stuff. Please help if anyone can give any more clues!
August 14, 2009 at 5:47 pm #51020In reply to: BuddyPress Showoff: Post your links
Andre
Participant@crackpixels We’re not using a BP home theme since we’re trying to balance the e-zine content with the social networking piece. Instead I customized a standard WP theme (Atahualpa) and added the BP widgets into the sidebars.
August 14, 2009 at 2:58 pm #51018In reply to: Help with custom setup buddypress + bbpress
3746311
InactiveAugust 14, 2009 at 11:32 am #51015In reply to: noob questions…new to buddypress
Paul Wong-Gibbs
KeymasterYou can use any WordPress theme for the home/blog theme, yes. You’d only need a customised or Buddypress-specific theme for the member pages.
August 14, 2009 at 10:33 am #51014In reply to: Help with custom setup buddypress + bbpress
jorrie
ParticipantAny idea how to acchive above ?
Some pointers or direction would be nice, im still digging into buddypress but it, is, a bit complicated to get the results that are not “out of the box”
August 14, 2009 at 7:55 am #51012In reply to: Ajax areas not working correctly
thebloghouse
ParticipantHey
Sorry I haven’t been in here for a while as clients just keep givng me new work

Don’t try and follow that code I posted above as that was specific to the particular plugin I was using and which was messing with the BuddyPress Ajax

From looooong hard experience this issue WILL be another plugin messing with your BuddyPress Ajax so as much of a pain as it is disabling ALL your plugins do it and then repost if you are still habing this issue.
August 14, 2009 at 7:34 am #51011In reply to: noob questions…new to buddypress
cpkid2
ParticipantThanks, Ray.
So if I’d like to have a two-column site, would I be able to activate the default Kubrick theme and use it as the blog portion (front page) of my social network? I’d like to have my blog on the front page just like ReadWritePoem. Or would I need to use a theme made for Buddypress like the ‘home’ theme?
August 14, 2009 at 6:58 am #51009In reply to: noob questions…new to buddypress
r-a-y
Keymaster“themes” is a themes folder for WordPress(MU); whereas “bp-themes” is a themes folder specific to BuddyPress components.
To be more specific, “themes” styles the blogs; “bp-themes” styles the member profiles and groups.
ReadWritePoem’s blog posts is from the main, primary blog… it’s a simple template loop from WordPress… nothing elaborate there. In fact, looking into it further, they do not have member blogs! So if you’re familiar with regular WordPress, you’ll know how they placed the blog posts on the front page.
August 14, 2009 at 6:45 am #51007In reply to: Multi-thread Wires
r-a-y
KeymasterNot sure if this is on the roadmap, but if it isn’t, feel free to add it as a suggestion in the trac.
Login with the same username and password as you use on the BP.org site.
August 14, 2009 at 6:09 am #51004In reply to: BuddyPress Showoff: Post your links
blah
Participant^how do you put the blog posts on the front page like that?
August 14, 2009 at 4:29 am #51000In reply to: Member directory browsing issue.
arezki
ParticipantThank you sir! Not sure I follow the idea. By deleting, do you mean the entire buddypress and WP? Hum! that would take 2 years out of my life. I am sort of willing to let go of the alphabetical listing… but I don;t recall having moved files around. Standard install.
August 14, 2009 at 2:52 am #50996peterverkooijen
ParticipantThanks r-a-y.
I can’t make much sense of most of that code. Does function bp_core_signup_show_user_form take the input from the form? Or does it only output the form? I guess the latter.
I think the code that actually processes the input is in bp_xprofile/bp-xprofile-classes.php, Class BP_XProfile_ProfileData etc. Or bp-xprofile-signup.php?
Back to the other thread to see if it gets me any further…
August 14, 2009 at 12:55 am #50995r-a-y
KeymasterCheck:
/wp-content/plugins/buddypress/bp-core/bp-core-signup.php
August 14, 2009 at 12:19 am #50994In reply to: Help with Upgrading my Site
r-a-y
KeymasterBP 1.0.2 is the last version compatible with MU 2.7.1.
If I were you, I’d wait for the next version of BuddyPress – version 1.1 scheduled to be released next week.
You would need to upgrade WPMU to 2.8.4.
—
When you upgrade, make sure you backup everything! (database, wp-content directory)
Deactivate all plugins, rename “mu-plugins” folder (if you use mu-plugins) and then install WPMU over your existing install.
Next, install new version of BuddyPress, reactivate plugins and everything should be good (I say should because each case is different!).
Since you didn’t mention bbPress, I presume you don’t have to worry about it, which is good, since that takes out one main item out of the equation!
-
AuthorSearch Results