> The reasons why an article create would legitemately fail:
>
> - author specified doesn't exist (returns NOT_EXISTS)
exists
> - parent topic doesn' exist (NOT_EXISTS)
exists
> - up article, if specified, doesn't exist (NOT_EXISTS)
exists
> - you're not the topic owner (ACCESS_DENIED)
access is good
The point is that I know this topic's name , not ID.
How to get topic's ID just knowing its name?
or
define t.id and get it even $t already exists with something like this:
$t = mgd_create_topic(144,$sth,'1','1',1,'2');
if(! $koszyk) { echo "not OK<br>";
} else {
echo "OK" ;
$tid = mgd_get_topic($t);
echo " . $tid->id .";}
If there is anyother way to make this , let me know.
Best Regards
Piotras
--
http://www.milinski.com.pl
http://www.infoglob.com
http://agaipiotras.igk.pl
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
- AW: [midgard-user] adding articles Kai Schroder
- Re: [midgard-user] adding articles/ RC1? Emiliano
- Re: [midgard-user] adding articles/ RC1? Alexander Bokovoy
- Re: [midgard-user] adding articles/ RC1? pp
- Re: [midgard-user] adding articles pp
- Re: [midgard-user] adding articles Emiliano
- RE: [midgard-user] adding articles Robin Jackson
- RE: [midgard-user] adding articles Emiliano
- RE: [midgard-user] 1.2.5 -> 1.4 Robin Jackson
- RE: [midgard-user] 1.2.5 -> 1.4 Robin Jackson
- Re: [midgard-user] adding articles pp
- Re: [midgard-user] adding articles Emiliano
- Re: [midgard-user] adding articles pp
- Re: [midgard-user] adding articles Emiliano
- Re: [midgard-user] adding articles pp
- Re: [midgard-user] adding articles Emiliano
- Re: [midgard-user] adding articles pp
- Re: [midgard-user] adding articles Emiliano
- Re: [midgard-user] adding articles Emiliano
- Re: [midgard-user] adding articles pp
- Re: [midgard-user] adding articles Emiliano
