Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-11-14 00:46:25

technosailor
Member
From: Baltimore, MD
Registered: 2005-10-30
Posts: 23
Website

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

#3 2005-11-14 01:15:03

technosailor
Member
From: Baltimore, MD
Registered: 2005-10-30
Posts: 23
Website

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

#5 2005-11-14 01:23:00

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

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

#7 2005-11-14 01:36:22

technosailor
Member
From: Baltimore, MD
Registered: 2005-10-30
Posts: 23
Website

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

#8 2005-11-14 05:59:02

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Valid values for Status

Darn it! Wrong again. ;)


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

Board footer

Powered by FluxBB