desabilitar botones en el foro

  • Autor Autor moises9633
  • Fecha de inicio Fecha de inicio
M

moises9633

Gamma
¡Usuario con pocos negocios! ¡Utiliza siempre saldo de Forobeta!
quiero desabilitar los botones "post reply" y "Quick Reply" como lo logro ?
 
Hola moises9633.

Para ocultar el botón "Quick Reply"
Busca en tu plantilla postbit o postbit_legacy este código:

HTML:
<if condition="$show['quickreply'] AND !$show['threadedmode']">
            <a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
        </if>

Agrega <!-- al inicio y --> al final.

Para ocultar el botón "Post Reply"
Busca en tu plantilla SHOWTHREAD este código:

HTML:
<if condition="$show['largereplybutton']">
        <td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&amp;noquote=1&amp;p=$FIRSTPOSTID" rel="nofollow"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a></td>
    <else />
        <td class="smallfont">&nbsp;</td>
    </if>

Aparecerá 2 veces. Agrega <!-- al inicio y --> al final en ambas secciones.
 
graxxx men 😉 simpre tu eres el que responde muchas gracias de verdad
ya quite el boton "Quick Reply" pero el "Post Reply" no lo consegui no me aparece el codigo que pusistes me aparece es otro condigo

1
PHP:
<div id="post_message_$post[postid]">
            $ad_location[ad_showthread_firstpost_start]
            $post[message]
        </div>

2
PHP:
        <div>
                __________________<br />
                $post[signature]
            </div>
        <!-- / sig -->
        </if>

        $template_hook[postbit_signature_end]

        <if condition="$show['postedited']">
 
Para el botón "Post Reply", tienes que buscar el código que te indiqué en la plantilla SHOWTHREAD 😉

Para ocultar el botón "Post Reply"
Busca en tu plantilla SHOWTHREAD este código:

HTML:
<if condition="$show['largereplybutton']">
        <td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&amp;noquote=1&amp;p=$FIRSTPOSTID" rel="nofollow"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a></td>
    <else />
        <td class="smallfont">&nbsp;</td>
    </if>

Aparecerá 2 veces. Agrega <!-- al inicio y --> al final en ambas secciones.
 
yo pense que era en el mismo post legacy jejeje grax men listo 😉
 
Atrás
Arriba