Re: Rate User Contributed Notes
| From: | Hannes Magnusson | Date: | Thu, 24 Apr 2008 19:21:11 +0000 |
| Subject: | Re: Rate User Contributed Notes | ||
| References: | 1 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-1609@lists.php.net to get a copy of this message | ||
On Thu, Apr 24, 2008 at 9:01 PM, Yannick Denzer <heavyraptor@gmail.com> wrote:
> Hello Hannes,
>
> I'm now thinking about how the rating requests will work via the
> servers/mirrors.
>
> I suppose that each time a note gets rated, the rating will have to be sent
> to the master and get saved there in the database. But how will the mirrors
Correct.
> retrieve the rating information for each note?
> I think that this rating data will have to be saved in a file on each
> mirror and then get updated sometimes, just like the user notes.
>
> Is that correct?
If you use the existing tables and fields then the score is already
accessible by the mirrors (see manual_notes_load() in
include/shared-manual.inc
-Hannes