Search Results for 'buddypress'
-
AuthorSearch Results
-
March 12, 2009 at 5:22 pm #39839
In 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.
March 11, 2009 at 12:29 pm #39746In reply to: my ideas to make buddypress better
gordielachance
Member-limit access to members only
-protect email adresses against spam
March 11, 2009 at 12:13 pm #39743In reply to: Login page before home theme
ngsonst
Participanthi!
here are some referenzes:
http://bp-dev.org/phpxref/nav.html?index.html
https://codex.buddypress.org/developer-docs/creating-a-custom-buddypress-component/
https://codex.buddypress.org/developer-docs/create-a-buddypress-member-theme/
if i understand you corectly your aim is make a simplified buddypress-home theme or a replacement for the standard home theme. right!? you may be want to take a look here: http://kommune.ngcorp.de – it is my own simplified home theme. i took the orginal home theme and striped it down. only for an example what is possible
March 11, 2009 at 11:33 am #39741In reply to: Bug : Site wide activity widget + permalinks
Burt Adsit
ParticipantLet me make sure we are looking at the same code. You are on RC1?
Rev 870 is: “Fixing incorrect use of “You” when viewing a person’s empty activity stream.”
That may or may not be what you are talking about in one issue mentioned above. Can you post these things in trac please?
There has been a fix come thru svn for the custom permalink problem: https://trac.buddypress.org/search?q=1188
March 11, 2009 at 9:43 am #39738In reply to: Login page before home theme
Ezd
ParticipantOkay thanks, that clears it up a bit. Im not that strong in php but I still managed to build a custom theme in WordPress using the inbuilt template tags.
burtadsit > Do you know if there’s a similar page with template tags and a description for each tag for BuddyPress / The skeleton theme.
Like an “Overview” page that maybe looks like this: https://codex.wordpress.org/Template_Tags
That page helped me so much delveloping my own theme and understanding the function of each tag.
March 11, 2009 at 6:56 am #39736In reply to: Buddypress theme for bbPress ?
felix2009
ParticipantI’ve deleted evrything, during the lack of good theme’s for both …
Suc6!
And Seeya
March 11, 2009 at 6:33 am #39735In reply to: I’m ignorant and i need help :) ( Post related )
rusted
Memberhmm… i’m not sure how to explain this. I only want to but post’s into left colum area in buddypress themes. Not user’s post only mine. You know, like those are in default template in wordpress.
Now i can but widgets into left colum ( post’s and blog’s ) but if i do that theres no “comment” link.So i suppose that i have to modify widgets code?
Now even im confused
March 11, 2009 at 4:45 am #39733John James Jacoby
KeymasterI think this using this as the default theme might confuse the purpose of the wire.
It’s a good idea to have something similar to this, but I think new users would relate more to a photo gallery type of layout than a twitter layout. Anyone familiar with Twitter doesn’t need help becoming comfortable with what’s going on.
Again, just my opinion.
March 11, 2009 at 4:25 am #39732In reply to: External Blogs
Donnacha
ParticipantIn case you hadn’t noticed, I posted another suggestion for a plugin that I believe would be immensely popular, a hack of the current Friends plugin to create a new, simpler form of relationship to be used in addition to Friends:
I think it would be a great addition to the plugins you provide at your BuddyPress Dev site.
-
AuthorSearch Results