Forum Replies Created
-
In reply to: Profile Edit not working
On a side note, Manoj just released an image album plugin for bp! https://wordpress.org/extend/plugins/bppicture-album/ how about that.
In reply to: Profile Edit not workingYou’ll get that error message from bp-xprofile.php if you have a group of profile fields defined but no fields in the group.
Ronia, you can select a theme for use on a blog and then turn it’s access off afterwards. It can still be used by the blog that has it selected but takes it out of the themes list for others.
WPMU backend > Site Admin > Themes > Active > No
Well, with alpha 2. Site admins will create member, group and blog categories. Then members can choose one or more cats they fit. Same for group and blog admins. It’s the site admin’s site. They get to determine the categories.
Of course cats can be added or deleted as needed by the site admin. The site admin sets everything up and people pick and choose appropriately where they fit in. The member, group and blog tags extend and enhance this by allowing free form additions to the categorization process. Then either or both the cats/tags could be used to discover people, groups or blogs.
Since the categories aren’t as fluid as the tags, you could allow users to categorize themselves during signup. People can use categories to get a broad idea of the site content and then narrow it down with tags. Things like that.
In reply to: Enquiry re blog directoryhaha. ok. Now I’m following you. I’ve been working in the bp member, group and BLOG directories. Integrating my plugin in there. You meant /blogs.dir in linux. Duh.
In reply to: Enquiry re blog directoryThe blog directory is just that. A directory. Like a phone book. It lists all the blogs created on a site.
In reply to: Creating links to profile pagesI dunno guy. The fn bp_core_get_userlink() really just wraps fancy stuff around this fn: function bp_core_get_userurl( $uid ) in bp-core.php. If you look in there, you can see what that does. Direct to the member profile page.
Skollie, the core for implementing categories is already there. Laying about the place. It’s really just deciding that content and containers in the path /category are sitewide categories and building the permissions and UI around the concept.
I’m ‘tweaking’ the alpha 2 version to have the perspective of categories that are tightly controlled by the site/group/blog admins but selectable by the user. Tags will remain the free form folksonomy approach to categorization of content.
The control over who gets to create and change what in bpc is pretty rigid right now. It’s not very flexible because we need a sitewide access control mechanism. That’s in the works for buddypress though. There’s a couple of devs laying about doing absolutely nothing so we poked ’em with sticks and they are working on it.
In reply to: Step by Step to use BP theme with bbPressWell, there is no step-by-step guide to do this. You are talking about three completely different environments and three separate themes. To get bbpress using a theme that looks similar to the other two themes, you need to create a new bbpress theme. You can’t just drop one of the other themes into bbpress, tweak a few things and magically have it work.
In reply to: Creating links to profile pagesIf you have a user id then bp_core_get_userlink() in bp-core.php has lots of options. Check out all the functions in there that are bp_core_get_[something]().
In reply to: Alphabetize Groups and Members?You are not doing anything wrong. Stop trying to do it right.

Groups only comes in these flavors: active, newest, popular, random
https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-site-groups-loop/
In reply to: Alphabetize Groups and Members?The default sort order for directories is ‘active’. It dispays the most recently active first in the directory. You can change that by using a different sort order in your theme. See the docs for the loops here:
https://codex.buddypress.org/developer-docs/custom-buddypress-loops/
In the default theme, the loop for members is controlled by /bpmember/directories/members/members-loop.php in the function:
bp_has_site_members( ‘type=active&per_page=10’ )
Changing type=active to type=alphabetical should get you there.
In reply to: Leave GroupQuestions without all the needed information such as bp, wpmu version numbers, a link to your site, get ignored.
My car won’t start. Why won’t my car start? Lack of information leads people, who are willing to help, to move on to somebody who is providing enough information to actually help them.
These are some pointers to help get you started.
In reply to: extending groups slug with imagesYou betcha.
For jeffsayre:
// Check for bp being loaded, if not try and load it
// Insures that bp is loaded before this plugin
if (!function_exists('bp_core_setup_globals')){
if ( file_exists( WP_PLUGIN_DIR . '/buddypress/bp-loader.php' ) ){
require_once( WP_PLUGIN_DIR . '/buddypress/bp-loader.php' );
}
else{
echo "BuddyPress is not installed!";
return;
}
}This seems to work Jeff. Just doing bp-core.php doesn’t. The loader is the one we need.
Where are you putting this loop code? You either have to specify a forum_id or be inside group forums for bp_has_topics() to return anything.
bp_has_topics(‘forum_id=xx’); Look at the code for bp_has_topics()..
In reply to: extending groups slug with imagesDepends on where you are.
If you are in the member theme group pages the global $group_obj is available. It’s an instance of BP_Groups_Group class for the current group.
If you are in a group template then the fn bp_get_group_id() in bp-groups-templatetags.php gets you the current group’s id.
Or you could always use the class method BP_Groups_Group::get_id_from_slug($slug) in bp-groups-classes.php
In reply to: Fatal error: Out of memory when installingReally? In /wp-admin directory? Well whatever works.
Looks like that should work.
In reply to: extending groups slug with imagesCool, you’re welcome.
Missing widgets? Well, widgets aren’t really widgets until they get registered with:
wp_register_sidebar_widget( 'oci-wcm', __( 'Member Tags', 'oci-contents' ),
'oci_widget_cloud_members' );
wp_register_widget_control( 'oci-wcm', __( 'Member Tags', 'oci-contents' ),
'oci_widget_cloud_members_control' );Something like that. That’s for one of mine.
When you get the template loop working how you want it to, then you can wrap it in widget code to turn it into a widget. If that’s what you absolutely have to have is a widget.
Ya, custom loop for forums:
It doesn’ t look like Andy has documented this yet but there is a group forum loop just like other parts of bp have a loop. Look at bp_has_topics() in bp-forums-templatetags.php. It looks like I’d use that if I were you.
See: https://codex.buddypress.org/developer-docs/custom-buddypress-loops/ for examples using other bp_has_[something]() loops.
That might be the best way to go with this.
I think you are attempting to do this at too low a level. Try the loop functions for forums or bp_forums_get_topics(). There’s no need to code down at bare metal when all the work is done for you with the higher level functions and classes.