The Arcive of vBulletin Modifications Site. |
|
NZB Attachment Parser Details »»
|
|||||||||||||||||||||||||
NZB Attachment Parser Description: This product will parse nzb attchments and display the contents in postbit. Request Thread: https://vborg.vbsupport.ru/showthread.php?t=135621 Installation: All the installation information is in the package. Changes: 1 Plugin 1 File Upload Change Log: 11/01/2007 - Version 1.1 - Collapsible NZB File Content Tables 10/01/2007 - Version 1.0 - Initial Release Supporters / CoAuthors Show Your Support
|
|||||||||||||||||||||||||
| Благодарность от: | ||
| madness85 | ||
| Comments |
|
#2
|
||||
|
||||
|
/me Reserves
|
|
#3
|
|||
|
|||
|
Didnt work for me, I am using GARS, so this could be the reason
![]() Code:
<if condition="$show['attachments']">
<!-- attachments -->
<div style="padding:$stylevar[cellpadding]px">
<if condition="$show['thumbnailattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_thumbnails]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[thumbnailattachments]
</div>
</fieldset>
</if>
<if condition="$show['imageattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[imageattachments]
</div>
</fieldset>
</if>
<if condition="$show['imageattachmentlink']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[imageattachmentlinks]
</table>
</fieldset>
</if>
<if condition="$show['otherattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_files]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[otherattachments]
</table>
</fieldset>
</if>
<if condition="$show['moderatedattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attachments_pending_approval]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[moderatedattachments]
</table>
</fieldset>
</if>
</div>
<!-- / attachments -->
</if>
|
|
#4
|
||||
|
||||
|
What do you mean by 'It doesn't work?'
|
|
#5
|
|||
|
|||
|
worked perfect first time - great hack
|
|
#6
|
|||
|
|||
|
Its ok, now sorted
![]() I do have a question though, Would it be possible to have this so you have to click a Show Files link and then they show? EDIT: Sorry but when its a say DVD nzb theres lots of files and it slows the page down no end I have had to remove this for now, If you do manage to find a way to add a link to show files then i will deffo install again.....Thanks |
|
#7
|
||||
|
||||
|
Hack Updated!
11/01/2007 - Version 1.1 - Collapsible NZB File Content Tables |
|
#8
|
|||
|
|||
|
does this require you to store your attachments in a directory vs the db?
|
|
#9
|
|||
|
|||
|
Thank you so very much Dismounted, i actually thought it was a long shot, much appreciated
![]() Sorry to ask some more but... How do i set the table so that its closed by default please? Also the image for the nzb attchment is no longer showing for some reason Also i would like to see a gap between the attached file and the nzb file info window please |
|
#10
|
||||
|
||||
|
Quote:
Quote:
PHP Code:
PHP Code:
Quote:
HTML Code:
<!-- Start NZB Attachment Parser --> <if condition="$attachment[attachmentextension] != 'nzb'"> <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:baseline" /> </if> <!-- End NZB Attachment Parser --> HTML Code:
<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:baseline" />
Quote:
PHP Code:
HTML Code:
<br />
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|