Forum Replies Created
-
This thread has a bunch of code snippets you can use:
Thanks, Enlightenmental1! This works perfectly!!!
@Jrtlm
Here’s the code I put in bp-custom.php (if you don’t have a bp-custom.php file already, create it and put it in the plugins directory)
The code:
<?php
function my_login_bar(){
?>
<div id="search-login-bar">
<?php bp_login_bar() ?>
</div>
<?php
}
add_action( 'bp_adminbar_menus', 'my_login_bar', 100 ); ?>Also, if the CSS for the search/login bar isn’t in your bp-core/css directory, you may want to copy it from your bphome theme (not all of the css, just the part that relates to the search-login bar).
Also, the number 70 you see above determines the location of the menu item on the adminbar. The random menu on the far right is 100. I got rid of that random menu and that’s why I used 100 in my code.
Hope this helps. You’ll probably need to tinker around with it to get your location just, so, but it’s a start.
All the best to you!
I looked at your site and want to add the button in the adminbar (you have text there and a drop down for the fbconnect button.
Thanks for this. I’ve got it now.
Check out this thread (fourth answer down):
https://buddypress.org/forums/topic.php?id=2113#post-11358
I tried it and it worked for me.
Check out this thread (fourth answer down):
https://buddypress.org/forums/topic.php?id=2113#post-11358
I tried it and it worked for me.
@Dvdd,
Check out this thread (fourth answer down):
https://buddypress.org/forums/topic.php?id=2113#post-11358
I tried it and it worked for me.
I have tried to add it to bp-custom.php using a code snippet I already have, but it didn’t work. Can’t figure out what’s going on!
If you mean the buddybar (grey) at the top of the page, you can change it by going into:
wp-content>plugins>buddypress>bp-core>bp-core-adminbar.php
and
wp-content>plugins>buddypress>bp-core>css>admin-bar.css
If you want to add menus to the login bar, you’re better off setting up a bp-custom.php, this thread will have details on what to do (read thru the whole thread):
Thanks for the bump; hopefully we’ll hear something soon.
Thanks, Jeff! I think it is the positioning and the CSS (which may be the same thing). The rest of the buddybar menu items aren’t showing. I’ve added the login form to the buddybar, so at least that is showing.
Thanks, Jeff! I’ll look into these. I appreciate the feedback.
Other suggestions are welcome also.
Thanks for sharing this much-anticipated plugin.
Quick question: is there a way to limit the chat function to those who are friends? So that you can only chat with people you have “friended”?
Okay, I have gotten the Recent Blog Posts (sitewide) to include the admin. I went through the backend and double-checked everything.
But if I use the Recent Posts (main blog only) widget, I just get a list of hyperlinks to the posts.
Any thoughts on how to fix this?
Additional guidance would be appreciated!
Does anyone have any other tools and plugins that they’ve found useful?
Anyone?
Jeff,
To answer your questions:
1. I recently installed a couple of plugins. I removed them all and the same thing is still happening.
2. I haven’t changed any settings for the main blog in WPMU admin
3. No errors logged
Any thoughts?
Jessica
I like the default member theme and appreciate all of Andy’s hard work. I’m sure there are many more excellent updates to come!
My $.02
I decided to use the is_user_logged_in function for the relevant portions of my site, instead of the plugin.
I appreciate your comments, but I already have arranged for the redirection.
What I want is to exclude pages from the plugin.
Anyone?
It is still an issue.
The site url is
http://the-suitespot.combbPress (where I want to add the buddybar) is at
http://the-suitespot.com/forumsThe buddybar is green (like the header and has a customized menu)
Thanks for your help.
I posted an answer to this in the other thread where you asked this question.
You might try wpmudev.org or bp-dev.org for plugins.
Look again