Misaka
Full Member
Yozakura Quartet: Hana no Uta
Posts: 912
inherit
179763
0
Oct 11, 2024 19:07:51 GMT -8
Misaka
Yozakura Quartet: Hana no Uta
912
May 2012
hellsingfan
|
Post by Misaka on Jan 12, 2014 10:29:38 GMT -8
I know its located somewhere in the Layout Template but where is the question. Basically what I'm trying to do is re-word the message from "oops you do not have permission to view this page/thread" to something else. what board would I be looking in by chance? Tim Camara I choose you! "pokemon joke reference"
|
|
inherit
72282
0
Feb 22, 2019 7:29:04 GMT -8
Smangii
what's this?
4,772
February 2006
smangii
|
Post by Smangii on Jan 12, 2014 15:22:53 GMT -8
I was able to solve it by adding this into Global Footers. Not sure if this is the easiest way... just edit the red.
<script type="text/javascript">
$(document).ready(function() {
$('.container.error .content').html("Sorry! You do not have permission to view this board. Why don't you try <a href='https://login.proboards.com/login'>Logging in</a> or <a href='https://login.proboards.com/register'>Signing up</a>?");
});
</script>
|
|
Misaka
Full Member
Yozakura Quartet: Hana no Uta
Posts: 912
inherit
179763
0
Oct 11, 2024 19:07:51 GMT -8
Misaka
Yozakura Quartet: Hana no Uta
912
May 2012
hellsingfan
|
Post by Misaka on Jan 12, 2014 17:08:12 GMT -8
it solves it part way .... I'm trying to think of a way to explain what I'm trying to do example lets use this thread moved as an example when a guest or member tries to access the moved thread they get the error message instead.what I want to do is just rewrite it completely I mean I found the code inside google view source <div class="container error"> <div class="title-bar"> <h2>Oops, there was an error!</h2> </div> <div class="content pad-all cap-bottom auto-overflow"> You do not have permission to access this thread. </div> </div> lines 290-298 > view-source:animemangamore.boards.net/thread/690
|
|
inherit
72282
0
Feb 22, 2019 7:29:04 GMT -8
Smangii
what's this?
4,772
February 2006
smangii
|
Post by Smangii on Jan 12, 2014 18:06:28 GMT -8
Do you want to be able to edit the "Oops, there was an error!" part too? Or do you mean completely add new HTML and stuff so you can "design" the error page?
|
|
Misaka
Full Member
Yozakura Quartet: Hana no Uta
Posts: 912
inherit
179763
0
Oct 11, 2024 19:07:51 GMT -8
Misaka
Yozakura Quartet: Hana no Uta
912
May 2012
hellsingfan
|
Post by Misaka on Jan 14, 2014 12:22:06 GMT -8
Do you want to be able to edit the "Oops, there was an error!" part too? Or do you mean completely add new HTML and stuff so you can "design" the error page? if you could please & yes to the other have
|
|
inherit
187402
0
Mar 23, 2016 19:15:19 GMT -8
Barkley
1,591
December 2012
avinalaff
|
Post by Barkley on Feb 24, 2014 10:20:46 GMT -8
I was able to solve it by adding this into Global Footers. Not sure if this is the easiest way... just edit the red. <script type="text/javascript">
$(document).ready(function() {
$('.container.error .content').html("Sorry! You do not have permission to view this board. Why don't you try <a href='https://login.proboards.com/login'>Logging in</a> or <a href='https://login.proboards.com/register'>Signing up</a>?");
});
</script>I use similar in my global header. They will change the message on certain areas, such as private sections of the forum, but not the default message for guests.
|
|