Forum Replies Created
-
In reply to: Adding menu items to the admin bar
Ah, yeah, I wasn’t sure if the template tag needed a trailing slash after it or not. Glad you’ve got it working!
You want to edit the index.php that’s IN your theme folder
In reply to: ClothUnderground.com – ”Launching” Tomorrow@mattmct: Or you could use conditional statements in a custom template. It would go something like this:
Well thanks for helping me get this far

Anyone else maybe have a minute to look over my code and see if I’m missing something?
In reply to: Adding menu items to the admin barI couldn’t help myself, I had to go look. Try this:
ping @nuprn1
I hate to bug you again, but IDK if anyone else could pick this up in the middle of the situation and understand where it should be headed, lol!
In reply to: Adding menu items to the admin bar@alanchrishughes: Well crap

Oooh, is there a tag you can use on sidebar.php? There must be something there, because there’s a link to the logged in user’s profile that’s displayed in the sidebar on every page. That’s where I’d check next.
In reply to: ClothUnderground.com – ”Launching” TomorrowIn reply to: Adding menu items to the admin bar@alanchrishughes: Me too, lol!
I pastebinned this for you. Might work, might not. It’s only a link for the “Activity” page. I’m not sure how you’d go about coding the menu that appears to the side of it (the one with “Personal”, “Friends”, “Groups”, etc.), but at least this may give you a start
In reply to: Adding menu items to the admin bar@alanchrishughes: Yep, I use the following in member-header.php on my site for the link to the feedback posts (which are titled with the @user name of each member):
href=”http://www.clothunderground.com/feedback/bp_displayed_user_username();/” title=”View or leave feedback for this user”
Worth a try!
ETA: of course, you’d need the php open/close pieces around that bp_displayed_user_username(); tag

Bah, OK, this is still displaying the person’s avatar for blog posts, rather than the value of the custom field

@nuprn1: sargbhnes;rkgubser OK, how does this look?
I feel like I’m missing something important!
In reply to: how to display widgetThis is the tut I learned from:
http://www.themelab.com/2008/04/18/see-how-easy-it-is-to-widgetize-wordpress-themes/
In reply to: ClothUnderground.com – ”Launching” Tomorrow@crashutah: no problem, here’s what I have in my theme functions.php to create the new widget (I have it named “profile_BP_Groups_Widget”, but you could change that to whatever, of course):
It just creates a normal new widget, so if you wanted to put it in an existing sidebar, you could just drag it on over. I just widgetized the area under the member avatar for my site. I do have the size of the group avatars being controlled by a div wrapped around the widgetized area, so you might want to add something of the sort around the code in the actual widget so that you can control those via CSS.
In reply to: Adding menu items to the admin bar@alanchrishughes: could you not hardcode everything but the Log Out in that menu? I thought all of those items had actual URLs, they just each include the current logged in user’s @user name. You could grab that by using bp_displayed_user_username() in the link with the rest hardcoded, couldn’t you?
It’s a bit janky and static, but it might work…unless I’m just completely not thinking straight at the moment (which is entirely possible!)
In reply to: GivingSports.comAhhhh, I see! So people have to pay to be able to join a group? That is pretty wicked! What a neat idea for a site

@nuprn1: thanks so much, I’ve been working with the Sitewide Tags plugin so much lately that I forgot about having to do a switch!
OK, so, I’m still pretty lost, but I did try

http://pastebin.com/ShsCiyFCAlso, what would be the correct values? As you can see, I’ve hit the point of being completely lost as to where to go next, lol!
In reply to: Adding menu items to the admin bar@alanchrishughes: I see now

That should be interesting if you can get the login stuff working!
In reply to: LOVINGFUTBOL.COMLooks awesome! I wish I could read Spanish. I’ve got a vague idea of what’s what, though. Thanks for the home page inspiration (I’m already thinking of redoing mine, lol!)
In reply to: GivingSports.comLooks good, but I got the following errors at the “accept-invitation” link you posted:
Warning: Division by zero in /home/givingsp/public_html/wp-content/themes/fishbook-buddypress-buddypack/registration/register.php on line 359
Warning: Division by zero in /home/givingsp/public_html/wp-content/themes/fishbook-buddypress-buddypack/registration/register.php on line 365
In reply to: ClothUnderground.com – ”Launching” Tomorrow“Mark as Favorite” icon has now been moved into the admin bar, and only displays on child site posts (it’s used to power a “wishlist” feature for items from the shops of my child sites).
In reply to: Adding menu items to the admin barEep! Nevermind, I figured it out. I was missing an ending parenthesis
In reply to: Adding menu items to the admin bar@alanchrishughes: when I reread that, I wondered if you meant that your code adds a second admin bar. If that’s the case, then that’s not really what I’m after

Trying out @JediSthlm‘s bp-custom.php code, but keep getting UNEXPECTED “:” errors about my giant “if” line here (the one about logged in, is_single, and tags):
I took the “:” out of the line completely, and then it gave me an UNEXPECTED “;” error, even though there was no semicolon in the line.
Anyone know what’s wrong with my code? I’m sorry, it’s indented properly in my editor, I don’t know why it ended up like that in the pastebin
