On Thu, Mar 28, 2002 at 11:11:34AM +0100, pp wrote:
> > > topic tree. This way I would have some kind of
> > > "linked" articles.
> > > It looks like there is no possibility to get this some easy way 
> > > this time...
> > > 
> > 
> > Doesn't mgd_list_reply_articles() fits to your needs?
> > 
> 
> Yes, fine function , but I need article->id for that. 
> Example:
> 3000 articles in one topic tree.
> User create his favourite articles in his topic tree.
> The simplest way - to copy article.
> The most stupid cause I really do not need doubled articles.
> Link to this article should be fine, just like article up.
> What to do to show user articles?
> 
> mgd_list_topic_articles($person->topic);
> 
> none , articles with up != 0 are not displayed here.
> 
> OK, user has 3 articles with up pointed to some 3 articles
> in that 3000 articles.
> Simply functions for that to get its parent, but not to simply to my 
> system. 90% proc.... :(
> 

Well, in this case you could use

mgd_list_topic_articles (int topic, string [sort], int [type]), int
[up])

just set type to -1 if you would like to select articles with all
types.

Just looked in docs - this function accepts 3 arguments (by manual),
but in code I see the 4. 4th is int [type].

I'll try to fix it.

--
Regards,
Sergei Dolmatov.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to