Search Results for 'buddypress'
-
AuthorSearch Results
-
April 14, 2009 at 6:37 pm #42653
In reply to: Let’s define our goals and get together
John James Jacoby
KeymasterLet me try and answer this diplomatically because this seems like spam without being spam to me…
BuddyPress isn’t Facebook, and it really doesn’t have any intentions of trying to imitate it. That’s up to an audience of GPL contributors to try and mold and shape it into that, if they so choose.
BuddyPress also has a test development site already, to flex its muscles and allow people to use it as they like. testbp.org.
There are unlimited domains available, with unlimited hosting and bandwidth options. None of what you’re offering really has anything to do with BuddyPress other than using it for potential profit. Contributing a domain that specializes in spreading bad news isn’t any part of Automattic’s roadmap that I’ve seen, so don’t count on getting any hosting.
If what you’re doing is offering a business opportunity to specific individuals, you should contact them privately and see if they’re interested.
(I’m locking this for now. If any other staff feels like re-opening it for discussion, go for it. My gut tells me this isn’t what the forums here are for.)
April 14, 2009 at 6:30 pm #42651In reply to: bp-Events plugins directory question
nicolagreco
Participantto add stuff under the buddyrpess menu in wp admin it’s not needed to keep your plugin in /plugins/buddypress :S
look here from the bpdev-admin.php code
add_menu_page(
'BPDEV Admin',
'BPDEV Admin',
2,
'bpdev-admin',
'bpdev_admin_settings_page',
BPDEV_PLUGINS_URL . '/bpdev-core/images/icon.png'
);
add_submenu_page(
'bpdev-admin',
'All Plugins',
'All Plugins',
1,
'bpdev-plugins',
'bpdev_admin_plugins'
);so, the first create a new item, the second a new sub-item, you should create a subitem like that
add_submenu_page(
'buddypress', <== check this on the code
'My Plugin',
'My Plugin',
1,<= Position
'bpdev-plugins', <= Slug
'bpdev_admin_plugins' <= callback
);put it in a function and
add_action( '_admin_menu', 'my_function_with_my_menus' )April 14, 2009 at 5:36 pm #42648In reply to: Admin cookies – bbpress login
John James Jacoby
KeymasterThis is the greatest challenge of all.
Read the integration tutorial at this website.
Read it again. Read it again. Read it again.
Follow all steps, exactly.
Use Firefox and check the cookies that are being placed when you login to BuddyPress. Chances are that you skipped a step somewhere, or that one of your cookies or plugins is out of alignment.
It is possible and they can play nice together.
April 14, 2009 at 5:33 pm #42646In reply to: Xprofile: Just show first Letter of last name
John James Jacoby
KeymasterHere is what I would do… And what I do mostly on all of my BuddyPress installations…
In your BuddyPress->General Settings, make the “Full Name field name” be called “Display Name” or in your case “First Name/Last Initial”
That way, people know right away what you want shown there. You won’t need to baby sit them because it says right there what you want entered. Most people will follow suit, and the ones that don’t, what’s the diff?
(Notice I use my middle name here on bp.org?)

Then, create extra fields for First Name and Last Name, for yourself to use. Make them visible if you’d like, or whatever.
This way you’re not trying to create a crazy filter to micro manage anything.
April 14, 2009 at 4:18 pm #42643In reply to: HOW TO: change order of the sign-up extra fields
Jeff Sayre
Participant@Enlightenmental1-
It seems like you’re on the right path!
it’s BP-tos….?
Just to let you know, the “bp” at the beginning of a plugin does not mean that it is an official, supported BuddyPress component. The same goes with the “wp”. Plugin developers can name their plugins whatever they want.
That is what the TOS and Captcha developers did.
April 14, 2009 at 3:20 pm #42638In reply to: Welcome Pack update request
peterverkooijen
ParticipantDoes Welcome Pack have options to customize the activitation email (without messing up wpmu-functions.php) and insert the actual first name or full name of the new user in ‘Dear User’?
I’ve asked about that here. Burtadsit said you were working on this.
Apologies I haven’t even tried Welcome Pack yet. I’m in the middle of my day job. Shouldn’t even be here…
April 14, 2009 at 3:18 pm #42636In reply to: bp-Events plugins directory question
Jeff Sayre
ParticipantOkay, not a new hook per se, but a new admin menu group (BuddyPress) to which you should be able to add additional submenu pages. It still uses the add_action call to a WPMU hook (admin_menu).
Look at how its done in bp_core_add_admin_menu() in bp_core.php. Then, additional submenus under BuddyPress menu group are added in other BP components–like xprofile_add_admin_menu() in bp_xprofile.php.
April 14, 2009 at 2:00 pm #42627In reply to: bp-Events plugins directory question
Erwin Gerrits
ParticipantJeff, how do I add it to the BuddyPress menu in the backend? Are there new hooks?
April 14, 2009 at 1:42 pm #42626In 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
-
AuthorSearch Results