Search Results for 'buddypress'
-
AuthorSearch Results
-
August 18, 2009 at 2:43 pm #51207
In reply to: Signatures (BBPress & BuddyPress)
gerikg
ParticipantThanks r-a-y, but I don’t think I need that plugin. It works fine without it.
August 18, 2009 at 3:38 am #51202peterverkooijen
ParticipantHow can you identify the user on wpmu_activate_user? Only by the key from the activation link? How does that work?
Then $bp->loggedin_user->id doesn’t work on activation either, does it?
How is Lance Willet able to use $userid on wpmu_activate_user?
Can I somehow use that to pull up the right meta row from wp_signups and store the values in wp_usermeta with the right user_id?
Or can I use the email address as an identifier?
August 18, 2009 at 2:35 am #51201peterverkooijen
ParticipantThis should work:
function synchro_wp_usermeta( $user_id, $password, $meta ) {
global $bp, $wpdb;
$fullname = $meta[field_1];
echo $fullname;
$space = strpos( $fullname, ' ' );
if ( false === $space ) {
$firstname = $fullname;
$lastname = '';
} else {
$firstname = substr( $fullname, 0, $space );
$lastname = trim( substr( $fullname, $space, strlen($fullname) ) );
}
update_usermeta( $bp->loggedin_user->id, 'nickname', $fullname );
update_usermeta( $bp->loggedin_user->id, 'first_name', $firstname );
update_usermeta( $bp->loggedin_user->id, 'last_name', $lastname );
$wpdb->query( $wpdb->prepare( "UPDATE {$wpdb->users} SET display_name = %s WHERE ID = %d", $fullname, $bp->loggedin_user->id ) );
$wpdb->query( $wpdb->prepare( "UPDATE {$wpdb->users} SET user_url = %s WHERE ID = %d", bp_core_get_user_domain( $bp->loggedin_user->id ), $bp->loggedin_user->id ) );
}
add_action( 'wpmu_activate_user', 'synchro_wp_usermeta', 10, 3);BTW, I see Lance Willet here uses $userid with wpmu_activate_user, instead of $key.
Does $bp->loggedin_user->id even work on activation? Shouldn’t everything be based on the activation key?
August 18, 2009 at 2:24 am #51200arezki
Participantthanks r-a-y I installed that one but I think I am facing a bigger problem that is preventing the system to work as intented. Essentially, though I have the site’s “Dashboard blog” ‘user default role’ as “susbcriber” so-called subscribers are automatically tagged as ‘contributors’ on the buddypress menu… In case you are curious, u can log in as user: riski pass: riski123 on http://tatazara.com May be you will discover something I am missing.
Cheers and thanks for your feedback/
Arezki
August 18, 2009 at 2:06 am #51199In reply to: Using trunk, cannot access BuddyPress pages
Alex
ParticipantWell for some strange reason I’ve just reinstalled on our remote server and it’s working fine…
August 18, 2009 at 1:49 am #51197In reply to: Signatures (BBPress & BuddyPress)
r-a-y
KeymasterI’m using bpGroups and first of all you should follow the instructions properly.
Make sure your files are in the right directories.
/wp-content/mu-plugins/oci_bp_group_forums.php
/YOUR BBPRESS INSTALL DIRECTORY/my-plugins/oci_bb_group_forums.php
—
Also, because you’re using deep integration, you’ll need to make the following changes:
In oci_bp_group_forums.php, around line 30 change:
require_once(ABSPATH . WPINC . '/class-IXR.php');to this:
if (!defined(BBDB_NAME))
require_once(ABSPATH . WPINC . '/class-IXR.php');In oci_bb_group_forums.php, around line 30 change:
require_once( BACKPRESS_PATH . '/class.ixr.php' );to this:
if (defined(BACKPRESS_PATH))
require_once( BACKPRESS_PATH . '/class.ixr.php' );August 18, 2009 at 1:40 am #51194In reply to: Signatures (BBPress & BuddyPress)
gerikg
ParticipantYes WITH deep intergration
August 17, 2009 at 11:55 pm #51190In reply to: Member Activity Feed is Empty
jdoe_
ParticipantWell..I have resolved the issue.
All I did was replaced the existing bp-activity-templatetags.php with the file from https://svn.buddypress.org/trunk/bp-activity/bp-activity-templatetags.php and it is working now..
strange?? yes.
August 17, 2009 at 11:08 pm #51189In reply to: 404 errors – fresh install
Ishimwe
ParticipantI have had this issue three times and all the time the only thing that has worked is a new install. That is, wipe clean the wp-admin, wp-content and wp-includes and all files for Mu , rename existing ones to something like wp-admin_old (that’s what I do).
Then:
- Finish the WP MU installation/upgrade first. Make sure it does work before you go to the next step.
- Install buddypress plugin first and activate it
- Reupload the blogs.dir files to the wp-content from your backup manually.
This is guaranteed to work. So far, buddypress doesn’t seem to have any other magic solution to this issue.
August 17, 2009 at 10:52 pm #51188In reply to: Details About the New Theme Architecture
abcde666
Participant1)
I do have BP-version 1.0.1 running on a site and have made a few customizations so far (just CSS-changes and some images).
So with the new template-structure: should I delete the current install completely and get the BP-version 1.1 installed ? I mean: what is the best way to upgrade to the 1.1-version when it will be released in the next few weeks ? I definitely want to have the new template-structure, so I guess I would need to set-up my website from scratch, right ?
And: I am running the site in german-language only.
2)
will this new template-structure also make it easier to design a custom-template for the user-blogs ?
Like I would like to have the user-blogs having the same CSS-style as my main pages ?
I still have not been able to figure how to do this. I would like the user-blogs to have the same design in order to have a consistent website.
Why is this not already the case at http://www.testbp.org ? Why is it still the original WordPress-design ? Is there a chance you create a plugin or something at which the Admin is able to select to chosse the design of the “User-Blogs” like choosing from “WordPress original design” or “TestBP.org design” ?
3)
is there a chance to have a “package install” which will have ONE package which will include all latest software: WordPress 2.8.x, BuddyPress 1.1 and BBPress ?
I read many post where I see people having troubles integrating the BBPress-software into the system (even an experienced BP-expert had troubles).
Is there a chance you will create a 1 Package download which will make it very easy for people to have a full website (like http://www.testbp.org) installed ?
So literally 1 click-download will create a ready-made website, same like testbp.org ?
4)
a user-request to get invited into a “Private Group” is not possible being accepted. This does not work yet at my installation and I think this is a general bug.
5)
the wording of “Blog” and “Blogs” is confusing. In both english and german language.
Many thanks,
August 17, 2009 at 10:34 pm #51185In reply to: Signatures (BBPress & BuddyPress)
John James Jacoby
KeymasterAre you using deep integration?
August 17, 2009 at 9:21 pm #51182In reply to: Using trunk, cannot access BuddyPress pages
Alex
ParticipantI’m currently porting over a custom theme I was developing to the new parent/child setup, but this happens even when I use ‘BuddyPress Default 1.1-pre’.
August 17, 2009 at 9:13 pm #51181In reply to: Paid Member Plugin
peterverkooijen
ParticipantThere are several commercial plugins for WordPress. I assume they would work with wpmu and buddypress as well, since those are big potential markets for them.
August 17, 2009 at 8:31 pm #51176In reply to: Member Activity Feed is Empty
gaetanbuddypress
ParticipantHello jdoe_,
Just to say I’m running WordPress MU 2.8.4a + BuddyPress 1.0.3. as well, and the activity is working well in the member profil.
I hope you’ll find an answer to your problem,
Gaetan
August 17, 2009 at 6:45 pm #51173In reply to: Details About the New Theme Architecture
John James Jacoby
KeymasterThe way this works is actually really super easy and very, very awesome…
There are a few different variations of ways to do this, and I can see some really imaginative uses of this method doing some really fantastic and super awesome things, so if you’re not already, I suggest you get excited…
I think the way that most people will use this method is with the included BuddyPress Framework theme as a jumping off point. Think of it as the HTML and bare-bones styling to get your site’s root blog and BuddyPress profile/directory pages up and running. It includes all of the normal files you would expect from a typical WordPress theme (single.php, comments.php, page.php, index.php, home.php, attachments.php, etc…) plus it includes all of the theme files for BuddyPress registration pages and components in their own respective folders similar to what bp-member did.
Currently, parent/child template relationships do NOT include the parent template’s style.css, so if you’re making a child theme, you will need to manually include the style.css of your parent theme with an @import rule, but it takes 2 seconds to type in so no big deal.
So that means that your parent/child relationship is really only for .php files until you manually @import a CSS file from another directory.
To answer your question about multiple parent themes, yes and no.

Lets say we have three themes: bp-framework, bp-default, and bp-child.
Each theme/template can only name off one parent, but that doesn’t stop the parent theme/template from having its own parent also. Example: bp-child could name bp-default as its parent, and bp-default could name bp-framework as its parent, and they will recursively overrule each other down the parent/parent/child ladder with the current template winning at the end.
This works well in situations where you might not need a home.php for your child themes. Home.php is a WordPress file for hardcoding the landing page of your blog, and maybe child themes don’t need one. In that case, move home.php into a “bp-home” folder with a style.css that makes the bp-framework its parent and includes the parent style.css, assign bp-home as the theme for your root blog, and you’re done. This way the other blog themes won’t have a home.php for no reason.
Because of this, it’s possible to have themes inherit from multiple other themes if you plan ahead in such a way that allows for this. My experience with this idea and creating my own framework is that it takes a little pre-production planning, but it pays off big time later on.
The other crazy fluke is that parent themes don’t need to be active in the Site Admin area. This means that you could have child themes active for users to select without allowing them to select the parent theme, and still have the parent theme’s files be accessible to the child. This really gives you a better way to control the themes that users have access to and how they work with your custom framework to keep your header/footer/other files in sync.
I personally can’t wait to see what some of the more popular WordPress theme guru’s are able to pull off with the next version of BuddyPress.
August 17, 2009 at 6:40 pm #51172In reply to: Signatures (BBPress & BuddyPress)
gerikg
ParticipantSorry about the empty response. I thought I had it and when it didn’t work it screwed up. I edited out my post.
Okay this is the fix I came out with. I created a new group in BP profile called signature and the field name signature too.
In BBpress in the post.php I inserted (note I don’t know PHP, if anyone can shorten this would be appreciated):
<?php if ( bp_has_profile('user_id='.get_post_author_id().'&profile_group_id=XXX') ) : ?>
<?php while ( bp_profile_groups() ) : bp_the_profile_group(); ?>
<?php if ( bp_profile_group_has_fields() ) : ?>
<?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?>
<?php if ( bp_field_has_data() ) : ?>
<?php bp_the_profile_field_value() ?>
<?php endif; ?>
<?php endwhile; ?>
<?php endif; ?>
<?php endwhile; ?>
<?php else: ?>
<?php endif;?>Just replace XXX with your group id #, mine was 3.
What it doesn’t do is toggle between signature, anyone want to try that?
August 17, 2009 at 6:35 pm #51170In reply to: BuddyPress Showoff: Post your links
webatease
ParticipantCertainly not showing off – but I’d love some feedback. You can get the jist of what we’ve built here – really basic, but just trying to see if Buddypress can really solve our problems.
Our issues to-date are no way of validating users and ensuring we want them to successfully register. Second issue is the email that is sent to approve a group addition (links are broken). Third issue is a trying to find a way to prevent registered users (subscribers) from creating groups, while not preventing them from participating.
http://www.joefirstmanstreet.com
* Currently forcing people to login or register before they see anything.
August 17, 2009 at 6:01 pm #51169In reply to: Buddypress and IntenseDebate
gerikg
ParticipantReferring to this program/site: http://www.intensedebate.com/wordpress
August 17, 2009 at 3:48 pm #51166In reply to: Different User Profiles
gerikg
ParticipantI don’t know how it can be done but I know it can be done with this:
August 17, 2009 at 1:56 pm #51157In reply to: Help with new function
Jeff Sayre
ParticipantOkay, several issues to discuss here:
-
I created a new function in wpmu-functions.php
Why modify a core WPMU file to be used in a BuddyPress theme file? Instead, create this function in your bp-custom.php file. That why, when you upgrade BP, your changes will not be lost–assuming that you do not delete your bp-custom.php file.
- The user ID field does not contain string content. So:
u.ID = %sshould be
u.ID = %d - What you are after is grabbing a member’s ID and then using that to pull their login name (username). I don’t think that the variable $username is available for the function call–at least not the way you are trying to reference it. I would use this instead:
$bp->displayed_user->idYou will need to declare bp as global in your members-loop.php file.
August 17, 2009 at 5:05 am #51137In reply to: Signatures (BBPress & BuddyPress)
gerikg
ParticipantAugust 17, 2009 at 1:13 am #51129In reply to: No Group Forums, bbPress Forums Only
r-a-y
KeymasterDo what gerikg said.
Login to your WPMU backend and navigate to “BuddyPress > Component Setup”.
Check “Disabled” for “bbPress forums” and you should be good to go!
*The one thing that probably has you confused is you need to login to your bbPress admin area and manually delete your existing group forums.
August 16, 2009 at 10:46 pm #51124In reply to: Upgrading to Wpmu 2.8.4a Hint!
Korhan Ekinci
ParticipantI don’t think deactivating BP will be a problem.
If you are in no hurry, within a few weeks there will be buddypress 1.1 and probably a new wpmu version. I would wait for that.
August 16, 2009 at 10:45 pm #51123In reply to: No Group Forums, bbPress Forums Only
gerikg
ParticipantWhy not cut off the link between BB forum & BP Groups.
DISABLE
bbPress Forums
Activates bbPress forum support within BuddyPress groups or any other custom component.
August 16, 2009 at 10:20 pm #51121In reply to: Upgrading to Wpmu 2.8.4a Hint!
cbriere
ParticipantHi Korhan,
In these thread the user states that some items failed to work:
https://buddypress.org/forums/topic/buddypress-103-with-wpmu-284a#post-22006
I just installed 2.8.4a and would like to install for the first time BP 1.0.3
Don’t want to install BP until make sure it will work. If I install BP and fails to work, could it be a problem to Deactivate it?
Thanks.
-
AuthorSearch Results