storyaday
Veteran
Just Getting Started
Member Likes (0)
Hi, there is a check box in the Buddypress that lets me (as admin) send a notice to all users. But in the Corporate theme, there is nowhere for this to show up. The messages just disappear.
In the BP-Default theme, they show up in the sidebar for logged-in users.
In this thread someone proposes a code to add to the sidebar to make the Notice To All Users show up. http://premium.wpmudev.org/forums/topic/this-is-a-notice-to-all-users-check-box-doesnt-work-for-private-messages
I don't really know where to put this code. Can anyone tell me exactly what file, what directory, what part of the file? I'm willing to learn but stumbling around in the dark, currently.
Responses (7)
People Person (joined February 2012) Likes (0)
Hi there!
After a bit of testing...
/wp-content/themes/bp-corporate/lib/templates/bp-template/optionsbar.php
Creates what you see below when viewing the right sidebar.
I've tried to play with the css to get it to style a little better but I'm a little weak there.
For the time being I at least wanted to give you an answer :)
Best!
Kimberly
Member (joined April 2012) Likes (0)
Thanks, but this doesn't show up in mine. I am using a child theme. Does that matter?
People Person (joined February 2012) Likes (0)
The display of the sidebar shouldn't matter if you have a child theme, you should still be able to create a page template with the above name and insert the code there.
Support Chimp (joined March 2010) Likes (0)
Hey there, just checking in to see how things are going?
If you need any further help then please feel free to reopen the thread or create a new one as needed.
Take care and have a great day/evening.
Member (joined April 2012) Likes (0)
Never resolved this. I can see the 'notice to all users' in themes like "scholar" but not in BP_Corporate.
I put it where Kimberly suggested but still nothing shows up on my site.
Support Chimp (joined March 2010) Likes (0)
Hey again.
I see that in Kim's Screenshot its there. But Searching the theme I don't see the function... Nor see it on my installs.
So if you want this of the front of the forums page, then you could under:
Add the following:
This code basically says, hey is the messages active in BP and is the user logged in, if so then lets show those admin messages.
This could be added to other areas as well. So you could put it in the header, the footer or the sidebar.php file.
A quick cheat and another untested option could be to use a wigdet:
http://wordpress.org/extend/plugins/buddypress-sitewide-notice-widget/
Never tested it though.
Hope this helps.
Support Chimp (joined March 2010) Likes (0)
Hey there, just checking in to see how your going?
We haven't heard from you in a while, if you still need support then please feel free to reopen this thread or create a new one.
Take care,
Tim.
WordPress Questions?
We've got answers!
Find out more »