Search Results for 'custom activity page'
-
Search Results
-
Hi,
I want remove the @mention item on the admin bar menu, and on the activity profil page (not the global activity page because we can do this editing child theme).
Do I can do this editing bp-custom with something like this ?
I’ve found this to remove random menu in admin bar :
function modify_adminbar(){
remove_action( ‘bp_adminbar_menus’, ‘bp_adminbar_random_menu’, 100 );
}
add_action(‘plugins_loaded’,’modify_adminbar’,99);Someone could tell me how to remove this function : bp_core_new_subnav_item ?
Thanks.
First off, I’ve just installed Justin Tadock’s Members Plugin to get access to the Restrict Roles Template tags. What I’d like to do is make it so that specific components of my BP install are only available to certain roles.
This is the code I’ve come up with so far:
if ( bp_is_active( ‘profile’ | ‘activity’ | ‘messages’ | ‘friends’ | ‘groups’ | ‘settings’ ) && function_exists( ‘current_user_has_role’ ) && current_user_has_role( ‘subscriber’ | ‘moderator’ | ‘administrator’ ) ) {
// the BP Component is “Profile, Activity, Messages, Friends, Groups, or Settings”, and the users role is “Subscriber, Moderator, or Administrator”display the component; // I don’t know what to put here so that the component is displayed if the user has the right role.
}else {
wp_redirect(get_option(‘siteurl’) . ‘/page-of-my-choice.php’);; // redirects user who don’t have the correct role to my page of my choice
}Any Ideas on how to make this work?
Topic: Profile Field Filtering
Everyone says they want this, but the BP Member Filter plugin doesn’t appear to be going anywhere. Maybe it’s getting worked into the core of some future release, but who knows what it will actually do.
Right now, it is nearly impossible to find specific members in buddypress…For example, my site is real-estate-focused. It should be EASY to find a local agent or mortgage broker, but it’s virtually impossible. And, because they can’t be easily found, some are questioning the value in signing up for my site in the first place.
Here’s the concept….
Buddypress has profile fields. We should be able to search and sort by those fields.
I need them by location (pre-loaded), but the same concept could apply to profession, hobby, shoe size, or astrological sign or whatever.
For example, when someone clicks on my “Members” tab, there should be a drop-down box at the top of the page that filters by country…then, state, county, and city. Maybe there could be an option for additional filters beyond that, like my “profession” field.
Since my site is news-ish, visitors could search blog posts the same way, finding posts specific to their location.
Once this basic platform is set up, there are a ton of cool ways it could be used…
Filter results RSS feeds would could created customized newsletters
Sidebar widgets and activity streams could show community activity that match a member’s location (or shoe size or whatever).
Profile Page Sidebars could display local activity.
Using a visitor’s IP address, local member’s activity could automatically be shown…
This could be the groundwork for an entire targeted advertising program, showing ads to specific groupings of people in specific locations.
I want to have the Activity stream as the home page, but I’d like to have it look more like the blog page with some widgets on the side (e.g. – groups, who’s online, etc.). Is there any way to do that?
I’m very new to this and do not have a working knowledge of css or programming. So, I operate from the user-friendly environment only. Any help you can give this newbie-of-all-newbies is appreciated.
Waiting someone create plugin allowing to display different widget on each buddypress component (members, groups, forum repository, search, page, post, 404, etc..), I’ve tested a trick wich does work easy. This tutorial helped me http://buddydress.com/2010/04/add-a-widget-anywhere-in-3-simple-steps/
1) duplicate sidebar.php and rename this : sidebar-members.php to each component you want customize.
2) on yours news sidebar-xxxxx.php, find this : and replace ‘sidebar’ with currently name of your file without ‘.php’ (if you are on sidebar-members.php, put ‘sidebar-members’).
3) create fonctions on functions.php : add :
array(
‘name’ => ‘Sidebar-xxxxxxx’,
‘before_widget’ => ‘‘,
‘after_widget’ => ‘‘,
‘before_title’ => ‘‘,
‘after_title’ => ‘‘
)
);e.g. :
register_sidebars( 1,
array(
‘name’ => ‘Sidebar-search’,
‘before_widget’ => ‘‘,
‘after_widget’ => ‘‘,
‘before_title’ => ‘‘,
‘after_title’ => ‘‘
)
);register_sidebars( 1,
array(
‘name’ => ‘Sidebar-404’,
‘before_widget’ => ‘‘,
‘after_widget’ => ‘‘,
‘before_title’ => ‘‘,
‘after_title’ => ‘‘
)
);register_sidebars( 1,
array(
‘name’ => ‘Sidebar-activity’,
‘before_widget’ => ‘‘,
‘after_widget’ => ‘‘,
‘before_title’ => ‘‘,
‘after_title’ => ‘‘
)
);4) call new sidebar area in your components. To each component template, you must have home.php or index.php wich has at the end of the code. Replace ‘sidebar.php’ with ‘sidebar-xxxxx.php’ of your choice.
5) Check the results in your widget admin and enjoy
Excuse my english !
Lately I get an error while creating a group at this stage: create/step/group-avatar
Error: There was an error saving group details. Please try again.
My site details are:
WordPress:
WP single install 2.9.2
Where:
On a Subdirectory – http://nijmegeneet.nl/club/
BuddyPress:
BP 1.2.3
Plugins activated:
All in One Webmaster,
Custom Login Page,
Tweetstream,
Maintenance Mode,
Facestream,
BuddyPress Links,
Invite Anyone,
oEmbed for BuddyPress,
W3 Total Cache,
Wordpress Backup,
WordPress Table Rename,
WP-DBManager,
WP Security Scan
Theme:
Child Theme of bp-default
bp-custom.php:
<?php
define(‘BP_MEMBERS_SLUG’,’leden’);
define(‘BP_GROUPS_SLUG’,’groepen’);
define(‘BP_ACTIVITY_SLUG’,’activiteit’);
define(‘BP_MESSAGES_SLUG’,’berichten’);
define( ‘HEADER_IMAGE_WIDTH’, 939 );
define( ‘HEADER_IMAGE_HEIGHT’, 132 );
?>
BbPress:
built-in
Hosting:
Servage Hosting
I got this after upgrading BuddyPress Links to version 0.4. Can this cause this error?
Thanks for your help!
(sorry not one of those that consider FB or Twitter as hugely vital) My biggest issue is that as things stand I’m struggling to see my way to a custom configuration based around default BP that does actually facilitate the quality content – this isn’t necessarily a BP ‘fault’ but there are issues that I feel need highlighting such as the confusion that tends to arise around the sitewide activity stream