From: Arno H. <aho...@in...> - 2000-06-26 21:43:58
|
Hi again, last email for today :o) changes I just uploaded: - RecentChanges fix - dates are prefixed with "____" - renamed [Search] and [Fullsearch] markup to %%Search%% and %%Fullsearch%% - quick hack for hitcount support: - added ###HITS### placeholder - added %%Mostpopular%% markup - added following functions to mySQL GetHitCount($dbi, $pagename) IncreaseHitCount($dbi, $pagename) InitMostPopular($dbi, $limit) ... init search MostPopularNextMatch($dbi, $res) ... do search This *breaks* dbm, pgsql, msql as those functions are not defined there yet. Also, I've completely omitted the pesky issue of how to address the hitcount table. In the current scheme, we would need to do a OpenDateBase() etc. Also, there should be a define for the number of pages returned for %%Mostpopular%% - actually I'd like to see a markup like %%100Mostpopular%% where 100 may be substituted by any number. A regexp could pick the number and use it as limit. But I'm too lazy right now. The db interface for hitcount is of course open to discussion. This is just a quick hack. Steve, if you uploaded a fixed version of 1.1.6, then don't use the latest CVS. Reason above. Also, you could remove those CVS/ directories from the tarball as well - must have been very late that night, no? ;o) /Arno |