Widget memberbox
-
Hello,
I’m a new WordPress French user and I want to use Buddypress for some community projects I’ve in my mind.
Well, there’s only one important thing I could not resolve at the moment : add a widget exactly like the one we can find in admin bar : Here’s an example
Instead of the “login widget”, I would really love to see a complete and fully integrated widget with Buddypress member’s notifications, messages, etc…
Is it possible ? Can you please give me some tips ?
Thanks a lot ! 😉
-
Hello,
No answers, should I think my topic isn’t clear enough ? Or perhaps nobody need a widget like this ? 🙂
+1
I don’t use the admin bar on my sites. It actually took me a while to discover that’s where all the BP functionality was.
The best option right now is to do it with some templating:
http://stackoverflow.com/questions/31812132/buddypress-display-notification-and-profile-in-header-instead-of-wp-admin-bar
That guy’s CSS isn’t the best, I’d suggest working on that.I added my own version of the code to that page I linked. The only problem with this is that if the BuddyPress devs change how something works, we won’t be in sync with it, so the widget would still be a nice feature.
Unfortunately it seems the HTML returned by bp_nav_menu() does not contain the same options and links as the similar menu that appears in the admin bar. For example, there is no ability to create a group from that menu.
Hello brx8r,
Thanks for your answers.
I’ll give a try to your solution and come back here after.
Just a question : is there a simple way to copy-paste your PHP code into a widget or do I need to edit my template files ?
Thanks.
Well,
I’ve tested your solution, and if it seems to duplicate all the elements from the Buddypress menu, it looks not so good : here’s the screenshot
Is it a problem with my theme (Hueman) ?
Thanks.
- The topic ‘Widget memberbox’ is closed to new replies.