I think he means line 13 of the file link_files.php in the "views" folder of the plug in. Seems to work but how can the size of the image be restricted?
Now I just need to figure out how to allow users to delete their own uploads...
@Flam, Hmmm, I never realized, until I checked with a forum member, that the little "trash can" was not a option to anyone but myself as admin. Glad you mentioned it.
Would be great to have his function. This is the missing pies to upgrade my forum from 1 to 2 and starting to jump into the code of vanilla2 to help build extentions
It won't allow word document uploads or excel uploads for my users. It says file limit is 2MB even though the file is only 14kb. Does anyone know why it shoots a nonsensical error and how to fix it?
Comments
Could you fix it ?
Line 13 of what file?
Vanilla Forums COO [GitHub, Twitter, About.me]
MediaID}/{$Media->Name}"); ?>" />MediaID}/{$Media->Name}"); ?>'><?php echo $Media->Name; ?>
It's basically a fixed version of what the guy above proposed.
In my fileupload.css I also added
div.Attachments .uploadpic {max-width:500px;}
To make the images not overflow
Now I just need to figure out how to allow users to delete their own uploads...
Vanilla Forums COO [GitHub, Twitter, About.me]
Vanilla Forums COO [GitHub, Twitter, About.me]
http://vanillaforums.org/discussion/13136/attachments-to-fileupload-importer/p1
Would be great to have his function. This is the missing pies to upgrade my forum from 1 to 2 and starting to jump into the code of vanilla2 to help build extentions
http://vanillaforums.org/discussion/comment/130064/#Comment_130064
Does anyone know why it shoots a nonsensical error and how to fix it?
I don't have IE, lol, so I cannot test this... seems similar to @Flam's comment above though.