Search Results for 'buddypress'
-
AuthorSearch Results
-
March 13, 2009 at 12:33 am #39876
netspencer
ParticipantOrigionally, BuddyPress was designed so the user profiles was one of the blogs…. user.domain.tld.
and so that would go to todays equivalent of domain.tld/members/user. since that was the case, the theme for those blogs would be the member theme, and to access that users blog the url would be: user.domain.tld/blog. because of this, the users blog would be incorporated into their profile.
Now, buddypress users profiles are completly unrelated to blogs and reside at a different URL. Therefore, for a user to create a blog, they would make one just like they would on a normal wpmu installation and choose from any installed (and enabled) theme.
if you want the blogs to be incorperated into the theme, maybe you could modify the member theme into a standard blog theme, name the folder default and don’t enable any other blog templates for the site.
this way, when a user creates a new blog, your theme (default) will be set for it. and it will load more seamlessly.
BTW: i don’t think there is a way for u to get the exact theme from the picture and have it work but maybe you can ask someone about that.
March 13, 2009 at 12:33 am #39875In reply to: Blogs Using BP Theme
sebastianmacias
ParticipantDoes anyone know what would be the best way to get this level of integration of blogs and buddy press?
https://apeatling.files.wordpress.com/2008/06/blog.jpg
I found that screenshot here: http://apeatling.wordpress.com/2008/06/12/new-buddypress-theme/
Thanks,
Sebastian
March 12, 2009 at 9:11 pm #39867In reply to: Limit Amount of blogs a user can register
John James Jacoby
KeymasterI would do this by going into
/member-themes/buddypress-member/blogs/create.phpand doing…<?php if ( bp_blog_signup_enabled() ) : ?>
<?php
global $bp;
$blogs = bp_blogs_get_blogs_for_user($bp->loggedin_user->id);
if ($blogs['count'] != 9)
{
bp_show_blog_signup_form();
}
else
{
?>
<div id="message" class="info">
<?php _e( 'Limit nine blogs per member. If you would like another, please contact an Admin for assistance.', 'buddypress' ); ?>
</div>
<?php
}
?>
<?php else: ?>
<div id="message" class="info">
<?php _e( 'Blog registration is currently disabled', 'buddypress' ); ?>
</div>
<?php endif; ?>Just remember not to overwrite the member theme if you do a BuddyPress update.
March 12, 2009 at 9:03 pm #39865In reply to: Link leads to the wrong place
John James Jacoby
KeymasterHahah! If by sexy sexy you mean dedicated BuddyPress supporter, then I’m forced to agree.

Thanks for greening this.
March 12, 2009 at 8:56 pm #39861In reply to: Link leads to the wrong place
John James Jacoby
KeymasterWhooops! (Edited original post to avoid confusion also.)
<li><a href="<?php echo $bp->root_domain; ?>/forums/" title="<?php _e( 'Forums', 'buddypress' );?>"><?php _e( 'Forums', 'buddypress' );?></a></li>March 12, 2009 at 8:49 pm #39858In reply to: Link leads to the wrong place
John James Jacoby
KeymasterPhil,
you’re going to want to do something a little more codey…

<li><a href="<?php echo $bp->root_domain; ?>/forums/" title="<?php _e( 'Forums', 'buddypress' );?>"><?php _e( 'Forums', 'buddypress' );?></a></li>I haven’t tested it, but I’m pretty confident.

You could go a step further and put this into a hook function, but lets try this for now and see if does what you want.
March 12, 2009 at 7:34 pm #39844In reply to: Translating BuddyPress
oldskoo1
ParticipantSounds like you have tried to edit the POT file in a text editor by doing something like a find and replace.
Or – you haven’t filled in all the headers correctly
Download the latest POT here : https://svn.buddypress.org/trunk/bp-languages/buddypress.pot
Before opening in POEDIT, open it in your fav text editor, lines 8 to 16 (assuming word wrap isn’t on) need to be filled in with your own values. Save and close
Open with POEDIT and make your changes in there and save.
March 12, 2009 at 7:19 pm #39843In reply to: my ideas to make buddypress better
oldskoo1
ParticipantSounds like there is a lot yet to come from BP
I do think that the BP core should be as solid as possible and then increase features by the use of plugins.
It is sometimes a bit annoying to find really great software thats full of bloat and things that aren’t needed. So provided the core is solid features can be extended with plugins.
That imo creates great software.
March 12, 2009 at 5:22 pm #39839In reply to: Translating BuddyPress
tamphet
ParticipantHi all,
I am using Poedit to translate the BuddyPress file. When I save the file, I always get this error message
11:23:10:
wampwww8phetwp-contentmu-pluginsbp-languagesbuddypress-vi.po:844: a format specification for argument 1 doesn’t exist in ‘msgstr’11:23:10:
wampwww8phetwp-contentmu-pluginsbp-languagesbuddypress-vi.po:2566: a format specification for argument 1 doesn’t exist in ‘msgstr’11:23:10: msgfmt: found 2 fatal errors
Some lines work, and some don’t. Can someone help to correct this error?
Thanks
March 12, 2009 at 5:19 pm #39838In reply to: my ideas to make buddypress better
gordielachance
MemberNice ! I can’t wait to see next release.
Also; you should
-add “online” with “Newest | Active | Popular” in the members widget…
March 12, 2009 at 4:07 pm #39829In reply to: friends online widget plugin extension
ngsonst
Participant@nicola: Thanks a bunch for looking at the code!!! And anyways for your work at bp-dev.org!!!
___
below is the code, it doesn’t work. th error message is:
Warning: Invalid argument supplied for foreach() in ../mu-plugins/ng-who_is_online_2_friends_ver0001.php on line 17
i am getting the feeling the project is way over my head. because i have really no experience in coding my self or on my own. until now i only worked with the given code of word- and buddypress, without diving deeply into php-programing.
therefor i am not even sure if it’s the right way to begin. my thought process was that the friends widget i have is identifying friends by their id’s. so the thing to do is comparing these id’s to those of the users online.
maybe that thought apart is over simplified. otherwise it could just as well be the case that my understanding for php isn’t enough.
possibly the best idea would be to buy a book about php.
learn more about it and then begin to build widgets. otherwise it might be not that complicated, if you have the skills.<?php
function bp_friend_o_avatar_thumb_mini( $template = false ) {
global $bp, $current_blog;
$options = get_blog_option( $current_blog->blog_id, 'bp_friend_o_avatar_thumb_mini' );
$friend_ids = BP_Friends_Friendship::get_random_friends( $bp->displayed_user->id );
$users = BP_Core_User::get_online_users($options['max_members']);
?>
<?php if ( $friend_ids ) { ?>
<?php for ( $i = 0; $i < count( $friend_ids ); $i++ ) { ?>
<?php foreach ( $friend_ids[$i] == $users->user_id as $friend_ids ) : ?>
<a>"><?php echo bp_core_get_avatar( $friend_ids[$i], 1,/** here you can change the thumbnailsize **/ 32, 32 ) ?></a>
<?php endforeach; ?>
<?php } ?>
<?php } else { ?>
<?php } ?>
<div class="clear"></div>
<?php
}
function ng_fs_o_usersidebar() {
echo '<link rel="stylesheet" type="text/css" href="' . get_settings('siteurl') . '/wp-content/mu-plugins/ng-fs-sb/fs.css" />';
?>
<div id="widget">
<ul id="friend-list_sb" class="item-avatar">
<li>
<?php bp_friend_o_avatar_thumb_mini() ?>
</li>
</div>
<?php }
function Widget_ng_fs_o_usersidebar($args) {
global $bp;
extract($args);
echo $before_widget;
echo $before_title;?>
<?php bp_word_or_name( __( "Friends", 'buddypress' ), __( "Friends", 'buddypress' )/*__( "%s's Friends", 'buddypress' )*/ ) ?> (<?php echo BP_Friends_Friendship::total_friend_count( $bp->displayed_user->id ) ?>) <a>displayed_user->domain . $bp->friends->slug ?>"><?php _e('All', 'buddypress') ?> »</a>
<?php echo $after_title;
ng_fs_o_usersidebar();
echo $after_widget;
}
function init_Sidebar_BP_ng_fs_o_sb()
{
register_sidebar_widget(__('ng_fs_sb'), 'Widget_ng_fs_o_usersidebar');
}
add_action("plugins_loaded", "init_Sidebar_BP_ng_fs_o_sb");
?>March 12, 2009 at 8:23 am #39814In reply to: BP-FBConnect Plugin
Joss Winn
ParticipantTrent, users connecting with fb connect should never have to disclose/change their password to BuddyPress. That’s one of advantages to the user of joining through fb. The user should be able to enjoy the benefits of multiple services with a single profile of protected data.
March 12, 2009 at 7:28 am #39813In reply to: Categorize Groups
chriscano
MemberHey Nicola, could you (or anyone else) give me further details on how to create a function that allows categories for groups in BuddyPress?
I would like to force users to choose a category for their groups, and then list the categories on the home page. Clicking the categories should show a list of the groups in that category… something like that. Any ideas?
Thanks a bunch.
March 12, 2009 at 6:50 am #39811In reply to: my ideas to make buddypress better
John James Jacoby
KeymasterThere is a BP Auths project in the works for after the 1.0 release. The scope of it is to do exactly what you speak of and more.

Some of those are good ideas that have already been added to the trac as enhancements. Others are already plugins by other authors, or could be potential plugins for later on.
I would say check out the BuddyPress roadmap, and search through some existing enhancement tickets and get a feel for what’s out there and what’s coming. If you think your ideas deserve to be an integrated part of BuddyPress, then add a ticket to the trac and the devs will take it into consideration for the future.
March 12, 2009 at 6:25 am #39808In reply to: Widget Ajax Members Group Problem
John James Jacoby
KeymasterIf this is still an issue for you all, I would recommend upgrading to the most recent trunk of BuddyPress and trying this one again.
The Permalink issue with using /%category%/ or /%postname%/ in the custom URL has been fixed for a few days now, and this was causing all sorts of grief for a few different areas; javascript references, avatars, functions.php, etc…
March 12, 2009 at 4:28 am #39798In reply to: Change blog Avatars?
John James Jacoby
KeymasterStill stuck for now. This is on the roadmap for after the 1.0 release. Everyone knows it isn’t beautiful, but since a blog image wasn’t part of WPMU, it’s pretty much just a placeholder for BuddyPress for now, to show that it is going to be a reality.
March 12, 2009 at 3:53 am #39797In reply to: Plugin: PmWiki in Buddypress.
Farms
ParticipantAhhhh… the wpmu + buddypress + integrated wiki platform question. Something we’ve actually spent quite a lot of time thinking about ourselves!
– First up, unfortunately there’s nothing out there

– Secondly, a third party approach is definitely a decent idea as good wikis are hard to build!
– But finally, that’s not as easy as it might at first appear – and you might end up wanting to simplify things a little and build a native plugin (which is what we’ve been toying with for sometime).
You can actually see an example of a very basic (internal) wiki setup over at our Edublogs Campus sandpit site: http://universityofblogs.com
U: admin P: pass (gets wiped every hour)
First up there’s our (pree BP
communities: http://universityofblogs.com/wp-admin/communities.phpAnd as you can see each community gets its own uber simple wiki, for example: http://universityofblogs.com/wp-admin/communities.php?action=wiki&cid=1
Am not pitching http://edublogs.org/campus/ (well, ok, I am a bit
but rather I think it’s an example of what you can get done in a fairly simple way.Of course though – having an extra ‘communities’ tab is kinda counter-BP-stylee… so you can make your mind up on that too, I’m sure most of the regulars around here would definitely see mucho lacking in our setup as opposed to BP (as do we!)
Hope that helps.
Cheers, James
March 12, 2009 at 12:38 am #39794In reply to: Avatar Problems (Hopefully) Solved
benny148148
Participantare you able to force the Facebook Connect Avatars to do the same thing? This exact same issue is presented with FB Avatars in BuddyPress.
March 11, 2009 at 10:50 pm #39790In reply to: BP-MarkItUp 0.1 enables markItup! in your buddypress
Andy Peatling
KeymasterMake sure you submit this to the WP plugin repo and tag it with “BuddyPress” in your readme file.
March 11, 2009 at 10:02 pm #39786In reply to: my ideas to make buddypress better
gordielachance
Member-rather than limiting access to members only, a perfect feature would be that the user choose (if permitted – I mean, choices allowed should be defined by the admin) how he wants to protect his profile : for each group of fields; public | members only | groups | friends.
I think this would be rather necessary !
March 11, 2009 at 8:29 pm #39779John James Jacoby
KeymasterThat is a good idea for a plugin.
Is this something you are recommending be included with BuddyPress, or that someone optionally make this for you?
If you want it to be part of BuddyPress, add it as an enhancement by using the Trac:
https://trac.buddypress.org/login
You can use your same login and password as for these forums.
Create a new ticket, and under type, select “enhancement.”
If you’d like someone to take this task on for you privately, you will want to explore being added to one of the development mailing lists (which I don’t have a link to right this second but will find for you shortly.)
March 11, 2009 at 7:29 pm #39772In reply to: How to translate BuddyPress?
tamphet
Participanthow are “the settings…” set??
I use the Poedit to do the translation. I always get this error message.
11:23:10:
wampwww8phetwp-contentmu-pluginsbp-languagesbuddypress-vi.po:844: a format specification for argument 1 doesn’t exist in ‘msgstr’11:23:10:
wampwww8phetwp-contentmu-pluginsbp-languagesbuddypress-vi.po:2566: a format specification for argument 1 doesn’t exist in ‘msgstr’11:23:10: msgfmt: found 2 fatal errors.
I believe that related to Settings…. But I don’t know how to set it.
Can someone help please.
thanks
March 11, 2009 at 5:47 pm #39769In reply to: Hooks and things …
Burt Adsit
ParticipantMarch 11, 2009 at 3:45 pm #39766In reply to: Hooks and things …
Erwin Gerrits
ParticipantFirst, read this webpage:
https://codex.wordpress.org/Plugin_API#Actions
That’ll explain the basics of hooks and filters. If you want to know which hooks are in BuddyPress, scan through the source code and look for do_action() functions as well as apply_filter() functions, those are your hooks, and you can “hook” into them using the functions add_action() and add_filter() respectively. I don’t think there’s too much documentation around for BuddyPress hooks, so it’s best to look into the file/function you want to extend and find your hooks.
March 11, 2009 at 1:03 pm #39748Donnacha
ParticipantGood points although I still think that if a user actually uses their blog, they will be aware of the difference between that and their wire. I mean, you have to consciously dip down into your blog, you are clearly no longer in the profile space.
“Anyone familiar with Twitter doesn’t need help becoming comfortable with what’s going on.”
Perhaps the comparison with Twitter is a little misleading, insofar as the visitor does not see the Twitter-style box, it is more a “QuickPress on steroids” for the blog owner.
It is not so much a question of making the blog owner comfortable, rather it is about that box sitting there as a call to action, an inducement to “Just Do It”. We all need a little encouragement sometimes – not having to dive into the dashboard to post will inevitably result in more posts.
“I think new users would relate more to a photo gallery type of layout than a twitter layout.”
Photo gallery layouts have the disadvantage of looking like a deflated balloon until the user actually uploads some photos. I suspect that, six months down the road, we are all going to be struggling with the problem of encouraging users to even make their first post, nevermind getting them to upload photos.
If getting people to use their blogs is going to be the problem, P2 could be the answer.
-
AuthorSearch Results