- 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.
@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]
Hi Frank,
Thank you for the question. Your problem is the user id is missing somehow.
Please open a topic in our forums with the code you are using(please use backtick for sharing code) and I will assist.
https://buddydev.com/support/forums/
Regards
Brajesh
Thanks a lot. I posted this to the forum.