I have a request from the officers of my organization for a form that allows unregistered users to upload file attachments for the officers. I do not want to allow anonymous attachments that are placed in a readable directory on the server because that directory could become a place for temporary online storage.
Our ftp server has an incoming directory that is write only, but that is not accesible to Drupal forms. I would like to clone the upload.module and rename it to allow a restricted access to a directory in drupal that is only writable by the www user and readable by no one. I can then use a cron job to move the files to a directory for the officers. Ideally, because we have four persons needing these files and they are each getting files from different sections of our organization, I would like to be able to use different directories for the uploads for each officer. The submissions come via four different forms. So I could base the directory on the form ID, if I knew how.
I have so far cloned the upload.module as drop.module and created a database table (drop) to keep the information. I cloned upload.js as drop.js and renamed all the upload_* tags to drop_* tags. I can get the form to display the file attach option. Browse works, and attach causes the file to transfer to the server. However, the file does not get saved anywhere, but I get no Drupal or php errors reported.
I installed tinymce according to the install.txt, read all postings because it did not work and tried out everything which was suggested. the "best" results are the links "disable (or enable) rich-text" but nothing happens if I klick these links. Tried out IE and Firefox, both with JS. The only thing I found out was, that tiny_mce.js does not appear to load....
I have created a form in a page. Is it possible to have the username and e-mail fields filled in automatically?
If so, where can I find a complete list of these type of macros?
I have continued in search of image.module; mysql file. Instructions and forum comments related to subject mention the creation of sql tables in conjunction with installing the image.module. However, the image.mysql file does not seem to part of the 4.7 image.module distribution.
Can anyone tell me where the image.mysql file for the 4.7 image.module is located?
Should there not be a image.mysql file for the 4.7 image.module distribution?
I have recently noticed that I no longer receive email notification of any replies to my forum posts / issues etc ? I'm sure that I used to do before - unless I am imagining things.
I searched the forums and checked through 'my account' page but can't see any related preference settings.
Is there any way to override regular functions that don't start with 'theme_' ? I'm trying to get rid of all my hacks in the core modules to clean up my site. There are a couple functions where I just want to change an sql query. I suppose I could pretty easily make a module to replace some functionality, but for a couple lines of code, I'd rather not go through the hassle. Any ideas?