inherit
214852
0
Feb 4, 2016 21:20:58 GMT -8
Shinobi
767
October 2014
martinengo
|
Post by Shinobi on Mar 1, 2015 1:54:37 GMT -8
|
|
#eb7100
1480
0
1
Nov 29, 2024 4:58:40 GMT -8
Craig
209,202
September 2001
cmdynasty
|
Post by Craig on Mar 1, 2015 2:19:31 GMT -8
That is done using a code in the footer. I am not sure if it has been 'release' for use. One of the admins will post later and hopefully post the code for you to use
|
|
inherit
214852
0
Feb 4, 2016 21:20:58 GMT -8
Shinobi
767
October 2014
martinengo
|
Post by Shinobi on Mar 1, 2015 2:37:20 GMT -8
Ok, I'll wait. Thank you
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Mar 1, 2015 9:03:47 GMT -8
Hi, Shinobi. This is what we're using on the Support Board.
|
|
inherit
214852
0
Feb 4, 2016 21:20:58 GMT -8
Shinobi
767
October 2014
martinengo
|
Post by Shinobi on Mar 1, 2015 9:15:21 GMT -8
Hi, Shinobi. This is what we're using on the Support Board. Thank you Brian, where am I suppose to paste it?, and also, how can I make it appear on the fast reply box or when you press "create thread" on the content box? By the way, how can I limit it for only certain boards?, sorry for my ignorance haha. And also, what about this one? i.gyazo.com/89d671f5bafb3df3c045482cc8c1201c.png < that's the one that says: Please only respond to this thread if you're helping the user who created the thread or you are the thread creator. If you're not the thread creator and you need help with your own issue (even if it's the same as the issue described in this thread) please create your own thread.
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Mar 1, 2015 9:30:57 GMT -8
It goes in Structure > Headers & Footers for whichever boards you want it on.
Here's one that does both the subject line and the quick reply.
This is the code used for the message above the reply area.
|
|
inherit
214852
0
Feb 4, 2016 21:20:58 GMT -8
Shinobi
767
October 2014
martinengo
|
Post by Shinobi on Mar 1, 2015 9:33:49 GMT -8
Ok, now the last two questions and sorry, haha, I sometimes feel like I ask too much, it's just that I'm trying to make a good game haha.
1. Is there anyway I can make the same, but as "real" text?, what I mean is, for example on the subject, when you click on the subject, the text disappears, is there anyway to make it not disappear but actually use it as a default title for the thread?
2. How can I use this for threads instead of boards?
That will be all, once again Brian, thank you, you have been along some others, including Craig, very kind and you have helped me a lot, thanks.
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Mar 1, 2015 9:37:51 GMT -8
Change the first instance of .attr("placeholder",placeholderText); in the code to .val(placeholderText); if you want it to be the actual value of the subject line.
You'd need a plugin to do anything on a per-thread basis.
|
|
inherit
214852
0
Feb 4, 2016 21:20:58 GMT -8
Shinobi
767
October 2014
martinengo
|
Post by Shinobi on Mar 1, 2015 9:49:53 GMT -8
And if I want to make it appear as new post, I put new_post instead of new_thread, and what if I want it to appear in the content box where you input the text of your post or on the fast reply box?, how do I add those?
Thank you!
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Mar 1, 2015 9:57:53 GMT -8
I'm not sure why you didn't just ask for all of these in the first place so I wouldn't have to rewrite the code 3 different times. New posts don't have a subject line, and the change in my last post can be done to the second instance of the code I specified to change the quick reply. There's no easy way to do it to the text area on the posting page as it uses an iframe.
|
|
inherit
214852
0
Feb 4, 2016 21:20:58 GMT -8
Shinobi
767
October 2014
martinengo
|
Post by Shinobi on Mar 1, 2015 10:04:11 GMT -8
Ok, thank you!, I really appreciate it your help!
Sorry for the inconvenience, I'll be more specific on other questions, I just got these ideas right now to cover all the possibilities, hahaha, I'm sorry!
Thank you
|
|
inherit
214852
0
Feb 4, 2016 21:20:58 GMT -8
Shinobi
767
October 2014
martinengo
|
Post by Shinobi on Mar 3, 2015 10:25:01 GMT -8
I have a last question, is it possible to use the second code for editing a post? I mean this one:
That the box content appears when you edit a post on a certain board.
By box content I mean this: i.gyazo.com/89d671f5bafb3df3c045482cc8c1201c.png
Thank you.
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Mar 3, 2015 14:36:26 GMT -8
Yeah, just change the first if statement to this:
|
|
inherit
214852
0
Feb 4, 2016 21:20:58 GMT -8
Shinobi
767
October 2014
martinengo
|
Post by Shinobi on Mar 3, 2015 14:54:51 GMT -8
I have this on the header of the board I want it to show the box of editing a post.
<script type="text/javascript"> // Reply page message $(document).ready(function(){ if(pb.data('route').name == "new_thread" || pb.data('route').name == "new_post" || pb.data('route').name == "quote_posts" || pb.data('route').name == "edit_post") { $('.subject_line').after('<div class="content-box support-reply-info" style="padding: 10px; font-size: 14px; border-width: 3px;"></div>'); if(pb.data('route').name == "new_thread") $('.support-reply-info').append('<div align="center" style="padding: 10px; color:red; font-size: 35px;><center><b><font color="red">¡MUY IMPORTANTE LEER ESTO!</font></b></center></div><br> Crear la ficha, en conjunto a los demás aspectos a crear te tomará un aproximado de 15 minutos. Recuerda que incluso después de rellenar este formulario, deberás editar tu ficha constántemente, basado en los sucesos y adquisiciones de tu personaje, adicional al transfondo, la historia y las características que tu personaje vaya desarrollando.<br><br>Es muy importante que antes de empezar a rellenar el formulario de ficha, hagas lo siguiente en caso de no haberlo hecho aún:<br><ul><li>RESPONDER AL TEMA DE INICIACIÓN DANDO CLICK AQUÍ</li><li>CREAR Y SUBIR EL DOCUMENTO ONEDRIVE DE EQUIPO/PC: VER AQUÍ</li><li>CREAR Y SUBIR EL DOCUMENTO ONEDRIVE DE MISIONES/LOGROS/PROGRESO: VER AQUÍ</li></ul><br><br>Llena los datos a continuación (si ya has finalizado con los pasos mencionados arriba)'); else $('.support-reply-info').css('border-color','#a00').append('<b><font color="red">LEER: MUY IMPORTANTE</b></font> Recuerda que tienes máximo tres intentos de encuentro al día y para la captura, máximo se puede responder 5 veces (lanzar máximo 5 Poké Ball independientemente del tipo a el pokémon encontrado.<br><br>Eliminar o editar este tema o cualquiera de las respuestas es penado de forma progresiva, aplicándose sanciones y multas. No edites o elimines estos temas.'); } }); </script>
What am I doing wrong?, because it doesn't work. Thank you very much!
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Mar 3, 2015 15:11:50 GMT -8
Which message is supposed to show when editing a post? The first one or the second one?
|
|