Leendert van der Ree
Forum Replies Created
-
Forum: Plugins
In reply to: [BuddyDrive] Group doesn't see folders and filesok, the problem is solved then. It was my point of view / expectation that made me think it didn’t work 🙂 But it does and it is good.
Thank you.The one thing I would like to do is make a menu that is only visible to logged in users so I can pin point to the folders/files for these users.
Forum: Plugins
In reply to: [BuddyDrive] Group doesn't see folders and filesIn my believe it is like this: if user A shared a file in a group all the users of the group could see the shared file in their own page/profile.
Is this true?
For what I see now it is like this: user A shares a file in a group. All the users of the group can see that file at the page/profile of user A and not in their own page/profile.
Or is this true?Forum: Plugins
In reply to: [BuddyDrive] Group doesn't see folders and filesYes I believe you and I see your screenshot. It’s just not happening with my files. Sorry
Forum: Plugins
In reply to: [BuddyDrive] Group doesn't see folders and filesNew file, I can see it, any other visitor can’t. Do I miss something very obvious?
Forum: Plugins
In reply to: [BuddyDrive] Group doesn't see folders and filesthe member sees nothing, just the header.
Doesn’t see the folder that holds the file also.I don’t see an anchor in the url.
The only # i see is when I hover below the shared file (description, link, share)Forum: Plugins
In reply to: [BuddyDrive] Group doesn't see folders and filesNo, just switched from group to public. No difference.
The file is in a folder. I see the public mark besides the folder (the eye)Forum: Plugins
In reply to: [BuddyDrive] Group doesn't see folders and filesYes weird.
No multisite.
Buddypress 2.1.1
Buddydrive 1.2.1Use BuddyPress Activity Plus 1.6 also
Hi,
sorry, just don’t get it.
I’ve put two things in the members-loop file:
1. xprofile_get_field_data( ‘Telefoon’, bp_get_member_user_id()) ;
2. bp_member_profile_data( ‘field=Telefoon’ );The field ‘Telefoon’ is set to show to members only.
The first one (xprofile) never shows, if I’m logged in or not. The second one (bp_member) always shows and doesn’t seem to respect visibility.What am I doing wrong?
Hi,
thanks. I do get an array but no data is showed. There is no difference if fields are set as “nobody” or as “everyone”.
What I want to do: show the fields depenedent of visibility level and do this in the members loop.
The code I use:
<?php $hidden_fields = bp_xprofile_get_hidden_fields_for_user(bp_get_member_user_id()) ; ?>
<?php if(xprofile_get_field_data(‘field_name’) && !in_array(xprofile_get_field_id_from_name(‘field_name’), $hidden_fields)) : ?>
<?php echo xprofile_get_field_data (‘field_name’); ?>Thanks for pointing me in the right direction.