When I was running version 3. . . I'd swear our member list was only viewable to logged in users. Is there a trick to doing that in vB Cloud?
Display member list to logged-in users only?
Collapse
X
-
-
There is a way to "hide" the content of the Memberlist page to guests using CSS.
Code:.logged-out .memberlist-widget .widget-content { display: none; } .logged-out .memberlist-widget:before { content: "Sorry, you are not authorized to view this page."; }
👍 1Comment
-
-
Here's a little quick and dirty JS to remove the info from the page completely to keep those "savvy" users from seeing it in the source.
Code:if (pageData.userid == 0){ $( ".memberlist-widget" ).replaceWith( "<h2>You don't have permission to view this page</h2>" ); } else{};
Comment
-
If you're not on cloud, you can use Javascript like the above to reset the location to an invalid URL so they get an error page.Translations provided by Google.
Wayne Luke
The Rabid Badger - a vBulletin Cloud demonstration site.
vBulletin 5 APIComment
Related Topics
Collapse
-
by WhiskeyOSSHow can I display the member list or a sub link to the member list in vb5 I do not see one so I assume either it does not exist or we have to make it. ? I could only find 2 member.php files which seem...
-
Channel: Support Issues & Questions
-
-
by CraigAny idea what would cause the online members page not to display fully, as seen here?
-
Channel: Support Issues & Questions
-
-
Would like to edit this section so users online dont show across the bottom of page to all non registered users
Have already set it up if general public click on the users online tab the...1 Photo-
Channel: vB Cloud Support & Troubleshooting.
-
Comment