- 1
 - 2
 - 3
 - 4
 - 5
 - 6
 
if($this->memberData['posts'] >= $this->settings['post_pm_number'] || $time_diff >= 86400*$this->settings['post_pm_days'] || in_array( $this->memberData['member_group_id'], $exludedgids)){
        // action allowed
}else{
        $this->registry->class_localization->loadLanguageFile( array( 'public_global' ), 'core' );
        $this->registry->output->showError(sprintf($this->lang->words['post_pm_restriction'], $this->settings['post_pm_number'], $this->settings['post_pm_days']));
}
                                
 Follow us!
Комментарии (2) RSS
Добавить комментарий