Upon login, the last access to each course is stored in the USER session
variable.
The earliest date of recent activity now shown is now the earliest of:
- this last access time
- the last login time
If this value is older than two days, then just use two days instead.
- include a HTML version of the email
- wrap all text emails at 79 characters now, not 70
I think quoting of text based emails on 80-character terminals
would be pretty rare these days
Now, in PLAIN AND WIKI formats, the rebuildnolinktag() function
is called to rebuild:
<nolink> to <nolink> again (open and close tags)
This should avoid showing the "<nolink>" word always in this formats!!
Used to solve Bug 1232 and potentially, others...
(http://moodle.org/bugs/bug.php?op=show&bugid=1232)
Please check it because it's really a CORE change!!
block db upgrade scripts. We 're getting to a point where you can really
have a directory with just a single 20-line file for your block and Moodle
will do all the rest. Much like Nuke does now. That is A Good Thing! :-)
The pgsql .php update script needs to be updated, but I 'm not sure about
the pgsql alter table syntax... mysql works, oracle is still under dev, so
no problem there.
Integrated with Moodle:
- Install automatically.
- Update course->blockinfo for each course at installation time.
- Modified course creation to insert into blockinfo field.
- Modified restore to insert into blockinfo field.
- Admin options (hide, show, delete, config) from admin page.
- Lang strings inserted (en only).
- Database support to mysql and postgresql (not tested!!).
Moodle, backup and block versions updated to 2004041800.
Tested with mysql: Install fresh and upgrade from previous.
section_activities block renamed to social_activities and created
its own lang file to support name "Social Activities". This can
be changed at any time.
TODO:
=====
Support it really in backup/restore.
????
Enjoy!! Ciao :-)
Not really sure if the method used is 100% correct ot no so, if you can
check it....
Perhpas I should make the stripping in backup process, istead of using this
central function. What do you think?