Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Attachment Extension 1.4
This discussion has been closed.
Comments
I have the following extensions enabled:
Add Comments 1.0
Atom Feed 1.0
Attachments 1.2
BBInsertBar 0.1.3
Better BB Code 1.0
Category Jumper 1.0
Cleanup 1.0
Discussion Filters 1.0
Extended Text Formatter 1.0
Hide Success 1.0
IP History 1.0
Legends 1.0
NewsMailer 0.1
Quotations 1.3
RSS2 Feed 1.0
Role History 1.0
Vanillacons 1.1
YellowFade Effect 0.1
Notice: Undefined index: ATTACHMENT_DISPLAY_IMAGE_PROCESSING in F:\webserver\xampp\xampp\htdocs\Vanilla\extensions\Attachments\default.php on line 481
That was just to start with. At some point conf/settings.php was updated and then the notice disappeared and I could change settings.
And I also still get a download error for normal files with friendly URLs on. The URL looks like:
http://localhost/vanilla/diskussion/66/&Download=booklist_englische-quellen.doc
uzi: wierd! I've tried it with soulscape and vanilla's default and it works for me. Maybe it's a conflict with one of the other extensions? These are the one's I'm using:
CategoryJumper
Legends
Cleanup
Style
Textile
PredefinedAttributes
Discovery
ExtendedApplicationForm
GuestWelcome
Quotations
PreviewPost
PrivateAccounts
Atom
HelpPage
NewApplicants
Attachments
Ah, one other idea: thickbox chokes on images with capital-letter extensions (maybe lightbox too?), e.g. JPG instead of jpg. In my updates I made it save the attachments with lower case extensions. If you happen to have some files still with capital-letter extensions from previous versions of attachment, see if it works if you rename them and their respective thumbnails to lower-case extensions, e.g. .jpg.
maybe to keep with the format of the rest of the comments form, you should use
<label for="AttachmentFile">
instead of<dt class="AttachmentInputLabel">
?the thumbnails and images are visible in text-only mode.
1. a "maximum attachments per comment" setting instead of the default 3 - i already added this one to my own install - it was just a matter of changing the MultiSelector instantiations from (... , 3) to (... , $CommentForm->Configuration['ATTACHMENT_LIMIT']) and creating those defintions
2. a diskspace quota setting - to limit each user to x MB of diskspace. i guess this would take a bit more work
thanks again guys, my users love this extension already.
vanilla is already bundled with prototype.js v1.40 in the /js folder. so maybe you don't need to package it with your extension?
You could even start thinking about different quotas for different roles but that's getting pretty complex. This extension is becoming a beast!
foreach (glob("$UserID.*") as $file) { $UserDiskSpace += filesize($file); }
and: the close button still doesn't appear if lightbox is enabled....