Forum Replies Created
-
EDIT:
The function from Burt works partially. I still get the headline from the group, that sahll be hidden.
The solution from Burt did not work. So I have choosen the solution on the bottom of the page.
<?php if (!bp_the_profile_group() == “1”) : ?>
It works, but now I have three groups: the first with none public information. A senond and a third one. The second one gets diplayed. The third one not, why?
The next question:
How can I apply the code above to the members loop?
ohh, just found it. But what about the data on the main profile page?
I want to insert a field, named birthdate, thsi field shall only be visible for the user by itself.
thanks,
Lars
hmmmmmmmmm. And whwre do I define, if a field is public or not?
Okay.Thanks. And there is no ther way, to make fields only viewable for the user?
I would recoomend that, too. So you also do not have to hack core files.
You have to comment it out, in each file, the avatar appears, in the members loop for example:
filename-members-loop.php in the skeleton member theme line 26. It should look like this after commenting it out:
“><? //php bp_the_site_member_avatar() ?>.
Now you have an empty link, thta points to the profile.
The Css way:
.item-avatar{diplay:none}
visibility:hidden.
Maybe it can cause errors in old Ie Versions, so I would recommend the first solution.
or display:none in css?
No one here, that has solution?
the first redirect problem was solved by deactivating permalink redirect…
I did not activate or deactivate anything, the error is simply but straneg. It happende while styling the site.You have a div id, adynamic id, that generates an empty dpace: <div id=”friendship-button pending”. I removed the empty space and substituted it with an underline. Since that point, it did not work. I changed it back and it works.
Just give the links a display block and float left/right and they will do it. Can you send a link?
The redirect disappeared after deactivating aplugin. Great. But the friend function still makes problems. When I click on “add friend”, it redirects me to my profile. When I log in as the friend, whre I just requested a friendship, I See nothing listed under requests.
Is it possible, that I have to change some lines, like in the wire, after the update?
Lars
I found a solution. Not the best but it works:
The main problem began at the signup. I had the field “full name”. When this field is there, always the full name gets dispalyed, not the username. When I rename thsi field, the real name still gets diplayed instead of the username. When I remove the name of the field, better the label, I get only the username displayed. Jusr how I want it. Great.So I removed the name, gave the div class that includes the Full name box an id and removed it with css. What I do not like in my solution: I had to modify the core files…
I had similar problems, if you are running your won theme, you have to copy the functions.php from the new version in your theme directory.
Ohhh..many thanks. I don´t know why, but I thought, that the button would change anyway, after a request was made.
Sorry,
no problem:
I´m running the latest versions of both.
Lars
I can not change that,my provider is responsible for that, is there still any other solution?
Lars
I cannot find any foreach on the mebers loop, but I think, you mean the code after these lines
<?php while ( bp_site_members() ) : bp_the_site_member(); ?>
till to the endif.
Please let me knwo, what I have to set for $member.<?php while ( bp_site_members() ) : bp_the_site_member(); ?>
till to the endif.
Please let me knwo, what I have to set for $member.till to the endif.
Please let me knwo, what I have to set for $member.
…maybe a stupid questions from me. but:
What do I have to set for $member?
Lars
1. At least two user have different email accounts, maybe three.
2. Yes. I logged out, now, cleared the browser cache and looked again (as non user). I see “You” and the number again.
3. http://pastebin.com/m561e11dd
Thanks,
Lars
no, only a number:
Hi,
the same again, only numbers.
You mean in this way:
` href=”<?php bp_the_site_member_link() ?>”><?php // bp_the_site_member_name() ?>2<?php echo bp_core_get_username( bp_the_site_member_user_id($memberID) ); ?>´
I get usernames like: 21 You, 22You and so on..
Lars
Hi,
the same again. It echos a number. (the order, the user have registered) Look here:
(site is not fnished, yet; Url will chnage, too)
Lars