Dosya düzenleme:sources/action_public/post.phpBu kodu bulun ve silin:CODE
$this->do_into_code = array( 'new_post' => '00',
'new_post_do' => '01',
'reply_post' => '02',
'reply_post_do' => '03',
'edit_post' => '08',
'edit_post_do' => '09',
'poll_add' => '14',
'poll_add_do' => '15' );
Yerine bu kodu kopyalayın:CODE
$this->do_into_code = array( 'new_post' => '00',
'new_post_do' => '01',
'reply_post' => '02',
'reply_post_do' => '03',
'edit_post' => '08',
'edit_post_do' => '09',
'poll_add' => '14',
'poll_add_do' => '15',
'thank' => '16' );
Bu kodu bulun ve silin:CODE
$this->han_post->obj['action_codes'] = array ( '00' => array( '0' , 'new' ),
'01' => array( '1' , 'new' ),
'02' => array( '0' , 'reply' ),
'03' => array( '1' , 'reply' ),
'08' => array( '0' , 'edit' ),
'09' => array( '1' , 'edit' ),
'10' => array( '0' , 'poll' ),
'11' => array( '1' , 'poll' ),
'14' => array( '0' , 'poll_after' ),
'15' => array( '1' , 'poll_after' )
);
Yerine bu kodu kopyalayın:CODE
$this->han_post->obj['action_codes'] = array ( '00' => array( '0' , 'new' ),
'01' => array( '1' , 'new' ),
'02' => array( '0' , 'reply' ),
'03' => array( '1' , 'reply' ),
'08' => array( '0' , 'edit' ),
'09' => array( '1' , 'edit' ),
'10' => array( '0' , 'poll' ),
'11' => array( '1' , 'poll' ),
'14' => array( '0' , 'poll_after' ),
'15' => array( '1' , 'poll_after' ),
'16' => array( '0' , 'thank' ),
);
Bu kodu bulun ve silin:CODE
if ( $this->han_post->obj['action_codes'][ $this->ipsclass->input['CODE'] ][0] )
{
//-----------------------------------------
// Make sure we have a valid auth key
//-----------------------------------------
if ( $this->ipsclass->input['auth_key'] != $this->han_post->md5_check )
{
$this->ipsclass->Error( array( 'LEVEL' => 1, 'MSG' => 'del_post') );
}
//-----------------------------------------
// Make sure we have a "Guest" Name..
//-----------------------------------------
$this->_check_guest_name();
$this->_check_double_post();
$this->han_post->process_post();
}
else
{
$this->han_post->show_form();
}
Yerine bu kodu kopyalayın:[/code] if ( $this->han_post->obj['action_codes'][ $this->ipsclass->input['CODE'] ][0] )
{
//-----------------------------------------
// Make sure we have a valid auth key
//-----------------------------------------
if ( $this->ipsclass->input['auth_key'] != $this->han_post->md5_check )
{
$this->ipsclass->Error( array( 'LEVEL' => 1, 'MSG' => 'del_post') );
}
//-----------------------------------------
// Make sure we have a "Guest" Name..
//-----------------------------------------
$this->_check_guest_name();
$this->_check_double_post();
$this->han_post->process_post();
}
else
{
if ( $this->ipsclass->input['do'] == 'thank' )
{
$this->han_post->thank() ;
}
else
{
$this->han_post->show_form();
}
}
[code]
Bu da benim düzenlediğim dosya: [/b]sources/action_public/post.php
[attachmentid=1039]