Thread: $post in 3.7
View Single Post
  #1  
Old 17 Aug 2008, 03:55
VodkaFish VodkaFish is offline
 
Join Date: Oct 2003
$post in 3.7

While on my journey from 3.6 to 3.7 I'm having some trouble with a script I have that looks at some extra checkboxes below a post.

In the newpost_process hook I take $post['message'] and parse it for a variety of things based on the checkboxes below the post.

So I'd have this in my template:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Then in the hook I'd have:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Checked off or not, I'm never getting within that if statement. If I can't use $post['parsethis'] what can I use to see if parsethis was checked off?
Reply With Quote