Announcement

Collapse
No announcement yet.

Remove Quick Reply Button In Post?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Remove Quick Reply Button In Post?

    I would like to remove the quick reply button but keep the quick reply box at the bottom. How do I go about this?

  • #2
    Admin CP -> Styles & Templates -> Style Manager -> « » -> Postbit Templates -> postbit or postbit_legacy (depending on which layout you are using)

    Find and remove this code to remove that button:

    Code:
    		<if condition="$SHOWQUICKREPLY AND !$show['threadedmode']">
    			<a href="$post[replylink]" onclick="return qr($post[postid]);"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
    		</if>

    Comment


    • #3
      Worked like a charm. Thanks.

      Comment


      • #4
        Hello,

        Im wondering if I can hide the quick reply for certain forums using something like this:

        if forumid X, Y Z

        "hide quick reply"

        /if

        Regards,

        Comment


        • #5
          <if condition="$SHOWQUICKREPLY AND !$show['threadedmode'] AND !in_array($forum[forumid] array(x,y,z))">

          will work. Replace x,y,z with the forum id numbers for where you do NOT want the icon to appear. This is instead of deleting the code.

          Comment


          • #6
            Hello Kerry-Anne,

            Just tried to do this and got this error in the ACP:

            Code:
            The following error occurred when attempting to evaluate this template:
            [I]
            [B]Parse error[/B]:  syntax error, unexpected T_ARRAY in [B]/home/.../public_html/.../includes/adminfunctions_template.php(3596) : eval()'d code[/B] on line [B]225[/B]
            [/I]
            This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
            the line 225 is the one I tried to modify, I have this:

            Code:
            <if condition="$show['quickreply'] AND !$show['threadedmode'] AND !in_array($forum[forumid] array(52,1,2,5,70,7,37,6,8,11,12,55,27,29,40,71,41,51,42,43,46,47))">
            I appreciate your help.

            thanks

            EDIT: by the way Im using 3.6.7

            Regards,

            Comment

            widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
            Working...
            X