---------
* Fixed a few bugs in account.php - saves Natrak some time.
I only fixed the obvious, very small bugs reported today.
Enhancements:
-------------
* Made the default theme a setting in config.inc. You can now easily
change the default theme. It's a much nicer approach with more
flexibility. When working on your theme, you set your theme to be the
default theme. In addition, with a small scripting tric in config.inc
we could automatically set the default theme to the most popular theme
(according to the user table), or we could periodically cycle (round
robin) through all themes: say every week a new default theme. I truly
think that's better. :-)
* Adjusted config.inc, theme.inc and account.php in order to do so.
* I have some remarks with regards to config.inc, but I think I'll share
those later in a seperate mail.
rendering a calendar less expensive.
* Added a function displayCalendar($theme, $active_date) to functions.inc.
* Adjusted index.php so it would support URIs formated like
"?date=$unix_timestamp".
* Integrated the calendar in my personal theme: themes/Dries/theme.class.
If you want to include the calendar in your theme, check the code in my
$theme->footer(): global $date and call displayCalendar($theme, $date).
Check the main page at http://beta.drop.org/ with theme 'Dries' to see it
yourself!
browser, but now the Status box show in 9pt too and I dont want that, does
anyone know how to break out a stylesheet so you still can assign font sizes
within the body, without them being overruled by the stylesheet?
-------------------
I created a sweet little class that is able to generate tiny calendars.
98% of all portals (incl. big portals like slashdot and kuro5hin) lack
a decent way to browse older stories that 'felt' of the news page. At
these sites, the only way to access older news is by using the search
form which - I think - will only very few people tend to do. If you do
not know what you are searching for, this isn't very easy neither. As
a consequence, older stories are often completly forgotten and
discussions simply drop death as soon they felt of the main page.
Many stories are actually timeless and can stay interesting and 'live'
for a longer period of time. By making them hard to access they are
often killed before the discussion died peacefully on it's own.
In other words:
---------------
My calendar class is an attempt to make browsing archives (i.e. older
stories) (a) possible and (b) easy to do ... and is hence considered a
navigation improvement compared with the majority of all portals.
IMHO, small improvements like these can and will make us better in the
end.
I suggest to integrate it on the main page if you all agree. You can
check a `demo' at
http://beta.drop.org/calendar.class.php
but be aware: it isn't linked with the database yet so you actually
can't navigate anything yet. ;)
Throw in your 2 cents and let me know what you think of it please!
longer be accessed from the web. Let's keep lurking eyes out. ;)
* I'm still idling (except for these kind of tidbits) until Natrak commited
the new user system. *evil grin*
.inc files can be read from the web including `config.inc' which contains
the account information (login, password) to the MySQL database. Apache
has now been setup to deny access to all *.inc files from the web.
I replaced much of the giffies filenames with more human-readable ones.
Yes this implies a lot of removing and replacing giffies. Expect some more
cvs updates. :)