Search Results for 'buddypress'
-
AuthorSearch Results
-
May 26, 2009 at 11:13 pm #46119
Andy Peatling
Keymastertest
May 26, 2009 at 9:45 pm #46118abcde666
ParticipantHi Jeff,
I do understand that the backbone of BuddyPress is WPMU.
As WPMU is managed / owned by Automattic, are they planning to make Multi-Language-Versions of WPMU a possibility ?
I do undrestand that this will take some time and therefore stopped the plan for running my website in 2 languages.
Many thanks,
Erich
May 26, 2009 at 7:06 pm #46114In reply to: BuddyPress Showoff: Post your links
mkgold
ParticipantWPMu + BuddyPress + BbPress + MediaWiki
It’s an academic social network built to bring together members of the 23 campus City University of New York system
May 26, 2009 at 4:51 pm #46110In reply to: links not using subdomains
elygen
ParticipantOK so i re-installed to use subdirectories. but now there is not members directory. So if i click a member name its a broken link.
I am installing buddypress via the wordpress-mu Plugin Browser/Installer.
Everything finishes correctly but can not create profiles.
May 26, 2009 at 3:50 pm #46109In reply to: Who wants a media plugin for BP
gpo1
Participant@Cdaniel, Whats features would this plugin have for wordpress mu or Buddypress CMS and is it self hosted kalturaCE?
May 26, 2009 at 3:35 pm #46108In reply to: BuddyPress Member Theme Went Away
Eric Wood
ParticipantUninstalled bbpress per above instructions (thanks btw).
Still getting same errors. Must be some other issue…
Tried deactivating BuddyPress then reactivating… nothing different happened?
Any other clues where I should look?
May 26, 2009 at 1:22 pm #46105In reply to: Considering Buddypress – Seeking feedback!
ericc22
ParticipantThanks for the comment. Yes, I am using vbulletin bridge for WP.
Any other pros or cons to Buddypress? Curious for all feedback!
Eric
May 26, 2009 at 1:04 pm #46104In reply to: BuddyPress Showoff: Post your links
Fernando.borba.br
Participanthttp://www.cidadedocorretor.com.br/
It’s WordPress Mu + BuddyPress + BBpress for real estate.
Translating for Portuguese-BR
É um site utilizando WordPress Mu + BuddyPress + BBpress para negócios imobiliários.
Cheers!
May 26, 2009 at 12:12 pm #46103In reply to: How to: Add a new menu section
Ezd
ParticipantNirok: If I goto your site http://spoodle.co.nz/3/ and I click the ‘Forum’ link, that link dosen’t come up as “selected / highlighted” like the other links.
We still need a solution on how to make it highlight when the link is active, just as when you click into https://buddypress.org/forums/.
May 26, 2009 at 12:10 pm #46102In reply to: New Twitter Plugin for BuddyPress
May 26, 2009 at 10:04 am #46093Burt Adsit
ParticipantI’m gonna write a post that talks about simulating wp’s category system next with bpc. The layout for the tree would look something like this:
root
— group
—- ‘authorized user’ created category 1
end user tag 1
end user tag 2—- ‘authorized user’ created category 2
end user tag 1
end user tag 2So that groups are first labeled with a category, perhaps at group creation time and all group tags go into a default category for the group. Depending on the type of group.
It would help in the situation where, like now, you have a zillion group tags of different types mixed in together. Sites could ‘categorize’ groups and then allow tagging of the groups by group admins within the group category.
group
— dogs
—- dog breed tags
— cats
—- cat breed tags
— fish
—- fish breed tags
Do fish have breeds?

The advantage to the end user is they could pick a category first and the tag cloud would reflect only that categories tags.
May 26, 2009 at 8:48 am #46087In reply to: New Twitter Plugin for BuddyPress
gpo1
Participant@M, Can you add followering tweets & Avatars below the send a tweet box, so that you could see your following tweets. Because its a bit boring without your followering /friends tweets?
May 26, 2009 at 8:36 am #46086In reply to: New BP Chat plugin for Buddypress
gpo1
ParticipantGet online so that we can test this now?
May 26, 2009 at 8:34 am #46085Burt Adsit
ParticipantI said I wasn’t going to document the code yet. I will tell you how it works though.

bpc allows any type of content to be organized into a hierarchy. Think of it as a virtual file system implemented with SQL tables and relationships. Each path in the tree can have it’s own set of tags and content items.
bpc 1.0a1 creates a tree consisting of member, group and blog tags.
root
— user
— group
— blog
That’s the tree for bpc 1.0a1. All content, tags or items, are children of the tag ‘root’. Root is invisible to everyone and it’s the only thing allowed at it’s level. All other content is organized as children of ‘root’.
Below root are the tags ‘user’, ‘group’ and ‘blog’. These tags are invisible to the end users also. When a bp member tags their profile they create other tags that are forced to be children of ‘user’.
root
— user
—- cats
—- dogs
—- fish
These tags form the member tag cloud. That cloud template tag looks in the path ‘root/user’ and displays everything it finds there. I’m just going to stop saying ‘root/user’ and use ‘/user’. The root is implied by the first slash. Just like a file system.
What actually happens further is that an content item representing the user who created the tags ‘cats’, ‘dogs’ and ‘fish’ tags is put in each tag. We wind up with this:
root
— user
—- cats
item (burt)—- dogs
item (burt)—- fish
item (burt)These ‘items’ are content neutral representations of any type of content. In the case of items in /user, all items are derived from the bp user that created the tag. In the case of this tree some people want to be tagged differently and some the same:
root
— user
—- cats
item (burt)
item (john)
item (jeff)—- dogs
item (burt)
item (john)—- fish
item (burt)—- giraffes
item (jeff)—- bears
item (john)When a user creates their own set of individual tags bpc inserts an item for them into an existing tag or creates a new one.
So we’ve got a tag cloud now. In bpc the links in the tag cloud launch the content specific bp directory. A member tag cloud launches the member directory with a query param like /members?tags=cats
The member directory has been modified by extending the normal template class that bp uses to pay attention to those $_GET vars if they exist in the url.
The directory parses the $_GET query vars and determines what tag the user clicked on. In this case the tag was ‘cats’. The directory template class then gets all the items in the path /user/cats. These things it gets back from bpc are not the actual user records we need to display in the directory, they are instances of the class OCI_Item. That neutral representation of the original content.
We get neutral representations of original content from classes that understand the original content types. They know where they came from and how to convert them to OCI_Items. Each content type that wants to store info in bpc has to have one of these conversion classes. In the case of bp members the class is called OCI_Item_User and it is a derived class of OCI_Item.
It’s defined like: OCI_Item_User extends OCI_Item. You’ll see it in the oci-classes.php file. There’s three like that in there. One each for users, groups and blogs. The purpose of these classes is to convert source content into item format and when the time comes, take the item information and get() the original item back.
This is the template class for the member directory:
class OCI_BP_Core_Members_Template extends BP_Core_Members_template.
When this class is fired up by the user clicking on a tag in the member tag cloud, the directory is launched. The template is run and in the constructor for OCI_BP_Core_Members_Template, it does a bunch of stuff and gets to the following chunk of code (lines 170-188 in oci-classes.php):
} else if (isset($_GET[$bp->contents->slug])) {
if (!$path)
return;
$tag = $path . '/' . $_GET[$bp->contents->slug];
$container = new OCI_Container('path=' . $tag);
$items = $container->get_items();
foreach ($items as $item){
$tmp->user_id = $item->item_id;
$users['users'][] = $tmp;
unset($tmp);
}
$users['total'] = count($users['users']);
$this->members = $users;
} else {If there are any query vars such as /members/?tags=cats then instantiate an OCI_Container for the path ‘/user/cats’ and get all the items in that tag.
When the OCI_Item_User creates each member item in a tag it stores the user id in the var $this->item_id. The group version and the blog versions of that class store the group or blog ids in that spot when they create items.
I took a look at the the bp template class and figured out that it needs an array of the format: array(‘users’ => $users, ‘total’ => $count) to operate properly so that’s what gets built for it in that chunk of code.
Group and Blog templates use a similar thing. So we just pull out the user ids stored in each item and create an array that bp’s template class is happy with.
All I had to do to modify the the directories was create a new bp_has_whatever() tempate tag and override the constructor for each template class that bp uses.
Now we’ve got some modified php templates, classes and a replacement has_whatever() template tag function. It’s a good thing that Andy is filter and action happy because the only other thing to do was to create a filter that tells bp to use our new directories instead of the standard ones.
// changes the default members dir to this one
function oci_filter_template_directory_members(){
return ('oci-contents/directories/members/index');
}
add_filter('bp_core_template_directory_members', oci_filter_template_directory_members');That function lives in oci-templatetags.php. There’s one for each of the directory types being hijacked.
May 26, 2009 at 8:24 am #46084In reply to: New BP Chat plugin for Buddypress
Michael Berra
ParticipantGreat stuff!!!
Am I right, that it’s not for download, yet? I would love it!!!
Ps: Localization would be great!
May 26, 2009 at 7:20 am #46078In reply to: buddypress.org site
Dennyhalim.com
Participantyes i just see the tag form.
at https://buddypress.org/forums/ very top on the sidebar ,
the report bug button takes me to forbidden. (not 404)
i guess maybe it need a separate account ??
May 26, 2009 at 6:39 am #46074In reply to: How to: Add a new menu section
Nirok
ParticipantI just added simple buttons via the header.php. This needs to be changed for both the homepage template and the user template header.php …
All I added was extra
example:
<li <?php if ( bp_is_page( 'home' ) ) {?> class="selected"<?php } ?>><a>" title="<?php _e( 'Home', 'buddypress' ) ?>"><?php _e( 'Home', 'buddypress' ) ?></a></li><br /> <li <?php if ( bp_is_page( 'forum' ) ) {?> class="selected"<?php } ?>><a href="http://spoodle.co.nz/3/message/">Forum</a>this comes out as: Home | Forum
To limit database queries you could simplify the navigation to just using simple code:
<ul <li><a href="http://spoodle.co.nz/3/">Home</a></li><br /> <li><a href="http://spoodle.co.nz/3/Blog/">Blog</a></li><br /> </ul>which gives you: Home | Blog
etc etc anyway thats what i have done i’m sure you could make some complex buttons by playing around…
May 26, 2009 at 5:58 am #46073In reply to: New BP Chat plugin for Buddypress
Mark
ParticipantThe chat interface has been revamped to better support chat with many different people at the same time.
So far it works in Firefox, IE 7, and Chrome. Not sure about Opera or Safari. IE 6 is in development, although I still say that using IE 6 ought to be illegal….
If you find bugs, or use Opera or Safari and test the chat please report whether there are problems.
http://simplercomputing.net/bp
We’ll be adding audible alerts when a new chat message arrives and some other cool features soon.
May 26, 2009 at 4:28 am #46072Burt Adsit
ParticipantYa, John’s right. That’s the symptoms of just putting bpmember in /wp-content instead of /wp-content/bp-themes/bpmember during an upgrade. You then have to vist BuddyPress > General Settings and say Save.
It’s due to the directory ‘bug’ in wpmu 2.7.1.
May 26, 2009 at 2:33 am #46070In reply to: Localisation, per user
John James Jacoby
KeymasterNo, you only need one installation of WPMU/BuddyPress to have a multi-language website.
When you install additional PO’s and MO’s in your wp-includes\languages folder, magically in your Site Admin and Blog Admin settings will be language selection options, to determine the default language of both the site and the blog. The mu_locale function will take control of it and over-ride the WPLANG settings as necessary.
There is no user language settings as of yet, but I’m working on an implementation of qTranslate to allow for this. This won’t work until BuddyPress 1.0.1 as there’s a few specific things that need to be altered for everything to work in the order they need to.
May 26, 2009 at 2:05 am #46066John James Jacoby
KeymasterGood job Burt!
May 26, 2009 at 2:01 am #46065John James Jacoby
KeymasterDo you have a theme named “bpmember” in your wp-contents\bp-themes\ directory?
If so, have you navigated to your BuddyPress settings and activated that theme as your members theme?
May 26, 2009 at 1:59 am #46064In reply to: Group > Members Slug
John James Jacoby
KeymasterRight now the slug changing isn’t working 100% correctly. A bug-fixed, security swept, attribute_escaped BuddyPress 1.0.1 is on the assembly line as we speak.
May 26, 2009 at 1:45 am #46063In reply to: problem with hoard hunter plugin
John James Jacoby
KeymasterCheck which plugins are activated on that specific blog and turn them off one by one. Sounds like something is interfering with something else. More than likely some kind of date re-writing or hi-jacking situation.
Otherwise, there’s only a few places this function gets calls inside BuddyPress, so it would take some tracing back of those functions to see what’s conflicting or what’s causing it to happen.
\buddypress\bp-core.php (5 hits)
Line 275: return apply_filters( 'bp_activity_insert_time_since', @sprintf( $content, @sprintf( __( ' %s ago', 'buddypress' ), bp_core_time_since( strtotime( $date ) ) ) ) );
Line 896: function bp_core_time_since( $older_date, $newer_date = false ) {
Line 998: $last_active = bp_core_time_since( strtotime( $last_activity_date ) );
Line 1000: $last_active = bp_core_time_since( $last_activity_date );
\buddypress\bp-friends\bp-friends-templatetags.php (1 hits)
Line 251: return apply_filters( 'bp_friend_time_since_requested', sprintf( __( 'requested %s ago', 'buddypress' ), bp_core_time_since( strtotime( $friends_template->friendship->date_created ) ) ) );
\buddypress\bp-groups\bp-groups-templatetags.php (2 hits)
Line 752: return apply_filters( 'bp_get_group_last_active', bp_core_time_since( $last_active ) );
Line 2346: echo apply_filters( 'bp_group_request_time_since_requested', sprintf( __( 'requested %s ago', 'buddypress' ), bp_core_time_since( strtotime( $requests_template->request->date_modified ) ) ) );
\buddypress\bp-xprofile\bp-xprofile-templatetags.php (1 hits)
Line 368: return apply_filters( 'bp_get_profile_last_updated', sprintf( __('Profile updated %s ago', 'buddypress'), bp_core_time_since( strtotime( $last_updated ) ) ) );May 26, 2009 at 1:28 am #46061In reply to: bbpress integration
John James Jacoby
KeymasterSo far from what I can see of the second release candidate of bbPress 1.0, it looks like integration has gotten better for BuddyPress and WordPress MU, but don’t expect a simple turn-key installation. There are simply too many configurations to not have to dip into the wp-config.php or bb-config.php files a little bit.
Integration of bbPress1.0 RC2 is essentially the same as the Alpha’s, other than there being a spot to enter the ID of the main WPMU blog. There’s also an extra variable to add to the config files to force the integration method, but I suspect that to be only temporary.
Once everything becomes 1.0, things will probably make more sense and come more into alignment.
-
AuthorSearch Results