Cerrar Ventana

Algunas cookies de este sitio son esenciales, y el sitio no funcionará como se espera sin ellas. Estas cookies se establecen en el momento de enviar un formulario, inicie sesión o interactuar con el sitio realizando una acción que va más allá de hacer clic en un simple enlace.


Leer Más

Somos un foro de soporte en español que no tiene publicidad y tiene muchas cosas gratuitas aportadas por la comunidad, contribuye con el foro para poder así obtener alguna membresía de manera gratuita.
SoporteMyBB tiene un total de
1124 temas de soporte.
0 quedan aún por resolver, 244 han quedado obsoletos y 880 han sido resueltos.
Aún no tienes una cuenta, regístrate es gratis.

Calificación:
  • 0 voto(s) - 0 Media
  • 1
  • 2
  • 3
  • 4
  • 5
Hide Until Reply Paid version
 mhz
Usuario del Foro
mhz
Estado: Sin conexión Registrados
2
14
2
Canada
2
2
12 July 2015, 16:40
#11
0
I found the template Whoot !!!

Now I did not see the hide.js but found jscripts/oculto.js <--- and I don't have this js



Here is the template


<link rel="stylesheet" href="{$mybb->asset_url}/jscripts/sceditor/editor_themes/{$theme['editortheme']}" type="text/css" media="all" />
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/sceditor/jquery.sceditor.bbcode.min.js"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/bbcodes_sceditor.js"></script>










<script type="text/javascript" src="{$mybb->asset_url}/jscripts/oculto.js"></script>
<script type="text/javascript">
    var hide_tag = "{$mybb->settings['thx_hidesystem_tag']}";
    var hide_tag_title = "{$lang->thx_hide_tag_title}";
    var hide_tag_content = "{$lang->thx_hide_tag_content}";    
</script>
<script type="text/javascript">
var partialmode = {$mybb->settings['partialmode']},
opt_editor = {
    plugins: "bbcode",
    style: "{$mybb->asset_url}/jscripts/sceditor/textarea_styles/jquery.sceditor.{$theme['editortheme']}",
    rtl: {$lang->settings['rtl']},
    locale: "mybblang",
    enablePasteFiltering: true,
    emoticonsEnabled: {$emoticons_enabled},
    emoticons: {
        // Emoticons to be included in the dropdown
        dropdown: {
            {$dropdownsmilies}
        },
        // Emoticons to be included in the more section
        more: {
            {$moresmilies}
        },
        // Emoticons that are not shown in the dropdown but will still be converted. Can be used for things like aliases
        hidden: {
            {$hiddensmilies}
        }
    },
    emoticonsCompat: true,
    toolbar: "{$basic1}{$align}{$font}{$size}{$color}{$removeformat}{$basic2}image,{$email}{$link}|video{$emoticon}|{$list}{$code}quote,{$mybb->settings['thx_hidesystem_tag']},hide|maximize,source",
};
{$editor_language}
$(function() {
    $("#{$bind}").sceditor(opt_editor);

    MyBBEditor = $("#{$bind}").sceditor("instance");
    {$sourcemode}
});
</script>
 
 Whiteneo
Equipo de Soporte

Estado: Sin conexión Soporte Técnico
354
4,693
Mexico
576
12 July 2015, 19:09
#12
0
Im surprised if editor works in that way, you have to set this vaue at least:

<link rel="stylesheet" href="{$mybb->asset_url}/jscripts/sceditor/editor_themes/{$theme['editortheme']}" type="text/css" media="all" />
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/sceditor/jquery.sceditor.bbcode.min.js"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/bbcodes_sceditor.js?ver=1804"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/hide.js"></script>

<script type="text/javascript" src="{$mybb->asset_url}/jscripts/sceditor/editor_plugins/undo.js?ver=1804"></script>
<script type="text/javascript">
var partialmode = {$mybb->settings['partialmode']},
opt_editor = {
    plugins: "bbcode,undo",
    style: "{$mybb->asset_url}/jscripts/sceditor/textarea_styles/jquery.sceditor.{$theme['editortheme']}",
    rtl: {$lang->settings['rtl']},
    locale: "mybblang",
    enablePasteFiltering: true,
    emoticonsEnabled: {$emoticons_enabled},
    emoticons: {
        // Emoticons to be included in the dropdown
        dropdown: {
            {$dropdownsmilies}
        },
        // Emoticons to be included in the more section
        more: {
            {$moresmilies}
        },
        // Emoticons that are not shown in the dropdown but will still be converted. Can be used for things like aliases
        hidden: {
            {$hiddensmilies}
        }
    },
    emoticonsCompat: true,
    toolbar: "{$basic1}{$align}{$font}{$size}{$color}{$removeformat}{$basic2}image,{$email}{$link}|video{$emoticon}|{$list}{$code}quote,hide|maximize,source",
};
{$editor_language}
$(function() {
    $("#{$bind}").sceditor(opt_editor);

    MyBBEditor = $("#{$bind}").sceditor("instance");
    {$sourcemode}
});
</script>

This is the content of that template... Change yur to this and have to work, se yah !!!
 
 mhz
Usuario del Foro
mhz
Estado: Sin conexión Registrados
2
14
2
Canada
2
2
12 July 2015, 21:46
#13
0
Nice work and it shows the button now Sonrisa

So where would I look to add it to quick reply too Sonrisa

thanks for your hard work
 
 Whiteneo
Equipo de Soporte

Estado: Sin conexión Soporte Técnico
354
4,693
Mexico
576
12 July 2015, 22:05
#14
0
We use a plugin to set the editor on quick reply and add the same vaues in global template of the plugin, if you have this we can help, otherwise ir so difficut because we don't know how did you get editor on quick reply :D
 
 mhz
Usuario del Foro
mhz
Estado: Sin conexión Registrados
2
14
2
Canada
2
2
13 July 2015, 00:26
#15
0
https://github.com/martec/quickadveditorplus

this is the quick editor plugin I was using

thanks
 
 Whiteneo
Equipo de Soporte

Estado: Sin conexión Soporte Técnico
354
4,693
Mexico
576
13 July 2015, 02:55
#16
1
Mejor respuesta del mensaje RE: Hide Until Reply Paid versionInto global templates search for:

codebutquick  

Then search for:

<script type="text/javascript" src="{$mybb->asset_url}/jscripts/bbcodes_sceditor.js?ver=1804"></script>

And under this add:

<script type="text/javascript" src="{$mybb->asset_url}/jscripts/hide.js"></script>

Then search for:

{$link}|video

And change for this.

{$link}, hide|video

And it's done !!!!

See yah !!!
 
 mhz
Usuario del Foro
mhz
Estado: Sin conexión Registrados
2
14
2
Canada
2
2
15 July 2015, 00:28
#17
0
Okay I added the above - very easy to find add.. however it did not work..

I even deactivated and activated and code was still there but did not work..

regards
 
 Whiteneo
Equipo de Soporte

Estado: Sin conexión Soporte Técnico
354
4,693
Mexico
576
15 July 2015, 00:31
#18
0
Do you have an url to see it ?

We use the same mod you say above, so i think shoud work like here, because it's a very similar code we use on my two mods of hidden contents for guests.
 


Posibles temas similares…
Tema Autor Respuestas Vistas Último mensaje
  Update Download button text to latest version mujeebdgk 3 459 8 July 2019, 16:40
Último mensaje: mujeebdgk
  Error de notificaciones en versión móvil Nomak 2 1,302 18 April 2015, 07:39
Último mensaje: Whiteneo
  Quitar Hide de las firmas Vicen 5 1,479 17 August 2014, 00:37
Último mensaje: Whiteneo



Usuarios navegando en este tema: 1 invitado(s)