Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Valid values for Status
Folks—
Can anyone point me to documentation regarding valid database values, specifically what values are accepted for txp_discuss.Status, and what they mean.
Thanks
Aaron Brazell
Editor/Writer, [url=http://www.technosailor.com]Technosailor.com[/url]
Offline
#2 2005-11-14 01:07:28
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Valid values for Status
Status
is from the textpattern
table, for articles. Is that the one you’re after, or have I misunderstood?
Offline
Re: Valid values for Status
I’m sorry. My bad. Yes. textpattern.Status.
Aaron Brazell
Editor/Writer, [url=http://www.technosailor.com]Technosailor.com[/url]
Offline
#4 2005-11-14 01:18:56
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Valid values for Status
1 = draft
2 = hidden
3 = pending
4 = live
5 = sticky
Offline
Re: Valid values for Status
Knowing that Aaron has a lot of imported comment spam I have the impression the he wants this for comments rather than articles. Am I thinking right Aaron?
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
#6 2005-11-14 01:24:31
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Valid values for Status
If that’s the case, visible
is what he’s after. It’s 1
(yes) or 0
(no).
Offline
Re: Valid values for Status
No, actually, mary had it right. Thanks though, thebombsite. It’s for my recent comments plugin, a la Free Press’s WordPress plugin
:-)
Edit: Actually, it could be either, but I’m testing for 4 or 5…
Last edited by technosailor (2005-11-14 01:37:33)
Aaron Brazell
Editor/Writer, [url=http://www.technosailor.com]Technosailor.com[/url]
Offline
Re: Valid values for Status
Darn it! Wrong again. ;)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Pages: 1