- 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']));
}
scriptin 21.02.2013 18:41 # +2
guest 09.03.2013 11:16 # 0