LInk to inbox / sent messages
You can build your links using this sort of structure:
$link = bp_loggedin_user_domain() . bp_get_messages_slug() . ‘/inbox’;
BTW, does anybody have idea why I’m called Deleted User?
I think if you change something in your profile, it will update your name… don’t hold me to that though.
There’s a lot of stuff on this site that needs improving.
I’m having a problem that I’m hoping the above situation will fix, but I need more information on how to utilize what’s above.
Problem: WordPress toolbar is NOT showing up in MSIE, Firefox or Safari browsers. It IS showing in the Google Chrome browser. I’ve tried logging in with different accounts to see if it’s related to the login, but it’s the same – admin or member account – no toolbar. ALSO it’s the same with my other WordPress site – both are on two different servers. However, if I go to a WordPress.com site (versus a WordPress installation on a server/private site), the WordPress toolbar IS available.
Since the WordPress toolbar is not available, I was hoping I could create menu tabs/options to get members easily to their BuddyPress inbox. The above information about building links from the sample structure is Greek to me. Where do I put that code? I’m using the Mantra Theme, so would I put it in the Custom CSS area? In the Appearance > Menu > Enter URL option? I’m thoroughly confused and I’m such a newb. Sorry!
Here’s the website I’m building: http://ilovevampirenovels.com/ravenousbooktours
Tour Host Coordinator
You really should open a new topic. Your toolbar not appearing is a separate issue all together. The code @rogercoathup provided is just some PHP function calls combined using the ‘.’ operator stored in a variable. The variable represents what it is equal too. For instance:
$bphelp=”A nice person who tries to help when I can”;
I could echo $bphelp; once it is declared and the result would print “A nice person who tries to help when I can” without the quotes.
Therefore it is easier to declare a variable and use the variable to call those combined functions versus typing it all out. If this sounds Greek as well then consider hiring a developer. By the way don’t mix PHP code in CSS. It wont work but you can use php conditionals to control whether CSS code is executed depending on the condition.
- The topic ‘LInk to inbox / sent messages’ is closed to new replies.