• Frank Schumann posted a new activity comment 5 years ago

    In reply to: Frank Schumann posted an update @sbrajesh Hello Brajesh, you postet a ver useful code here about showing private message button for non loged in users. But on click of the button as non loged in it redirects to […] View

    Thanks a lot. I posted this to the forum.

  • Frank Schumann posted an update 5 years ago

    @sbrajesh
    Hello Brajesh, you postet a ver useful code here about showing private message button for non loged in users. But on click of the button as non loged in it redirects to the follwing: http://messages/compose?r=anbieter3, so missing the whole domain. Can you help me what I am doing wrong???
    Thanks alot.

  • @sbrajesh Hi. maybe you can help me with a hint. I pur a custom link in the bp user Profile nav. Works so far, but I habe to user capapillity and want to show this link only for those user which loged in there Account and habe the cap ‘contributer’. I tryed this:
    if ( ! bp_is_my_profile() && ! $user->has_cap(contributer)) {
    return ;
    } as…[Read more]