inherit
191534
0
Nov 7, 2014 7:07:08 GMT -8
bombermike
31
March 2013
bombermike
|
Post by bombermike on Apr 8, 2013 3:18:18 GMT -8
Is it possible to restrict guests from viewing profiles?
I have followed the instructions on previous thread to find out later it was for v4 thanks
|
|
inherit
191534
0
Nov 7, 2014 7:07:08 GMT -8
bombermike
31
March 2013
bombermike
|
Post by bombermike on Apr 9, 2013 12:15:29 GMT -8
is it possible ..... anyone ?
|
|
blueshead
Full Member
More hot peppers please!
Posts: 928
inherit
185994
0
Jun 17, 2018 15:20:52 GMT -8
blueshead
More hot peppers please!
928
November 2012
mrblueshead
|
Post by blueshead on Apr 9, 2013 12:22:01 GMT -8
Yes ..members can decide that,themselves.. Go to your profile/ privacy/ and set it so guest can't see.
There is also a script somewhere that an admin can use to restrict all members from being seen by guests.
Ok found it.. Put this in your global header..
<script> $(document).ready(function() { if(proboards.data('route').name == "user" && proboards.data('user').is_logged_in != 1) { $('div.container.show-user').html('<div class="title-bar"><h2>Error</h2></div><div class="content cap-bottom" style="padding:5px;">You do not have permission to view this page</div>'); } }); </script>
|
|
inherit
191534
0
Nov 7, 2014 7:07:08 GMT -8
bombermike
31
March 2013
bombermike
|
Post by bombermike on Apr 9, 2013 22:54:53 GMT -8
thanks very much works a treat
|
|
inherit
126477
0
Apr 21, 2023 15:18:52 GMT -8
Shrike
Re-appeared briefly after 6 years only to no doubt disappear again.
1,569
June 2008
shrike
|
Post by Shrike on Apr 10, 2013 10:30:55 GMT -8
Yes ..members can decide that,themselves.. Go to your profile/ privacy/ and set it so guest can't see. There is also a script somewhere that an admin can use to restrict all members from being seen by guests. Ok found it.. Put this in your global header.. <script> $(document).ready(function() { if(proboards.data('route').name == "user" && proboards.data('user').is_logged_in != 1) { $('div.container.show-user').html('<div class="title-bar"><h2>Error</h2></div><div class="content cap-bottom" style="padding:5px;">You do not have permission to view this page</div>'); } }); </script>
thanks very much works a treat That code can easily be bypassed because all it does is make the profile invisible, the information is still sent from the server and is visible by viewing the page source or disabling Javascript. You can use this template mod that will make it so that the server itself won't send the profile information if a guest is viewing it.
|
|