inherit
186770
0
Jan 19, 2013 3:22:38 GMT -8
user07
193
December 2012
user07
|
Post by user07 on Jan 12, 2013 9:59:52 GMT -8
I'm trying to modify "You do not have permission to access this board." and "You do not have permission to view this page.". I'd like to write in both cases simply "Please login." But I can't find these in any of the layout templates ... May someone help me? Thanks !
|
|
inherit
First Contributor
66253
0
Mar 18, 2024 11:09:20 GMT -8
aRMY83
2,925
December 2005
army83
|
Post by aRMY83 on Jan 13, 2013 11:32:45 GMT -8
Hello user97... I'm not going to take credit for this: 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>Opps, there was an error!</h2></div><div class="content cap-bottom" style="padding:5px;">You must login or register to view this area.</div>'); } }); </script> and the reason, I got this from someone and can't remember where. EDIT: i believe it was RAD over at IOD, however, i can't confirm that as they are down at the moment.EDIT: it was here that I got the code by shortyverrett94: support.proboards.com/thread/433324/page/2/autoselecting-hiding-member-profiles-guests#page=1
|
|
inherit
186770
0
Jan 19, 2013 3:22:38 GMT -8
user07
193
December 2012
user07
|
Post by user07 on Jan 13, 2013 13:19:32 GMT -8
Thank you aRMY83! Going' to test that now
|
|
inherit
First Contributor
66253
0
Mar 18, 2024 11:09:20 GMT -8
aRMY83
2,925
December 2005
army83
|
Post by aRMY83 on Jan 13, 2013 15:08:45 GMT -8
You're welcome.
|
|
inherit
207980
0
Aug 20, 2016 12:39:49 GMT -8
Dinsfan
7
April 2014
dinsfan
|
Post by Dinsfan on Jun 21, 2016 18:43:27 GMT -8
Havent been able to make that work. Does anybody know where the source code is and can that be changed?
|
|
inherit
226544
0
Oct 5, 2018 10:29:39 GMT -8
Ulises
4,881
November 2015
umacklin
Ulises Weirdo
|
Post by Ulises on Jun 22, 2016 9:34:08 GMT -8
|
|
inherit
209650
0
Feb 28, 2021 2:32:42 GMT -8
weedfanatic
114
May 2014
weedfanatic
|
Post by weedfanatic on Jun 22, 2016 12:18:21 GMT -8
Havent been able to make that work. Does anybody know where the source code is and can that be changed? NO credits to me for the code. I'm not sure where the link to the original post I got this code from is, because I found this some time ago, but if I find it, I'll update it here later.
Put the code below in your Global Footer. <script type="text/javascript"> $(document).ready(function() { $('.container.error .title-bar h2').html("[Sorry!] You do not have permission to access this content!"); $('.container.error .content').html("You must be a site member to access this content!"); }); </script>
|
|