Forum Replies Created
-
In reply to: Get the root blog address
bp_get_root_domain()should do that
In reply to: Member custom profile pagehi Mike
That’s great
well, you may give this a try
In reply to: Member custom profile pagehi there
Well, currently Buddypress allows users to change the text/their images(gravatar) etc. So most of the thing you want is already there.
For your second question, I don’t think there is a plugin which allows selecting font size/color, so this is something which you will not get out of the box.
You may want to take a look at Boone’s plugin tinyMCE for Buddypress. That allows posting rich text data.
Put his inside bp-custom.php and it will redirect the users to group directory
<?php
add_filter("login_redirect","bpdev_redirect_to_group",100,3);
function bpdev_redirect_to_group($redirect_to_calculated,$redirect_url_specified,$user)
{
/*if no redirect was specified,let us think ,user wants to be in wp-dashboard*/
if(empty($redirect_to_calculated))
$redirect_to_calculated=admin_url();
/*if the user is not site admin,redirect to group directory*/
if(!is_site_admin($user->user_login))
return bp_get_root_domain()."/".BP_GROUPS_SLUG;
else
return $redirect_to_calculated; /*if site admin or not logged in,do not do anything much*/
}
?>Hope it helps
In reply to: bp_displayed_user_username or another?You are right, It will work on members page only, as it uses $bp->displayed_user which is set for member pages only.
You can accomplish the same by using function
“bp_core_get_username” on any of the pages. take a look at the function definition.
Try this one.
Put this line in bp-custom.php or wp-config.php and It should make the user names with special characters work.
define( 'BP_ENABLE_USERNAME_COMPATIBILITY_MODE', true );In reply to: bp-sn-parent: Cannot modify header warningWell, which theme you are using and which plugins, I can take a look again and will be willing to help further.
In reply to: Problems instaling BP in a sub-blogYou need to put following in your bp-custom.php or wp-config.php
define("BP_ROOT_BLOG",blog_id);Change blog_id with the id of the blog where you have enabled BP. This should solve the issue.
In reply to: Not a spammer but marked as a spammer?If you are on Wordoress Mu
Dashboard->SiteAdmin->Users
search his username and check it, then there is a button above the listing for Not Spammer, that should do it.
In reply to: BP Album vs BP Galleryhi Ray
hope you wont mind my earlier post .
Please take a look at my response to Travel-Junkie’s query here
https://buddypress.org/forums/topic/gallery#post-32530
If I release the plugin as it is now, for free, I am not sure I will be able to support the plugin as there will be a helluva lot of questions each and everyday until the plugin is mature enough. We are dealing with media and I know what sort of issues can come as of my experience from now. That’s why I always said It will be available as free as soon as the people think it’s mature enough.
Again, I support you guys developing album+, It was a need here and hopefully, when gallery stable is released I am going to point the people to album+ for a lighter/fee alternative as it seems now.
hmm
correcting my previous post.
You should rather change that to
z-index:100; /* or anything below 999*/
as you have two drop downs there.
hi there
yes, you are absolutely right, it is a css problem

remove
z-index:999
from line 245 of the wp-content/themes/aperture/style.css and it will work.
Hope it helps
In reply to: Subfolder now Root .com FolderPerhaps this is because you are leaving the sources in the sub directory.
An easy solution will be
1. export the database using PhpMyadmin
2.Do a search fro “OfficialManCard.com/omc” and replace it with “OfficialManCard.com”
3. Move the whole sub directory to root of site.
4. Drop the tables from the database
5.Import the modified database tables to the database
6. Login to wordpress and re save your permalink.
and Hopefully everything should work.
I will advise to do a test on local server/system before doing this sort of thing on server.
In reply to: BP LinksThe better way is Include wp-load.php in your PHP bb’s header (use absolute path for the wp-load.php) and you will be able to call everything wp-related there.
In reply to: Auto upgraded BP, now site is nonfunctionalTry to rename wp-content/plugins/buddypress to something else and then access your site.
Is your sites front end accessible from http://www.website.com/main/. where you had it.
Is it wordpress/wpmu.
I guess, most probably, it should be an issue with the siteurl in the database. You might have given it to http://www.website.com/ at the time of installation, please check and provide more details.
In reply to: BP Album vs BP Galleryhi all
Just got pointed to this thread, so I thought, I need to chime in .
I am happy to see the BP Album+ coming as a successor of Manoj’s Bp-Picture album, I am not very happy with the criticism here for the gallery, and I thought, I will express it here.
First of all, I don’t want to go into the details of opensource philosophy, but what about RedHat Enterprise in case of Linux. People prefer them because Redhad has more reliability over it’s free alternative(e.g centOs and others). Let the choice is in the hands of End users, and GPL does not restrict to charge for code/distribution.
For your questions:-
1.Being free/opensource does not guarantee quality, what are the measures of quality, let me know, I will be glad to allow someone who want to do quality analysis have access to the code and post his/her review here.
I have no objections, if you say, gallery is paid and you will avoid using it, but Gallery has much better code quality than most of the plugin available free. And I am ready to go through any quality analysis process to make sure, what I say is correct. I will urge, do not predict anything, if you have not seen the code.
2.Delays:-
If you know, buddypress 1.2 had scheduled release date of 2nd week of Dec, but it was released after 15th Feb, so the core project got delayed for 2 months from it’s original schedule date. and You know, any project which depended on it, got delayed too, and to add that, from Rc1 to RC2 transition for buddypress broke many things. How about that ? The Rc2 is coming tonight for your info.
3. No of contributor: How many contributors buddypress had before the joining of JJJ, only one, and He was Andy, so how do you felt at that time ?
4. GPL::- Have you seen the license for Gallery:- IT is GPL and will remain that, so If I leave development(which is not going to happen in near future), anyone can go ahead and do that. I choose GPL to allow others to use it in case something happened wrong with me, otherwise I might have opted for more restrictive license. I will advise to read terms at my site, it specifically says, until and unless mentioned, everything available there is GPL. Each and every component available/coming are/will be released under GPL only.
6.Code Quality: You are most welcome to check the code, and see where the gallery code compares to any of the plugin available for Buddypress.
7.As far other programmer are concerned, a few most respected programmers of the buddypress community have access to the plugin(I am not going to mention their name), may be they can chime in if they want.
8.Extendability:- Currently, gallery supports user galleries,group galleries, and has well written filters,action to hook gallery with any component, be it events/blogs or what ever new component which has a presense of its own. I agree I have not provided a user documentation, where is the documentation for other well written plugins for Buddypress ? Can you point me to a few? and I assure, I will provide the documentation before the final release. Documentation will come after the stable is out.
9. Supporting Plugin: Is there any one paid plugin/free plugin/themes on Buddydev which is not supported, point me, I will change my statement here.
10. Why do you think BP Gallery to be released as opensource is nill, It is currently released as opensource but paid. You should rather correct and ask what are the probability of getting it released as free(It is already opensource, and there are so many differences between free/opensource).
I have mentioned it again and again, It will be released as FREE on/before bp 1.3, and I have mentioned it to all the members/ here in the community too. So, you should still be happy to know, I will release it as free before bp 1.3.
I am not pulling $30,000, at all, and neither I am pulling $3000 per month, it is much lower. and there are very few paid members, there are thousands of free members there. If I had to charge, I would have rather charged much higher not the mere $30.
Please do not make it as an issue, I wish the development of BP Album+ all the best and If you need any assistance, do Let me know, I will be glad to help you as I have done these things for gallery.
It will be better if we concentrated on the purpose of this thread.
Thanks
Brajesh
In reply to: Links in the admin bar?You have renamed the admin user to something else which is causing trouble.
Check this is working for now
http://dteens.net/members/admin/
Have a look at this ticket for more details
https://trac.buddypress.org/ticket/1532
Hope it helps.
In reply to: Need help locating the activity-header codeIt is in the activity/entry.php
Take a look at the entry.php, this function does it in bp 1.2
<?php bp_activity_action() ?>Hope it helps
btw,If you are wondering, why this happened.
the problem is with bp_core_set_uri_globals function In Bp.
See the ticket here
https://trac.buddypress.org/ticket/1726
If you install bp in a folder whose name coincides with one of the component slug, the component is not accessible until you change the component slug to be different than the folder name.
In reply to: Add infomation bellow Log out buttonIf you are using bp 1.2
It is in bp-default/sidebar.php
If you want, you can use this action “bp_sidebar_me” to add extra info.
In reply to: FAQ: How To, Code Snippets and SolutionsYes, there is one

Instead of bp_member_id() use
bp_member_user_id()Inside the loop and It will give you the desired result.
you should filter on
bp_ajax_querystringWatch How Andy has done it in ‘bp_dtheme_ajax_querystring`
Just extend it when the object is groups and manipulate as you want.
In reply to: Like it? Vote it!Voted
and yes, It is working for me, so reported it works 
Cheers!
hi David
As I mentioned above, it is nothing but a hack of the bp_get_page_title, here is adaption you can use
add_filter("bp_page_title", "bpdev_blog_title",10,2);
function bpdev_blog_title($complete_title,$title_old){
global $bp,$current_blog,$wp_query,$post;
if ( bp_is_blog_page() ) {//if this is blog page
if ( is_single() ) {
$title = __($post->post_title, 'buddypress' );
} else if ( is_category() ) {
$title = __( 'Categories | ' . ucwords( $wp_query->query_vars['category_name'] ), 'buddypress' );
} else if ( is_tag() ) {
$title = __( 'Tags | ' . ucwords( $wp_query->query_vars['tag'] ), 'buddypress' );
} else if ( is_page() ){
$title = $post->post_title;
}
if ( defined( 'BP_ENABLE_MULTIBLOG' ) ) {
$blog_title = get_blog_option( $current_blog->blog_id, 'blogname' );
} else {
$blog_title = get_blog_option( BP_ROOT_BLOG, 'blogname' );
}
if(!empty($title))
return $blog_title . ' | ' . esc_attr( $title );
}
//so on blog home page, It will show Blog,reason we have excluded that page
return $complete_title;
}Hope, It should help you, you can modify the various titles as you wish for the category/tags etc.
ahh alright, you are either missing the one or the other. hmm.. I think, I should have pasted both the piece of code together.
Well, here it goes, and I hope, this must work

add_filter("bp_page_title", "bpdev_blog_title",10,2);
function bpdev_blog_title($complete_title,$title_old)
{//hack page title for single article
global $bp,$current_blog,$post;
if ( bp_is_blog_page() ){
if ( is_single() ){
$title = __( $post->post_title, 'buddypress' );
if ( defined( 'BP_ENABLE_MULTIBLOG' ) ) {
$blog_title = get_blog_option( $current_blog->blog_id, 'blogname' );
} else {
$blog_title = get_blog_option( BP_ROOT_BLOG, 'blogname' );
}
return $blog_title . ' | ' . esc_attr( $title );
}
}
return $complete_title;
}Please use the complete code and put it into your bp-custom.php. let me know If it still does not work.