Search Results for 'buddypress'
-
Search Results
-
Hi there
You can find hundred an more solutions to limit access to contents when you use buddypress. I’m still looking for the solution that fits my needs.
I have a conditional menu for logged in users, which only appears when you are logged in. In the submenu you find then the buddypress-sites and some other ordinary wp-sites.
My need: How can I prevent visibility/access to some (not all) wp-sites listed in this menu for non-bp-users? I’d rather like to use code in bp-custom.php than a plugin, but any suggestion is helpful.I use bp-groups which might be a solution to define the right variables for limiting the access but how to? IMO the most attractive solution would be if the menu-items are only shown for the members of the specific bb-group.
Kind regards, filz51
Hi
I am trying to hide the sidebar widgets in buddypress registration page, I tried:
.register .sidebar { display:none; visibility: hidden; }It did not work. Any insights?
Thanks
Topic: Creating Circles
Hello,
With the absence of a circles type feature for friends, I need to be able to have my members flag their friends for a permissions issue I’m working on. Just a simple yes or no flag to allow them to see photo galleries and certain activity updates. I’m having trouble deciding on how to approach this. My first though is to add into the friend items an ajax checkbox that will update the friends table with a yes/no or boolean values.
The JS / Ajax
$('#private').on('click', function() { var checkStatus = this.checked ? 'ON' : 'OFF'; $.post("private_update.php", {"$is_private": checkStatus}, function(data) { $('#update').html(data); }); });The PHP/SQL
function private_friends($friend_userid) { global $wpdb; if (isset($_POST['private'])): $is_private = $_POST['private']; $not_private = $wpdb->get_var("UPDATE wp_bp_friends SET private = '".$is_private."' WHERE private != '".$is_dirty."'"); endif; };Does anyone have some insight here? I haven’t written anything dealing with Buddypress functions before so it’s new territory for me.
Topic: Cover Image Issue
The cover image seems to be missing after it’s uploaded because I’m using;
function dequeue_bp_twentyfourteen() { wp_dequeue_style( 'bp-twentyfourteen' ); } add_action( 'wp_enqueue_scripts', 'dequeue_bp_twentyfourteen' );*(In child theme, function.php)
to dequeue the BP TwentyFourteen companion styles sheet. I’ve read through the BuddyPress Cover Images codex and didn’t see the solution, although I could be missing it.
Has anyone else had this issue? I have a feeling there’s a simple fix, but I’ve hit a wall.
Thanks to all!
CarlSpecs:
2014 theme, Up to date – BP and WPTopic: Delted Accounts
Hello,
If a user deletes his account, can he re register again using the same username? If yes, when can a user re register again?
When a user deletes his account, does buddypress delete all of his/her details from the database?
Thanks
I have a video of the issue:
https://www.youtube.com/watch?v=mV-FFRqmVZsThis issue deals with pagination when you do a search of a custom buddypress profile field. The initial pagination page properly displays 1-X amount of users. Click on page 2 and it shows all users in the site not just the custom searched users.
Any suggestions? Is this related to my theme or plugins?
Hi according to my last question I have come across a good solution to upload files to buddypress avatars folder, now I want to know how to update user meta to show this avatar in my frontend.
code I used:
$avatarPath //is the path where the avatar is uploaded
update_user_meta( $user->ID, 'author_avatar', $avatarPath );thanks in advance.
Currently, BuddyPress Activity Stream is displayed date order. Latest activity is displayed at first.
I need to make it, by recent comments.
For a example there is activity called “Nimal became a registered member “. If someone comment for that activity it should appear in first place of activity stream. ( Forums works like this)
Is it possible? I could not find a way to do it. How to do it?
First, I would like to say that I am new to using the Buddypress plugin. I downloaded version 2.4.0 and I am using WordPress 4.3.1. On my blog I wanted to add a register page, but when I created a dummy page titled Register and linked it to Register below Registration in Buddypress settings it does not work. I made sure that anyone can register to my blog under the settings tab is enabled. Can anyone tell me if you know of a solution to this annoying problem?
I have set the main activity page as the front page in admin > reading:
Front page displays: static page: Front page: Activity.
I have a few conditionals with
is_front_page()but it stopped working for some reason, not sure if it was because of an upgrade.is_front_page()still works if I set a non BuddyPress page as the front page, it only doesn’t work if I set a BuddyPress page as the front page like the ‘activity’ page or ‘members’ page.Is this supposed to happen? And what is the best alternative to use, is it
bp_is_activity_front_page()because that one works.Hello everyone, thanks in advance …..
I have a buddypress with different members types, coaches and players.
I’m trying to make private members profiles with type = coaches with this code:function member_profile_test(){ $user_id = bp_displayed_user_id(); $member_type = bp_get_member_type($user_id); if($member_type !== 'players' && !is_super_admin() && !bp_is_my_profile()){ wp_redirect(home_url() . '/error'); } } add_action( 'bp_before_member_home_content', 'member_profile_test' );But at this point (‘bp_before_member_home_content’) it is too late, the site has already begun to write content and wp_redirect display an error in php.
What is the right way to do this?
Thank for your help…. Sorry for my english…
Good day,
This fatal error is causing issues with some of of Primary site functions and Im wondering if this is a result of 2.4.0 or just funky timing. Could someone give us a hand with this fix please?
Fatal error: Call to undefined method stdClass::save() in /www/myservername/public/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-functions.php on line 275
Kindest,
Shane