vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=136063

NZB Attachment Parser
by Dismounted
10 Jan 2007 04:57

3 Attachment(s)
NZB Attachment Parser

Description:
This product will parse nzb attchments and display the contents in postbit.

Request Thread:
http://www.vbulletin.org/forum/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

Dismounted 10 Jan 2007 04:59

/me Reserves

bashy 10 Jan 2007 07:14

Didnt work for me, I am using GARS, so this could be the reason :(


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Theres the attachment code, I have to go work so will be back later, great hack btw :)

Dismounted 10 Jan 2007 07:30

What do you mean by 'It doesn't work?'

Raptor 10 Jan 2007 16:50

worked perfect first time - great hack

bashy 10 Jan 2007 17:33

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

Dismounted 11 Jan 2007 10:06

Hack Updated!

11/01/2007 - Version 1.1
- Collapsible NZB File Content Tables

sde 11 Jan 2007 15:42

does this require you to store your attachments in a directory vs the db?

bashy 11 Jan 2007 17:25

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

Dismounted 12 Jan 2007 05:14

Quote:

Originally Posted by sde (Post 1156246)
does this require you to store your attachments in a directory vs the db?

Yes, you must store your attachments in the file system.
Quote:

Originally Posted by bashy (Post 1156298)
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?

1) In 'class_nzbparser.php', find

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Quote:

Originally Posted by bashy (Post 1156298)
Also the image for the nzb attchment is no longer showing for some reason

In postbit_attachment, find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace With:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Quote:

Originally Posted by bashy (Post 1156298)
Also i would like to see a gap between the attached file and the nzb file info window please

In postbit_attachment, find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Add before:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


bashy 12 Jan 2007 07:22

Hi m8, thanks for all ya help

Everything is ok apart from the image still, its now there just slightly in the wrong please
Please see image.....

Can you think of any reason why having this mod/hack will make the page slow to open...
I have tested the same page with and without but its been the same results, fast without mod/hack, slow with it....I thought it was because all the files were showing, hence i wanted it closed as default, but that wernt the case lol, still want ti closed though :)

Thanks again

Dismounted 12 Jan 2007 09:46

Quote:

Originally Posted by bashy (Post 1156785)
Hi m8, thanks for all ya help

Everything is ok apart from the image still, its now there just slightly in the wrong please
Please see image.....

Where's the image?
Quote:

Originally Posted by bashy (Post 1156785)
Can you think of any reason why having this mod/hack will make the page slow to open...
I have tested the same page with and without but its been the same results, fast without mod/hack, slow with it....I thought it was because all the files were showing, hence i wanted it closed as default, but that wernt the case lol, still want ti closed though :)

Thanks again

The script has to parse the files no matter if the table is collapsed or not. That's why.

bashy 12 Jan 2007 17:32

1 Attachment(s)
lol...story of my life, i always forget the image, but in my favour, i did have to run out the door to go to work :)
Image enclosed (i hope lol)

That will explain why its slower opening regardless...

Dismounted 13 Jan 2007 05:10

Quote:

Originally Posted by bashy (Post 1157157)
lol...story of my life, i always forget the image, but in my favour, i did have to run out the door to go to work :)
Image enclosed (i hope lol)

That will explain why its slower opening regardless...

In postbit_attachment, find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace With:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


bashy 13 Jan 2007 09:49

Thanks a lot, thats got it all sorted now, much appreciated :)


All times are GMT. The time now is 10:29.

Powered by vBulletin® Version 3.8.14
Copyright © 2020, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.