On Sun, Mar 18, 2001 at 08:46:00PM +0100, Ingo Herz wrote:
> At 19:11 18.03.01 +0100, you wrote:
> >Frank Boehme wrote:
> >
> > > HOWEVER, it might be a better idea to use *parameters* which are
> > > attached to the articles in order to count the votes. The point is: Even
> > > anonymous users can create and modify parameters. I have myself
> > > implemented a voting system in this manner.
> >
> >I actually think this was reported as a bug and that I mended it.
> >Your 'robot' method would work, and once 1.4.1 is out (I'm cleaning up
> >the data package, and that should be it) I'll give my experimental
> >as_author patch some attention.
>
> yup, using 'robot' method now - was very easy as I only had to change the
> owner of the topic - but 'as_author' sounds quite good, too...
>
> btw: is there a 'repligard-safe' way of links between articles? I'll have to
> make links between articles in a topic and it doesn't seem to be a good idea
> to use the ID as a reference for the link. Any ideas?
Two cases:
1. Use names of articles and mgd_get_article_by_name()
2. Use GUIDs. Each object has method get_guid() which returns Globally Unique
IDentifier. Then use get_object_by_guid($GUID);
--
Sincerely yours, Alexander Bokovoy
The Midgard Project | www.midgard-project.org | Aurora R&D team
Minsk Linux Users Group | www.minsk-lug.net | www.aurora-linux.com
ALT Linux Team | www.alt-linux.org | Architecte Open Source
-- The minute a man is convinced that he is interesting, he isn't.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]