The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#2
|
||||
|
||||
![]()
You can modify the template attachmentbit.
Code:
<!-- code corrected, see post #5 below --> <if condition="[s]$vbulletin->userinfo['postcount'][/s] >= 50"> <tr> <td class="$bgclass"> <img class="inlineimg" src="$stylevar[imgdir_attach]/$attachment[attachmentextension].gif" alt="<phrase 1="$attachment[attachmentextension]">$vbphrase[file_type_x]</phrase>" width="16" height="16" border="0" style="vertical-align:middle" /> <a href="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&d=$attachment[dateline]" target="_blank">$attachment[filename]</a> </td> <td class="$bgclass"> $attachment[filesize] </td> <td class="$bgclass" align="center"> $attachment[counter] </td> </tr> <else /> <tr> <td class="$bgclass" colspan="3" align="center">You do not have enough posts to download attachments.</td> </tr> </if> Change the 50 to whatever post count you want it to be. If you want to make it more advanced than that, you should post a mod request. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|