Many of you have asked for the code that the U of M uses to send email reminders to people that want to be reminded when different steps of the research process are due for their assignments. Well, here it is! I sincerely hope that these instructions will make sense, but there is a possibility that you will have some questions regarding setting up this new AC version. If you have any questions, please use the comments function of this blog entry so that everyone may benefit from your question, and hopefully the answer!
These instructions are based on the use of a MySQL database. If you are using another type of database please consider sharing any modifications necessary to get the AC to work.
Now all you need to do is download the new zip file for the new version of the AC. This new version obviously has some changes to the existing files and also adds some files:
In order to install this new version of the Assignment Calculator follow these (hopefully) simple instructions. You will need:
+---------+-----------------+------+-----+---------+-----------+ | Field | Type | Null | Key | Default | Extra | +---------+-----------------+------+-----+---------+-----------+ |mail_id |int(5) unsigned | |PRI |NULL |auto_increment | |datum |varchar(8) |YES | |NULL | | |step |char(2) | | | | | |email |varchar(100) | | | | | |name |varchar(255) | | | | | +---------+-----------------+------+-----+---------+-----------+
This is where the email reminders will reside. You will also need to give your web server access to insert data into this table.
Again, if you have any problems please leave a comment. However, if they are problems dealing with your database you may need to solve those on your own! If you want to give it a try before you download, I have installed and configured it so that you can both calculate and send your self some emails.
Good luck!
Posted by snackeru at August 4, 2004 4:04 PMThis is fantastic! Quick question, though...your version of the assignment calculator has a list of subjects to help refine the steps. Is there an open source version of the AC that offers this option? Is there some way of getting our hands on that? I realize it would have to be heavily customized, but the base code for it would be helpful. Possible?
Posted by: Rochelle at September 10, 2004 12:57 PMThe subjects come from another tool in the library called "LibData." It is actually a library centric CMS of sorts that also drives other library tools such as Research QuickStart (http://research.lib.umn.edu). So, it is not as easy as just giving you that functionality. We have also made LibData "open source" if you would like to take a look. However, it is not trivial to install. If you are interested check out http://libdata.sourceforge.net/
Posted by: Shane at September 10, 2004 3:15 PMOne more thing. I think I have discovered why some libraries are having a problem installing the AC. The AC was written on a server running PHP with global variables turned on. If you don't have global variables turned on, the scripts won't work properly. Of course, the scripts can be modified to work with this type of server configuration. Let me know if you successfully modify the scripts in this way!
Posted by: Shane at October 18, 2004 10:01 AMThanks for the comment. Sorry for my late reply. I'm thinking that you would want your server adminsitrator to set up a "cron" job that would run this script once a day at a certain time. If you talk to your server admin, he/she will definitely know what a cron job is. Let me know if this answers your question!
Posted by: Shane at July 14, 2005 2:23 PM