Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 55 total)

  • nightstalker101
    Participant

    @nightstalker101

    EDIT:

    The function from Burt works partially. I still get the headline from the group, that sahll be hidden.


    nightstalker101
    Participant

    @nightstalker101

    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?


    nightstalker101
    Participant

    @nightstalker101

    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


    nightstalker101
    Participant

    @nightstalker101

    hmmmmmmmmm. And whwre do I define, if a field is public or not?


    nightstalker101
    Participant

    @nightstalker101

    Okay.Thanks. And there is no ther way, to make fields only viewable for the user?


    nightstalker101
    Participant

    @nightstalker101

    I would recoomend that, too. So you also do not have to hack core files.


    nightstalker101
    Participant

    @nightstalker101

    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.


    nightstalker101
    Participant

    @nightstalker101

    or display:none in css?


    nightstalker101
    Participant

    @nightstalker101

    No one here, that has solution?


    nightstalker101
    Participant

    @nightstalker101

    the first redirect problem was solved by deactivating permalink redirect…


    nightstalker101
    Participant

    @nightstalker101

    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.


    nightstalker101
    Participant

    @nightstalker101

    Just give the links a display block and float left/right and they will do it. Can you send a link?


    nightstalker101
    Participant

    @nightstalker101

    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


    nightstalker101
    Participant

    @nightstalker101

    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…


    nightstalker101
    Participant

    @nightstalker101

    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.


    nightstalker101
    Participant

    @nightstalker101

    Ohhh..many thanks. I don´t know why, but I thought, that the button would change anyway, after a request was made.


    nightstalker101
    Participant

    @nightstalker101

    Sorry,

    no problem:

    I´m running the latest versions of both.

    Lars


    nightstalker101
    Participant

    @nightstalker101

    I can not change that,my provider is responsible for that, is there still any other solution?

    Lars


    nightstalker101
    Participant

    @nightstalker101

    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.


    nightstalker101
    Participant

    @nightstalker101

    …maybe a stupid questions from me. but:

    What do I have to set for $member?

    Lars


    nightstalker101
    Participant

    @nightstalker101

    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


    nightstalker101
    Participant

    @nightstalker101

    no, only a number:

    http://pc-store.org/members


    nightstalker101
    Participant

    @nightstalker101

    Hi,

    the same again, only numbers.


    nightstalker101
    Participant

    @nightstalker101

    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


    nightstalker101
    Participant

    @nightstalker101

    Hi,

    the same again. It echos a number. (the order, the user have registered) Look here:

    http://pc-store.org/members

    (site is not fnished, yet; Url will chnage, too)

    Lars

Viewing 25 replies - 1 through 25 (of 55 total)
Skip to toolbar