Welcome, Guest. Please Login or Register.
May 09, 2025, 03:03:54 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  More efficent attachment manager « previous next »
Pages: [1] Reply Ignore Print
Author Topic: More efficent attachment manager  (Read 1360 times)
Ben_S
Disciple of Joe
Support Team
YaBB God
*****
Posts: 1586


I Love YaBB SE!

WWW
More efficent attachment manager
« on: January 12, 2003, 04:56:47 PM »
Reply with quote

Could someone possibly knock together an enhancment for the attachment manager,

Currently it is set accross a single page, so when you have a lot off attachments the page takes a while to load.

I've just loaded mine and Opera tells me the page is 1.8Mb and it took about 6 mins to load.

[edit] The page is actually 14mb, thank god for gzip [/edit]

Basically what needed it for it to diaplay say 50 on a page then have page numbers for the rest.

Cheers
« Last Edit: January 12, 2003, 05:01:13 PM by Scotty_B » Logged
Ben_S
Disciple of Joe
Support Team
YaBB God
*****
Posts: 1586


I Love YaBB SE!

WWW
Re:More efficent attachment manager
« Reply #1 on: January 12, 2003, 07:13:34 PM »
Reply with quote

I see what my problem is...

Total Attachments: 96480

When in reality there is only about 650.

For some reason it thinks every post has an attachment and is showing them on the attachment manager page.

Looking at a new install the messages table should have be NULL for attachment filename where there isnt one, so I just need to run a query to set it to null where its blank.

UPDATE yabbse_messages SET attachmentFilename = NULL WHERE attachmentFilename = '';
Did the trick, suppose I must have installed a mod thats stopping it automatically sticking the null in.

Anyway still think a mod to display them over numerous pages would be a good idea but for now I can live with 600 on one page :)
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  More efficent attachment manager « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.121 seconds with 20 queries.