From: Reini U. <ru...@x-...> - 2004-07-14 10:45:43
|
Dan Frankowski schrieb: > The 'wikilens' theme in Phpwiki's CVS now works. I'd like to describe > what's in there so you can try it out if you wish. We'd love feedback, > so if you have any interest at all, give it a spin! Great! > Also, you can see these features in action at wikilens.org. > > Dan > > ============================ > > NOTE: Right now, we've tested with dbtype=SQL (which is PearDB, I > think). Reini put in support for other backends, but I don't know its > state. > > These features work if you use the 'wikilens' theme: > > ============================ > > 1. *Rate pages.* You can rate pages from 0.5-5.0 'smilies' in > half-smiley increments with a ratings widget at the top of the page. You > can view your ratings by visiting the "UserRatings" page. You can also > rate the page anywhere you see the widget (e.g., in UserRatings, or in > the category page, see below). > > ============================ > > 2. *Categories.* You can make a page a 'category' by dropping the > category plug-in on it: > > <?plugin CategoryPage ?> > > a. That just puts some boilerplate text on this page, including user > ratings of items within the category. The idea is that you don't have to > visit "UserRatings" directly; instead, you just go to the category page > you are interested in. > > b. The "CreatePage" on the category page will create the page with a > link to the category, hence putting it "in" the category automatically. > The intent is that you don't have to explain to your users how to put > things in categories. > > c. You can rate pages from the category page. > > ============================ > > 3. *Buddies.* > a. You can declare your 'buddies' Joe and Mary by putting the following > on your user home page: > > Buddies: Joe, Mary > > b. Once you declare buddies, you can see your buddies ratings in the FOO > category page by clicking "Show Buddy Ratings in the FOO category". > > c. You can declare per-category buddies. If you have a "Book" category, > put the following line on your user home page: > > BookBuddies: Mary, Reini > > It will fall back to "Buddies" if there's no per-category buddies. > > ============================ > > 4. *Predictions.* Once you have buddies, you will start seeing > predictions on the category page, based on how your buddies rated > things. You can also sort by predictions, your rating, or a buddy's > rating by clicking on the column of the page list to sort. No predictions without buddies? > ============================ > > Well, that's a brief overview of the main features I remember. However, > we have lots of plans for the future, so stay tuned! Me too :) * Clean up the RatingsDb classes to seperate into db and metadata backends. Now it's a dirty mix between dan's old mysql code, my refactoring, and dan's new fixes. * Let users configure the icon set. (To be tested) I added two more smaller icon sets. From the README: RATEIT_IMGPREFIX "RateIt" The default "RateIt" images use the yellow wikilens smiley. Yellow is rated, blue is recommended, color-less the unselected icons. Size: 16x15 RATEIT_IMGPREFIX "RateItStar" The traditional red star images must define the "RateItTrad" prefix in the RateIt plugin. Red is rated, blue is recommended, color-less the unselected icons. Size: 12x12 RATEIT_IMGPREFIX "RateItBStar" The bigger red star images must define the "RateItStarB" prefix in the RateIt plugin. Red is rated, blue is recommended, color-less the unselected icons. Size: 18x16 -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ |