I was waiting for some kind of attachments for vanilla2. Using the very latest branch, I noticed class references won't work without a 'Gdn_' Prefix. Anyway: what am I supposed to do with files uploaded? It doesn't seem like there is a way to attach files to posts. Strange enough, I get a 404 when trying to access uploaded files, though the path seems to be correct.
@flobster. It is plugin for Garden, not Vanilla. Yes, I know that need prefix Gdn_ for plugin (my branch is not the latest, so...) Anyway, like I said, it is "for educational purposes" while Garden is beta.
Comments
Anyway: what am I supposed to do with files uploaded? It doesn't seem like there is a way to attach files to posts. Strange enough, I get a 404 when trying to access uploaded files, though the path seems to be correct.
'RequiredPlugins' => array('UsefulFunctions' => '>=0.1'),
Call to undefined function CleanupString() in /plugins/LoadUp/default.php on line 116
Change line 116 to:
$Basename = Format::Url(pathinfo($_FILES['LoadUpFile']['name'], 8)) .'.'. pathinfo($_FILES['LoadUpFile']['name'], PATHINFO_EXTENSION);