Forum Replies Created
-
hi
well I got your idea better now.You want something like twitter where a person writes to his her own wall.
In that case ,there are a few things you can do.
1.add filter to change the wp_wire_action
something like this
function my_bp_wire($wire)
{
global $bp;
if(is_home())
return get_bloginfo('wpurl');
else
return $wire;
}
add_filter("bp_get_wire_get_action","my_bp_wire");
2.Create your own handler for handling the wire post action.here your item of interest will be functions
bp_wire_new_post
also, you may like to take a look at bp-xprofile.php and the function xprofile_action_new_wire_post
to see how the wire posts at handled at profile page.You jaust have to digg a little deep and create a hacked version of the xprofile_action_new_wire_post,as your own function ,so if someone posts at the site’s home page,It is correctly saved as wire post.
Let me know ,How it goes with you.
hi David
No you can not do it in that way.You need to follow the process for migrating from wordpress to wordpress mu.
1.Export your posts/pages
2.take a backup of your wp-content directory
3.Take a backup of database(in case you need it to revert back)
4.remove the wp from server and install wpmu
5.Import the posts from your export file
6.Upload the uploads ,themes directory to wp-content/ in your new installation
If you have a website with thousands of posts,then export import may be trouble.you may follow this instructions in that case
http://welcome.totheinter.net/2008/10/04/how-to-migrate-from-wordpress-to-wordpress-mu/
Hopefully it helps.
try this one…
locate_template( array( '/wire/post-form.php' ), true );
It should put the form there
hi David
This seems to be a memory limit issue
Ask your webhost to allow more memory or if you can edit php.ini then
change the value for ‘memory_limit’ a little bigger.That should help.
hey
Sorry ,It is there but it is outside the code block(gray area),seems my keyboard played wrong with me
,so it is not showing in the gray code area.If you are copying the gray code only ,add an extra ‘} ‘ ,as suggested by nexia .Or if you copy upto oneline below the code block in my post ,that ‘}’ is included
WordPress /buddypress does not do anything special to images.By default the avatars are saved as square(same height and width),so if you keep the ratio,the image looks good as it gets scaled down by css,otherwise say you make the height and width different ,It gets stretched.just for clarification
hehe.. you are most welcome

Yeh buddypress.org is using buddypress but the theme is a custom theme which is not available freely
,so you may have to wait until Andy decides to make this theme available for everyone.but I don’t think so,as He will like to keep the look of this site unique
hi,yes, you can.
Put this code in your current themes functions.php and it will make it work.
add_filter("site_url","my_custom_register_url",10,3);
function my_custom_register_url($url, $path, $orig_scheme)
{
if($orig_scheme=
"login"){
if($path=
"wp-login.php?action=register")return get_option('siteurl')."/register";
}
return $url;
}
Let me know it worked for you or not
hi there
well,so your subdomain style issue is solved.
For the random non existing subdomain behavior is expected by wpmu.since you are using buddypress default theme ,so you will not be able to see wp-signup.php and it is one of the most discussed topic here in forum.just search it.
If you are trying to create forums (as you may be thinking of standalone forum in bbpress),this is not implemented in that way in buddypress.In buddypress ,the bbpress (internal integration) is used for creating forums with groups and they do not have a separate admin.You can enable forum from group admin screen for a particular group.
As far as I know and my experiences with shared hosting,you won’t be able to install wordpress mu on addon domains.If you are able to install wpmu on addon domain ,then buddypress should work without any problem.
no,just enable wildcard subdomain for one time.
All the new and existing signups will work seamlessly.
make sure you have at least one subdomain like *.yoursite.com
hi there
First ,you are saying that it is a directory install ,which is not correct as you are mentioning that you made sure ,the blogs get address like user.yoursite.com [It is called subdomain style]
Now for this to work, you need to configure your wildcard DNS and sub domains.
If you on a capanel it is very easy.Login to cpanel,create a subdomain *,like say *.yoursite.com and go and check again ,the blog should be working now.
Hope it helps.
have you copied the buddypress themes to themes folder and activated default theme.
Does your wpmu works before activating the buddypress.
Please have a look here
https://buddypress.org/forums/topic/when-asking-for-support
and provide more details.
hi
well,have a look at the docs here.
these should be helpful in creating the plugin
About the $bp
https://codex.buddypress.org/developer-docs/the-bp-global/
Conditionals
https://codex.buddypress.org/developer-docs/conditional-template-tags/
and may be a look at this
https://codex.buddypress.org/developer-discussions/buddypress-template-tags/
Mainly with the help of conditional and $bp ,I hope you can do it.
are you using the default theme with buddypress or something else.
hi Andy
You were right.I just changed one line in bp_core_fetch_avatar and it worked .No more ids ,no more problem

I changed
return apply_filters( 'bp_core_fetch_avatar', "<img src='{$avatar_url}' alt='{$alt}' id='{$css_id}' class='{$class}'{$html_width}{$html_height} />", $params );
to
return apply_filters( 'bp_core_fetch_avatar', "<img src='{$avatar_url}' alt='{$alt}' class='{$class}'{$html_width}{$html_height} />", $params );
Thanks
Brajesh
Thanks for the suggestion DJPaul
I will take another look at the bp_core_fetch_avatar and see if I can implement the code to remove id and upload to trac if done.
and yeh David,I agree with you,the ids should not be used for things which are supposed to exist multiple time on the page.
hey
Just to keep you posted.I am working on this for a new theme of mine,But for me,I have been doing it on and off and I hope to complete it in next 2 weeks.Then I will release the enhanced here.If someone can do it before ,then that will be great.
btw what you people think,A separate breadcrumb plugin for buddypress which shows the “home” for the profile page and say edit profile page as “Home”->Edit profile will be better or just extending the wordpress plugin ,which shows Home(for the main site)
Edit:I tried twice to post the complete code,but no success.
well here is what you need
use bp_get_loggedin_user_link().It will point to user profile.Use it with a combination of is_user_logged_in() mto make it more useful
hi Arezki
I am glad,I could help.
well,please have a look at the _inc/css/layout, you will see different folders for home page etc.There you can edit the code.For Home page(if you are using default home page,as I see)
You can edit the _inc/css/layout/home-page/3c-right.css
just set the width for #first-section
Thanks
Brajesh
You can use the same way here,except that the call will be to locate_template not the old function.
‘<?php locate_template( array( ‘optionsbar.php’ ), true ) /* Load the currently displayed object navigation */ ?>’
It is inside the conditional for your safety(you see it is in header.php by default and will appear on your site home page/other blog pages if you don’t put the conditional there).
If you want to use it in old way,just move the above section from header to your template file and It should work.
hi Arezki
have a look at the bp-defult/_inc/css/screen.css and bp-default/_inc/css/adminbar.css
There you will find the css for these.
The best way to make change is get the firebug addon for mozilla and inspect the element and make the changes.
Hope it helps.
you are most welcome

Well,just go to your current theme and edit registration/register.php,remove the line saying “You have successfully created your account! To begin using this site you will need to activate your account via the email we have just sent to your address”.
you will see it somewhere written under
‘<?php if ( ‘completed-confirmation’ == bp_get_current_signup_step() ) : ?>’
Remove that.
Better I just suggest to remove the avatar uploading step,as the account gets already activated and the uploaded avatar(the second screen of registration)(which earlier were used at the time of activation will not work)
so,If you are using un modified default theme,you can remove the code from line 215(where the if starts) to 276,where the if ends safely.
Please note,The avatar uploading step at registration will not work,so just remove that step.that’s it.
Thanks
Brajesh
hi korban
I had worked on the same concept and came out with my own plugin.
You can download it using the following link
http://www.thinkinginwordpress.com/download/bp-auto-activate-user-and-blog2.zip
Upload it to wp-content/plugins activate and it will remove the confirmation email.
It works with buddypress 1.1.x .Please note it will not work with buddypress 1.0.3
Hope it helps.
thanks
Brajesh
hi
Have a look at buddypress/bp-blogs/bp-blogs-widgets.php,you will see the code for recent sitewide posts there.
and here is what you need to do.
on line 44-46 you will see something like this
<?php if ( !$counter ) : ?>
<div class="item-content"><?php echo bp_create_excerpt($post->post_content) ?></div>
<?php endif; ?>Change this to
`<div class=”item-content”><?php echo bp_create_excerpt($post->post_content) ?></div>’
Hopefully,It will help.
Another way,copy the widget code,modify it and create your own widget to preserve in future updates.
regards
Brajesh
hi
You can use the existing/stand alone bbpress instllation.
from the backend buddypress->forum setup->use existing bbpress installtion.
Now if you have installed the buddypress on the root domain,and you want the url
yoursite.com/forums for standalone bbpress forum,You will have to make some changes.
Since with bp 1.1 yoursite.com/forums is used as the forum directory, you need to change that forum slug or install bbpress at some other url,say yoursite.com/some-forum