Announcement

Collapse
No announcement yet.

Hide Visitor Messages Page

Collapse
X
Collapse
First Prev Next Last
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Free Mod Hide Visitor Messages Page

    It is by design, rightly or wrongly, that Visitor Messages page is visible to the public. vBulletin staff says:

    Visitor messages are intended to be public. They are basically "wall" messages, or profile messages.
    A workaround is to hide the content of the page is via CSS. This is not a foolproof solution but good enough for average users.

    Add this in css_additional template in AdminCP or via Sitebuilder > Style > CSS Editor.

    Code:
    .page[COLOR=#FF0000]34[/COLOR] #widget_[COLOR=#FF0000]12[/COLOR] {
        visibility: hidden;
    }
    
    .page[COLOR=#FF0000]34[/COLOR] #widget_[COLOR=#FF0000]12[/COLOR]:before {
        content: 'Sorry,\00a0you are not authorized to view this page.';
        visibility: visible;
    }
    Change the numbers in red accordingly based on what you use in your forum.

    Right click on any page, then click "Inspect" or equivalent. Then in the HTML source, look for the <body> tag and see pageXX in the class attribute. Use that to replace page34 in the above code.

    Right click on any empty space in the Visitor Messages content. Find the <div> tag with class of "b-module". Find its id with the format of widget_XX. Use that to replace widget_12 in the above code.

    See sample screenshot below:

    Click image for larger version

Name:	vm.png
Views:	1718
Size:	39.0 KB
ID:	5998

    See the Visitors Messages page on this site for the actual demo.

    Enjoy!
    Last edited by glennrocksvb; 08-29-2017, 05:29 PM.
    Helpful? Donate. Thanks!
    Buy me a coffeePayPal QR Code
    Fast VPS Host for vBulletin:
    A2 Hosting & IONOS

Users Viewing This Page

Collapse

There is 1 user viewing this forum topic.

  • Guest Guest

Latest Posts

Collapse

Working...
X
Searching...Please wait.
An unexpected error was returned: 'Your submission could not be processed because you have logged in since the previous page was loaded.

Please push the back button and reload the previous window.'
An unexpected error was returned: 'Your submission could not be processed because the token has expired.

Please push the back button and reload the previous window.'
An internal error has occurred and the module cannot be displayed.
There are no results that meet this criteria.
Search Result for "|||"