[Resolved] Can't close a Notification Message
This is a new one.
WordPress Multisite 3.5.1
When an existing user comes to the site to login, and then after login they might have a notification message waiting.
The notification message is in a large pale orange box that is the width of the website (and as long as it needs to be for the length of the message.) At the end of the message is a “Close” link.
Click on “Close” and nothing happens.
The orange box covers the drop down menus from the buddybar so that one can’t maneuver in the site.
The only way to get rid of it is if someone notices that the same message is printed underneath their avatar in the sidebar and they happen to notice that there is a “Close” link there as well. Clicking the “Close” link in the sidebar closes the message both in the orange box and the sidebar.
Thoroughly annoying behaviour.
Sounds to me like some scripting issue. Are you either able to provide a link to see this live or using an inspector in a browser see if there are any scripting errors when you click?
One has to be logged in, and have a notification message waiting for them, to be able to see it.
I haven’t been able to see any scripting errors, but next time the orange box appears I will try and check that out.
I’ve also noticed a similar thing happen here on the buddypress.org site, when I try to search the forms a huge red box extends down over the header and over the first search result.
You can see the orange text box and the “Close” link. The CSS hover works, it just doesn’t do anything.
If I send a message to myself, I do not get the orange text box.
If I send the message to “Everyone”, everyone gets the orange text box.
Oh, and I should say, that the message is also printed underneath the login/logged in area, and that “Close” link DOES work. When that “Close” link is clicked and the message disappears from underneath the login area, the orange box also disappears.
Come to think of it, I don’t need the text box at all, because the latest notification/message is always printed out underneath the login area.
So, where exactly to get rid of the text box?
That might be an easier fix.
Same problem as you, hopefully they can give you the answer to correct it.
I really need a fix for this – or at least the name of the page where I can start looking for the fix.
Any idea in which file this text box is sitting so I can get rid of it?
@kkradel that is a sitewide notice created by the Super/Site Admin. There’s a JS conflict. To delete the message as Super/Site Admin: From your account at the admin toolbar, go to Messages > All Member Notices or from your profile page, go to Messages > Notices
I guess I should have said I want to DISABLE the text box all together. Get rid of it.
So I need to know where this exists in the code so I can delete it, or disable it.
I know how to close the text box via the repeated text message underneath the login area. The placement of the text box doesn’t allow for accessing the drop down menus in the navigation bar.
This is hindering my non-techie users from using the site.
Can Someone PLEASE tell me how to stop the pop-up notification text box from happening?
If someone can at least tell me which file to look in, that would be a nice start. I want to eliminate this “feature” altogether, since the last notification is always printed below the login area anyway. No need for it to be printed out twice.
how to stop the pop-up notification text box from happening?
@kkradel rather than removing code from core, add this to your theme’s stylesheet.
display: none !important;
- The topic ‘[Resolved] Can't close a Notification Message’ is closed to new replies.