Im sorry for all the spamming of versions. But I think its good to let the comunity take part in the creation phase to make it best possible. (And i am noob and need help :)
And schizo, my next order of business is to implement the changes with extensions.php. Btw, how is the so called paged manager issue coming along? was there something else to blame? noone else have said they have the same problem.
happy holidays! I do not see why you cant use my current version for your not webaccessible storage. Isnt the point that you hide the colums with direct link and hotlink urls? Your second point I also dont get. What do you mean? LUM_Attachment is the table names created by the attachment add on, and LUM_User is created by vanilla. these should work out of the box..
Since he wont be back, and I want to get this done while I got time off from work. Does anyone else see the problem?
rysk: Thats because its not implemented yet. Will be on next update. Consider it a teaser :)
schizo: Im sorry, but i dont know what to do about it. its probably a bad combination of page manager, mine and a third add on. I am reading through the documentations now in order to recreate my extension as ... uhmm.. standard complying? as possible. Lets see if the problem persists at that time before we worry to much about it.
good point. i didnt consider that cause all my "jpeg" files are "jpg" .. I will have to make due for this as well as files with ' in them. It should all make it in to the add on by 1.0.
thanks for taking the time to test and comment :)
I cant really find a good way to deal with files with ' in their names. The problem is that i just display data from the tables created by vanilla and the attachment add on. Its really the attachment add on that needs to deal with this issue. However, call me crazy, but i feel people had best leave such chars out of file names..
Uploading in a few minutes a new version that has these changes:
• Settings has been moved to their own file : "settings.php". This is so that when ppl updating to a new version of this add on, they need not remake these. I will notefy if this file changes.
• As per rysk's suggestion, it now understands 4 letter file extensions and upper cases.
• File size column is implemented. I choose to display as Kb, but its saved in byte, so that info could be shown if ppl would rather have accurate size.
• Reverse sort. Click column header a 2nd time to reverse the sort of that column.
good suggestion. I will check if its less than 1kb, between 1kb and 1mb and more than 1mb. I doubt anyone will host 1gig on a forum, so lets not go there :P
Comments
Great work! Works very well!
Perhabs you may consider my changes for not web accessible file storage too? I have to copy and past it with each new version! ;-)
One comment: Here you should try to get the table prefix from the config! Or the table names at all!
Tomorrow I go to my easter holidays, without internet, bye!
yeah move it to extensions.php page
I'll keep back in editing more
Now, I'm looking for, why *.jpeg Files are not recognized as Images...
you cut the filename 3 chars... naturally, *.jpeg files have no chance
$type = substr($row['filename'],-3);
with
$type = substr (strrchr ($row['filename'], "."), 1);
and my files were recognized
evtl: little improvement idea: not static to use kB, but to look, whether the files is greater then 1 MB (1GB)...
maybe this would be helpfull... (i don't know, what kind of people upps 1GB Files^^)
to the '-files: maybe you contact Jazzman, if he is here again, for changing this in the Attachment Add-On