-
danbpfr replied to the topic [Resolved]Adding "Age" to member directories in the forum Creating & Extending 11 years, 8 months ago
Try this:
change
if(!$user_id)
$user_id=bp_displayed_user_id ();
to simply$user_id=bp_get_member_user_id();
-
bp-help replied to the topic [Resolved]Adding "Age" to member directories in the forum Creating & Extending 11 years, 8 months ago
@aldereteka
Nevermind, complete brain fart as I see you provided a link. My apologies! -
bp-help replied to the topic [Resolved]Adding "Age" to member directories in the forum Creating & Extending 11 years, 8 months ago
@aldereteka
Please paste the code on pastebin.com or github.com and provide the URL here. -
danbpfr replied to the topic [Resolved] hide profile from non-logged-in users in the forum How-to & Troubleshooting 11 years, 9 months ago
No !
But why do you want to retro pedaling ? Those buttons are not visible for visitors. Reverting this just to redirect them to the login page and hoping they come back after registering is fussy !
I would suggest you to write a short message like:
<?php if ( !is_user_logged_in() ) : ?>
<div>If you were logged in you could…[Read more]
@aldereteka
Not recently active