The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I have been wracking my brain over this for hours because I'm very green in the php area. I'm trying to add an .nzb as a file attachment and parse the list of files within it so they display in a table below the attachment. I am basing my lame attempts on this code which is slightly modified.
I put this in my includes folder: class.nzbparser.php PHP Code:
PHP Code:
In attachment.php I added: (around line 260) PHP Code:
PHP Code:
PHP Code:
HTML Code:
<a href="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&stc=1&mode=download">Download this nzb file</a> <br> What the hell goes here?? HTML Code:
<!-- NZB --> <if condition="$show['nzblist']"> <fieldset class="fieldset"> <legend>NZB file list</legend> <div style="padding:$stylevar[formspacer]px"> $post[nzbattachments] </div> </fieldset> </if> <!-- END NZB --> I know it's not much but i'll paypal someone $10 if they can help me straighten this out. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|