The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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}"> |
#2
|
|||
|
|||
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> |
#3
|
|||
|
|||
Can you tell me what we need to edit ??. I have the same issue and disable the paper clip image from thread view
|
#4
|
|||
|
|||
Quote:
|
#5
|
|||
|
|||
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> |
#6
|
|||
|
|||
Comment it out so it doesn't run
|
#7
|
|||
|
|||
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 |
#8
|
|||
|
|||
/* at the beginning of the line
*/ at the end of the line eg /* CODE */ |
#9
|
||||
|
||||
No, that is for PHP, not HTML, you should use <vb:comment> STUFF TO BE COMMENTED OUT </vb:comment>
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|