![]() |
Remove paperclip linking help please
Hi, is there any way to stop the paperclip linking to the attachment in any post.
I have a mod installed that requires the user to make a thanks before the attachment is shown, but clicking on the paperlink takes you straight to the attachment and bypass the thanks system. Thanks. --------------- Added [DATE]1278353878[/DATE] at [TIME]1278353878[/TIME] --------------- I have found this in threadbit, but not sure what to remove to take away the paperclip Code:
<li class="threadbit {vb:raw thread.statusstring}<vb:if condition="$show['paperclip']"> attachments</vb:if><vb:if condition="!$thread['postuserid'] AND !$thread['del_userid']"> guest</vb:if><vb:if condition="$thread['moderatedprefix']"> unapproved</vb:if>" id="thread_{vb:raw thread.realthreadid}"> |
Any one any ideas on how this can be done ?
--------------- Added [DATE]1278660970[/DATE] at [TIME]1278660970[/TIME] --------------- I have done it, you need to go into threadbit and comment out the following code Code:
<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> |
Can you tell me what we need to edit ??. I have the same issue and disable the paper clip image from thread view
|
Quote:
|
I have checked my threadbit but the same above code used as default:
Code:
<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> |
Comment it out so it doesn't run
|
Comment it out???. Can you explain?. I am newbee and not much experience
--------------- Added [DATE]1410680965[/DATE] at [TIME]1410680965[/TIME] --------------- I have did like that and its worked i think: Code:
<!-- 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 --> Thanks a lot |
/* at the beginning of the line
*/ at the end of the line eg /* CODE */ |
Quote:
|
All times are GMT. The time now is 07:18 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|