vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Integration with vBulletin - NZB Attachment Parser (https://vborg.vbsupport.ru/showthread.php?t=136063)

bashy 01-12-2007 05:22 AM

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 01-12-2007 07:46 AM

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 01-12-2007 03:32 PM

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 01-13-2007 03:10 AM

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:
HTML Code:

<td><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" /></td>
Replace With:
HTML Code:

<td valign="top"><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" /></td>

bashy 01-13-2007 07:49 AM

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

w1z4rd 01-13-2007 04:45 PM

Quote:

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


I find if you remove everything but the file list (group, poster, file size, parts) then it's not so bad with larger files.


Great hack, I tried for hours on the collapsible deal by myself before I noticed you added it.

bashy 01-14-2007 07:39 AM

Can you advise as to how to strip (group, poster, file size, parts) please?

Quote:

Originally Posted by w1z4rd (Post 1158172)
I find if you remove everything but the file list (group, poster, file size, parts) then it's not so bad with larger files.


Great hack, I tried for hours on the collapsible deal by myself before I noticed you added it.


w1z4rd 01-16-2007 04:49 PM

You have to edit the table in class_nzbparser.php and remove the appropriate <td>'s.

thedvs 01-16-2007 07:22 PM

Quote:

Originally Posted by w1z4rd (Post 1160703)
You have to edit the table in class_nzbparser.php and remove the appropriate <td>'s.

Can u post your copy of the php to save us all some time? :)

bashy 01-16-2007 08:05 PM

Does it make a vast improvement once modified?


All times are GMT. The time now is 02:54 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01075 seconds
  • Memory Usage 1,744KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_html_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete