Search Results for 'buddypress'
-
AuthorSearch Results
-
April 14, 2009 at 1:42 pm #42626
In reply to: bp-Events plugins directory question
Jeff Sayre
ParticipantActually, come to think of it, maybe you should keep it in plugins/buddypress/. That will make it easier to add it to the BuddyPress menu in the backend.
April 14, 2009 at 1:40 pm #42625In reply to: bp-Events plugins directory question
Jeff Sayre
ParticipantAs Nicloa suggests, placing your plugin in plugins/bp-events/ makes sense. Also, perhaps you should consider adding it to the BuddyPress menu in WP admin.
April 14, 2009 at 1:32 pm #42623In reply to: bp-Events plugins directory question
nicolagreco
Participanti really suggest you (for stats and user experience)
to put it in plugins/bp-events/
Then you should add some code to stop it working if bp is disabled,
contact me if needed ( nicola at buddypressdev.org )
April 14, 2009 at 1:17 pm #42621In reply to: WP-Forum and BuddyPress
Wythagy
ParticipantOkay I’m officially retarded and have been up way too long…
all I had to do was replace the link using the $user variable they already provided…I didn’t need an ID# after all…
For what it’s worth though if anyone would like to know, I now have WP-Forum working very smoothly along with BuddyPress
(again…not within group forums, only as a site wide forum).
April 14, 2009 at 1:08 pm #42617In reply to: WP-Forum and BuddyPress
Wythagy
ParticipantBy the way, just so you know what I am trying to do, there is a function within WP-Forums that calls a profile link using the variable $link:
$link = "<a hre f='".$this->base_url."profile&id=$user_id'
title='".__("View profile", "wpforum")."'>$user</a>";I need to be able to change the content after the \”href\” in the $link variable so that the $user_id forwards to a the equivalent BuddyPress profile.
April 14, 2009 at 12:48 pm #42618In reply to: BP-FBConnect Plugin
2448027
Inactivegot it working it was my stupid php… so what exactly does this do ? when you post a blog on wpmu does it post it on fb as well?? and vice versa ?
also isnt there anyway to take out users profile info … and put em into there buddypress if they have the same fields..?
April 14, 2009 at 11:45 am #42611In reply to: procedure for removing Admin Bar Sub Nav item
Roger Coathup
ParticipantI’ve written a plugin (essentially your logo replacement code), and put it in the mu-plugins directory, but it doesn’t seem to be getting invoked?
Am I missing something obvious?
My file is called 2l2r-plugins.php and sits in the mu-plugins directory:
<?php/*
Plugin Name: l2r adminbar logo
Plugin URI: http://www.21inspired.com
Description: replaces the adminbar logo
Version: 1.0
Author: Roger Coathup
Author URI: http://www.21thoughts.com
*/
function l2r_adminbar_logo() {
global $bp;
}
remove_action('bp-adminbar-logo','bp_adminbar_logo');
add_action('bp-adminbar-logo','l2r_adminbar_logo');
?>
April 14, 2009 at 9:26 am #42608In reply to: Forum Integration: HELPING HINTS
Wythagy
ParticipantOkay so I just tried installing the absolute latest Trunk of BBPress with BuddyPress RC1, but when I try to activate the buddypress-enable.php file it says:
Plugin file does not exist.
Back to Modelrific Forums.
April 14, 2009 at 8:24 am #42606In reply to: Forum Integration: HELPING HINTS
Wythagy
ParticipantQuestion, will BuddyPress RC1 work for this, or do you have to be using the latest BuddyPress install via SVN?
April 14, 2009 at 7:39 am #42601In reply to: How to use full name, first name + last name
Burt Adsit
ParticipantThis thread has an example of how to build a filter: https://buddypress.org/forums/topic.php?id=2146 for the user full name.
https://codex.wordpress.org/Plugin_API for docs on wp actions and filters.
You should really talk to DJPaul here on the forums. He has a plugin called Welcome Pack that assigns new users a default friend and default group. He also says that the next version of that plugin will have the ability to create a custom welcome message to the new user. Not sure if that’s a PM or an email. Suggest what you want to him. He’s working that kinda track.
April 14, 2009 at 7:18 am #42599In reply to: Group Forums, Only Admin can post.
Burt Adsit
ParticipantIt sounds like your user integration is not right. Go over everything again step by step in the topic https://buddypress.org/forums/topic.php?id=471 again.
April 14, 2009 at 4:25 am #42588Burt Adsit
ParticipantHere’s two functions that change the way the admin bar displays user blogs.
// sort array of blog objs by $blog->role according to the order of $blog_roles
// roles not included in $blog_roles array will not be displayed
function filter_blogs_by_role($blogs){
global $bp, $blog_roles;
$blog_roles[] = __( 'Admin', 'buddypress' );
$blog_roles[] = __( 'Editor', 'buddypress' );
$blog_roles[] = __( 'Author', 'buddypress' );
$blog_roles[] = __( 'Contributor', 'buddypress' );
$blog_roles[] = __( 'Subscriber', 'buddypress' );
// get roles
foreach ($blogs as $blog){
$blog->role = get_blog_role_for_user( $bp->loggedin_user->id, $blog->userblog_id );
}
// eliminate roles not in $blog_roles
foreach ($blogs as $key => $value){
if (!in_array($value->role, $blog_roles))
unset($blogs[$key]);
}
// sort by $blog_roles sequence if there are any left
if ($blogs){
usort($blogs, 'compare_roles');
}
return $blogs;
}
// i love php.net. stolen from php.net usort manual, user mkr at binarywerks dot dk's
// contribution for priority list comparision function.
function compare_roles($a, $b){
global $blog_roles;
foreach($blog_roles as $key => $value){
if($a->role==$value){
return 0;
break;
}
if($b->role==$value){
return 1;
break;
}
}
}You can put those two fns in your bp-custom.php file. The fn filter_blogs_by_role() does the work and the fn compare_roles() is just a helper fn.
filter_blogs_by_role() takes the array of blog objects returned by the fn get_blogs_of_user() in the admin bar’s bp_adminbar_blogs_menu() fn. It first gets all the roles for the user’s blogs and then removes all of the roles that are not listed in the $blog_roles array. That way you can eliminate some roles such as ‘Subscriber’ if you want. Next it sorts the blogs by the sequence of roles defined in $blog_roles. However you list them in that array is how they will display in the admin menu.
1) So, put those two fns in bp-custom.php
2) Arrange the roles defined by $blog_roles in the fn filter_blogs_by_role() however you want the roles to appear in the menu
3) Comment out the roles you do *not* want to appear in the menu
4) Put the call to filter_blogs_by_role() on line 133 in bp-core-adminbar.php like this:
if ( !$blogs = wp_cache_get( 'bp_blogs_of_user_' . $bp->loggedin_user->id, 'bp' ) ) {
$blogs = get_blogs_of_user( $bp->loggedin_user->id );
wp_cache_set( 'bp_blogs_of_user_' . $bp->loggedin_user->id, $blogs, 'bp' );
}
$blogs = filter_blogs_by_role($blogs);Just in case the forums trash the code I also stuck it here: http://pastie.org/445729
April 14, 2009 at 2:37 am #42583In reply to: Forum Integration: HELPING HINTS
jfcarter
ParticipantWhen I go into bbpress admin settings, there is no option to enable xmlrpc and pingbacks. Why and what should I do?
1. So far, WPMU, BuddyPress and bbpress have installed.
2. I can create forums in Groups on BP, but I can\’t see them on bbpress
3. When I try to enter a post in the Group forum in BP, I get the red square and error message: “There was an error posting that topic.”
4. Also, even if I’m logged in as admin in BP (which is mapped to Keymaster in bbpress), I still have to sign in again when I reach the bbpress forums.
5. This leads me back to: xmlrpc and pingbacks (why are the checkboxes not visible?)
April 14, 2009 at 2:22 am #42582Burt Adsit
ParticipantYou can pick and choose which bp components to install. If all you want is Friends and XProfile then only install those. You do not have to use the bp home theme at all. It’s optional. You can use whatever wp themes you like on your blogs.
The member theme is not optional however. That’s what gives your users access to the profiles and friend functionality.
April 14, 2009 at 12:14 am #42577In reply to: Taking out Profile Sections
Wythagy
ParticipantGo figure, I post this and I think I find it… buddypress-member > profiles > index.php
April 13, 2009 at 10:57 pm #42575In reply to: Forum Integration: HELPING HINTS
mStudios
Participantyeah, I installed about 6+ times and made it work in the end, but don\’t know what the difference is to the 5 times before that. I was going to write down the exact steps I used but then it was so late and promptly forgotten the next day and now it\’s a week later and gosh, no way to exactly trace back… the only thing I remember was that I simplified and actually did LESS than some of the posts suggest. also, as with the alpha I was constantly getting \’table not found\’ error regarding the user table during install, so I ended up not going with 2 db\’s but added this one to the wpmu db – no more error during install and smooth sailing between the two (except that I still need to put the cookies in, as it will not remember as whom I\’m logged in or if at all when switching between buddypress and bbpress… as an admin and a regular user this can become tricky).
not very helpful at this point (sorry about that), I know, and I dread the time that I will have to go through that setup again, but at least I made it work on this one
April 13, 2009 at 9:39 pm #42574dainismichel
ParticipantLOL!
Wow, yes, I sure would be mega-thrilled if the theme from that JPG were released. Frankly, I don’t even want to launch my BuddyPress community without some kind of cohesive theme where blog owners don’t have to do any configuration.
Is there anything similar or functional available now? Also, were my procedural posts just goofy, or could some of my suggestions work with minimal effort?
–Dainis
April 13, 2009 at 8:43 pm #42573In reply to: Sitewide forums, stop showing group forums…
John James Jacoby
KeymasterIt’s neither actually anymore.
It involves “deep integration” on the bbPress side, including WordPress/BuddyPress inside bbPress, and then making a new theme for bbPress that matches.

Trent and I are working on a comprehensive walk-through on how to do this soon.
April 13, 2009 at 6:31 pm #42570In reply to: How to upgrade to a trunk?
Jeff Sayre
ParticipantFirst, please read this entire thread (all the posts) at least two times through before starting: https://buddypress.org/forums/topic.php?id=1994
Then read through these links:
https://codex.wordpress.org/Upgrading_WPMU
https://buddypress.org/forums/topic.php?id=1285#post-9999
http://subversion.tigris.org/faq.html
https://codex.buddypress.org/developer-docs/installing-through-svn/
Once you’ve done that, have a SVN client installed, and feel confident, go back to the first link in this post and follow the instructions.
From where do I get the most recent versions?
Those links are provided in the detailed instructions contained in the first link above.
April 13, 2009 at 6:14 pm #42567In reply to: Hiding profile from guests?
Jeff Sayre
ParticipantRead this thread and see if that helps:
April 13, 2009 at 5:45 pm #42566In reply to: Excerpt function in RC2
nightstalker101
ParticipantHi,
no reason to be confused.

I Want to use it like here:
https://buddypress.org/developers
In the left colum, under Latest Activity. The site whre I want to use it, as the starting page of my ite, located in the root.
April 13, 2009 at 5:39 pm #42565Deep
ParticipantHi Guys,
I finally managed to fix the issue with the help of Burt.. I really appreciate the help.. very few people go so far and stay till the end.. I was with him on IRC for almost 2 hours..
The issue was related to one of the plugins (Sexybookmarks), the plugin was trying to connect to remote site to fetch some data, the remote site had some problems so was throwing back error 500, so in this process, the server was not able to load the whole page. (May be it was retrying)
We disabled all the plugins and tried enabling all one by one.. and thats how the issue was traced.
Now back to the 1000s of table issue.. earlier I thought it might be causing the issue but later realized that, it was actually not the issue, this is how BuddyPress RC1 behaves to track activity of each user.. it creates 3 tables for each user..
I think like Jeff mentioned, it has been taken care in the latest version over the trunk.. the latest trunk version will fix the issue as I think it stores all the activity in single table.. thus it’s a good idea for the sites with the large user base.
I guess that’s it, all cool now.. issue resolved with the help of Burt (Burtadsit)
Thanks everyone for their inputs.
Regards,
Deep
April 13, 2009 at 4:49 pm #42562thebigk
ParticipantDamn, I”m bit confused. I’m using RC1. Please answer this simple question:
Q> When the stable version of Buddypress is released, will it be possible to migrate to the stable version from RC1?
I’m sure the database tables will be altered. So when I migrate to the stable version, will I be required to do custom database migrations? Or will it be handled by the upgrade script?
April 13, 2009 at 3:05 pm #42555Jeff Sayre
ParticipantThis is what IRC is for people. #buddypress irc.freenode.net
We are posting around each other.
Good point, Burt!
April 13, 2009 at 2:41 pm #42550Burt Adsit
ParticipantThis is what IRC is for people. #buddypress irc.freenode.net
We are posting around each other.
-
AuthorSearch Results