stop downloading the attachment from thread view

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jerit2012
    Member
    • May 2012
    • 50

    stop downloading the attachment from thread view

    After uploading the attachment its visible in forum display and users are able to download the attachment without viewing thread by clicking the paperclip attachment icon shown in the below attachment.

    How to disable this?

    Kindly help
  • Zachery
    Former vBulletin Support
    • Jul 2002
    • 59097

    #2
    Edit the threadbit template.

    Comment

    • jerit2012
      Member
      • May 2012
      • 50

      #3
      Thanks for the response ...What i should edit. Can you tell me pls?

      I can see this in threadbit template

      <vb:if condition="$show['paperclip']">
      <a href="javascript://" onclick="attachments({vb:raw thread.threadid}); return false"> <img src="{vb:stylevar imgdir_misc}/paperclip.png" border="0" alt="{vb:rawphrase x_attachments, {vb:raw thread.attach}}" /></a>
      </vb:if>

      Just want to disable downloading by clicking on the paperclip image
      Last edited by jerit2012; Sat 13 Sep '14, 8:52pm.

      Comment

      • Mark.B
        vBulletin Support
        • Feb 2004
        • 24286
        • 6.0.X

        #4
        Change it to this:
        Code:
        <vb:if condition="$show['paperclip']">
        <img src="{vb:stylevar imgdir_misc}/paperclip.png" border="0" alt="{vb:rawphrase x_attachments, {vb:raw thread.attach}}" />
        </vb:if>
        That should still show the paperclip, but it won't be clickable.
        MARK.B
        vBulletin Support
        ------------
        My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
        My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

        Comment

        • jerit2012
          Member
          • May 2012
          • 50

          #5
          Thanks a lot. It is disabled from thread view.

          but if we click on "New posts" or "Whats New" or "Todays Post" , its able to download the attachment by clicking the paper clip.

          Can you tell me where i can edit and disable the same.

          Last edited by jerit2012; Tue 16 Sep '14, 9:21am.

          Comment

          • jerit2012
            Member
            • May 2012
            • 50

            #6
            Search results & "New posts lists" are showing the paper clip icon and possible to download the attachment by clicking the paper clip icon.
            Kindly advise where i can edit and disable the paper clip.

            Comment

            • Trevor Hannant
              vBulletin Support
              • Aug 2002
              • 24325
              • 5.7.X

              #7
              To find which template you need to change, enable the following setting:

              AdminCP > Settings > Options > General Settings > Add Template Name in HTML Comments

              After enabling this, refresh the page you're on and view the source code - the start and finish point of each template will then be marked in the source code.
              Vote for:

              - Admin Settable Paid Subscription Reminder Timeframe (vB6)
              - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

              Comment

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