-
Philipp replied to the topic bp_get_member_type() is not working in the loop in the forum How-to & Troubleshooting 9 years, 9 months ago
Yes! And he made me to a lucky man. 😉 Special thanks to @imath and @henrywright for your help and support. It’s working as expected now.
Best!
-
Philipp replied to the topic bp_get_member_type() is not working in the loop in the forum How-to & Troubleshooting 9 years, 9 months ago
Thanks! Yes I do use BP 2.2.
I just used another Browser and cleared the cache. Nothing changed.
-
Philipp replied to the topic bp_get_member_type() is not working in the loop in the forum How-to & Troubleshooting 9 years, 9 months ago
For some its
NULL
and for othersbool(false)
. -
Philipp replied to the topic bp_get_member_type() is not working in the loop in the forum How-to & Troubleshooting 9 years, 9 months ago
🙂 Sorry, I got you wrong. It simply displays nothing. It’s blank.
-
Philipp replied to the topic bp_get_member_type() is not working in the loop in the forum How-to & Troubleshooting 9 years, 9 months ago
I set up two types (‘kw’ & ‘max’) so what i want to achieve is that the
echo $type;
prints ‘kw’ or ‘max’ depending on what the user is. -
Philipp replied to the topic bp_get_member_type() is not working in the loop in the forum How-to & Troubleshooting 9 years, 9 months ago
Hi @ all,
still it’s not working. Also if I
echo bp_get_member_type( bp_get_member_user_id() );
.
Here’s my code again to show that I’m in the loop:
<?php do_action( 'bp_before_directory_members_list' ); ?>
<ul id="members-list" class="item-list" role="main">
<?php while ( bp_members() ) : bp_the_member(); ?>
<?php
$user_id =…[Read more] -
Philipp replied to the topic bp_get_member_type() is not working in the loop in the forum How-to & Troubleshooting 9 years, 9 months ago
Hi and thanks for your answers.
@henrywright: If I echo
bp_get_member_user_id()
it returns the correct ID for each user. And yes, I’m in the members-loop.@shanebp: It accepts both with ” and without.
Best regards,
Philipp
-
Philipp replied to the topic bp_get_member_type() is not working in the loop in the forum How-to & Troubleshooting 9 years, 9 months ago
Thanks for your reply. It’s absolutely weird and I wasn’t able to find the fix. Might this happen if the function is loaded more then once?
Maybe you’re able to reproduce what I did. If it’s working with someone else it might be another issue with my install. But in general it’s working fine if I hardcode the ID. That’s why I’m confused.
Best,
Philipp
-
Philipp started the topic bp_get_member_type() is not working in the loop in the forum How-to & Troubleshooting 9 years, 9 months ago
Hi @ all!
I was so happy to see this brilliant new feature in BP 2.2 as I lived with my own solution for the past years what did everything a bit complicated. So I was happy to register two new member types and to assign some types to different members. Now I would like to show in the members loop, what member type the single members are. But…[Read more]
-
Philipp replied to the topic fullname vs username vs first + last name… in the forum Requests & Feedback 10 years, 8 months ago
I’m using BP since <1.0 – So for a long time, now.
I also was frustrated from the problem, that I always had to say “Hi Joshua-Felix Mustermann”, but I found several ways to solve this at those places, I just want to say Hi to the first name:Somehow you’ll have to get the full name and cut it between the names like this:
$fullname =…
[Read more] -
Philipp started the topic How to add a menu item to groups directory (Buddypress) in the forum Creating & Extending 11 years, 8 months ago
I can’t find the solution how to add another item to the group directory of BuddyPress. At the moment there is: All Groups | My Groups
I want to split the groups into special and regular once. So I need two new […]
-
Philipp replied to the forum topic BP 1.6 upgrade and avatar functions in the group How-To and Troubleshooting 12 years ago
I spend a lot of time to find a fix for that. So if you still have problems do the following:
1.) Download the “avatars” folder and delete all bpfull-XXxXX.jpg pictures and reupload it
2.) Take […] -
Philipp replied to the forum topic Buddypress generates "bpfull-35×35" avatars in the group How-To and Troubleshooting 12 years, 1 month ago
Sorry for coming up with this again – But I have no idear how to fix this!
-
Philipp replied to the forum topic Display Name Autosuggest in the group BP Labs 12 years, 1 month ago
Wow! I would love to use this, too. But I’m not sure which part of the bp-labs/beakers/class-bplabs-autosuggest.php file I have to replace. Could you please post the code of the whole file after you changed it? […]
-
Philipp joined the group BP Labs 12 years, 1 month ago
-
Philipp replied to the forum topic Buddypress generates "bpfull-35×35" avatars in the group How-To and Troubleshooting 12 years, 1 month ago
It seems that it’s not generating the 35x35px avatars for all users?! Thats so strange!
-
Philipp replied to the forum topic Buddypress generates "bpfull-35×35" avatars in the group How-To and Troubleshooting 12 years, 1 month ago
Thank you for the reply @karmatosed !
I do use the latest version of Salutation. But I already asked the developer and he’s sure that it has nothing to do with the theme?! -
Philipp started the forum topic Buddypress generates "bpfull-35×35" avatars in the group How-To and Troubleshooting 12 years, 2 months ago
Hi!
Ever since updating to Buddypress 1.6, I’ve had issues with the sizing of avatars throughout buddypress. On my member header (from an updated, bp-1.6 compatible member-header.php template) the avatar is being […] -
Philipp commented on the post, BuddyPress 1.6.1, on the site BuddyPress.org 12 years, 2 months ago
The update to 1.6.1 doesn’t fix any avatar issues I have with avatars since I updated to 1.6 with Salutation theme (AND BP Default). It’s all the same – Buddypress loads always another avatar size. Sometimes […]
-
Philipp replied to the forum topic How do I make Buddypress 1.6 a private community ? in the group How-To and Troubleshooting 12 years, 2 months ago
I use this PlugIn: http://bp-tutorials.de/2010/09/private-buddypress
It’s not updated since a long time but it still works fine for me…
- Load More
@philippmuenchen
Active 8 months, 3 weeks ago