Forum Replies Created
-
Thanks for suffering my stupidity, @ubernaut. It works now.
@chouf1, you, sir, are a prince. A thousand thank yous. It works perfectly now.
Thanks for the response, suggestion, and snippet. I agree that it’s fussy. I’ll reflect.
Hey @Chouf1
Can your code be modified for private messaging? I’m trying to make the private message button on profiles visible when someone is logged out, but redirected to log in/register when a logged out/unregistered user attempts to contact someone. Can anyone point me in a general direction?
Thanks.
Actually, whoever is logged in is the default age, and when logged out, everyone is age 0 in the member directory. When logged out each user’s profile page shows their proper age.
Like I said, I think I just placed either the first part of the code or this “usage” snippet in the wrong place, but I think some kind of “loggedout” verbiage is still needed. One of you wizards please help me.
I know this is an extremely old thread but as Buddypress is linking to it for tips and tricks, I figured this is still relevant.
@sbrajesh, I used your snippet for adding age into my users’ profiles and it worked to the extent that I somehow made the admin, me, the default age. It looks great, but all my hypothetical users are 33! This seems like a placement issue but I can’t figure it out.I’m using the latest WP and BP Default with a child theme, and I placed the first part of sbrajesh’s code in my bp-custom.php and the second part in the members-header.php to start with.
Anyone’s help would be awesome.
Works. I appreciate the time.
Weeeeell, it looks like the child theme wasn’t activated. I’m sorry to have wasted your time. I was certain that I hit activate but obviously not. I’ll try out the child functions now. Thanks again.
It’s the theme that I’m using, but when you posed the question, I tried altering stuff through the stylesheet and nothing happened.
Could the problem be the URI? It’s the only thing I wasn’t sure about when creating the child theme. Like I said, I’m learning as I go.
Theme URI: http://nativelounge.org/themes/child/
Author URI: http://nativelounge.org/Thanks for responding, Hugo. I changed the parent functions.php because nothing was changing in the child one. When Buddypress is updated, I understand that any changes will be lost. Sorry if that wasn’t clear. My problem is that the child theme functions is not being read at all and I don’t know what I’m doing wrong.
Oh, and I’ve already followed the step-by-step building child theme in the bp codex. It’s how I’ve wandered this far.