Forum Replies Created
-
is there a way to do this yet? i’m looking at adding a simple ‘location’ field to the groups. Like a profile field, one that’s clickable to take them through to all groups within that location.
i’m looking for a solution like this too
Oh i see. Thanks!
Yeah, we’ll see what comes back here and there
Thanks Aces. Sorry I didn’t mention, but I actually found this previously and it didn’t seem to work.
Any reason why that would be?
I have a will…. where’s the way? 🙂
oh, and having said that… is there a way to add the same links into the nav menu?
ah hah… those work great!
… god knows who marked this as resolved before now… haha. Pet peev when forum goers assume their answer’s gonna solve the problem before the thread poster even gets back.
Anyway, thanks! Exactly what I was looking for
thanks for the reply.
I’m adding this to the widget but unfortunately I’m just getting the code display, or when I edit it, errors.
Is this definitely correct?
oh i see. Well that’s correct. I’m just looking to create links. Would you know how to create some links directly to users different profile elements?
huh? – think you may have pointed your comment the wrong way bud.
So coming back to point, I’ve added to the function.php the code allowing php in the widgets, and I’ve then tested both of the following
<a href="<?php echo bp_loggedin_user_domain(); ?>">Profile</a>
<?php echo bp_core_get_userlink( bp_loggedin_user_id() ); ?>
both of which now work as links to the profile. That’s one part of the initial question so thanks. The other is how do I change the code here to also link to the users /messages, /friends etc… does anyone know?
what css would I need to remove the rss button?
how do you mean?
I’m after a widget with some custom links basically… to the users profile (which we now have, thank you), their friends, messages etc.
ok great, that worked.
and now how would I get the users messages, friends etc. custom links within a users profile?
Hey
As this is a personal project, I’m only able to work on it at weekends.
So I’m trying to get links as I say directly to the logged in users profile, messages, friends etc in a widget.
What code would I need for this?
Thanks for the reply bud.
I’ve just added
<a href="<?php echo bp_loggedin_user_domain(); ?>">Profile</a>
to a widget, and it’s giving me a 404 page. Probably because I’ve amended the url’s for users. They show under. http://www.mydomain.com/username (ie: I’ve removed ‘/members/’)I’m wanting to create a menu with personalized links ie:
quick links:
profile
your messages
your friends
edit profileThat type of thing
Ah, this is what I believe I was using
<a href="http://yoursite.com/members/%USERNAME%/">Profile</a>
however, this no longer works :-/. Anyone know why that would be?
A few years ago I set up my first buddypress site and sold it.
I definitely remember using a dynamic url for links to the users profile, activity stream etc.
It was something like:
http://www.mydomain.com/member/$profile/
Are we all sure that this can no longer be done?
Great, that fully did the trick. If people are looking for a solution to this, that link does the trick
I’ve found the following link which i’m currently following, so I’ll let you know how I get on:
http://wpmu.org/how-to-build-a-facebook-style-members-only-wordpress-buddypress-site/