PDA

View Full Version : Posting with TYPE_ARRAY_BOOL


FreekBoy
08-30-2006, 04:52 AM
Hey everyone,

I am trying to work up a hack where I can make a forum with a script I have. I have everything working great, only thing I am having trouble with is setting the options on the forum.

I look into the class_dm_forum.php and find:

'options' => array(TYPE_ARRAY_BOOL, REQ_AUTO),

I have no idea how to use TYPE_ARRAY_BOOL,

I try just doing:


$options = 97991; // I got this from looking at an existing forum that I want mine to match option wise
//[More code here I cut for space]
$postdm->set('options', $options);


Yet doesnt seem to help. Any help would be great!

Thanks
Seth

FreekBoy
09-02-2006, 12:01 AM
Anyone?