Единственная строка с setAuthor $this->setAuthor( array_merge( $this->getAuthor(), $group_cache[ $this->getAuthor('member_group_id') ] ) ); Вот что нашел в функции addTopic $topic = array( 'title' => $this->_topicTitle,
'title_seo' => IPSText::makeSeoTitle( $this->_topicTitle ),
'state' => $topic['state'],
'posts' => 0,
'starter_id' => $this->getAuthor('member_id'),
'starter_name' => $this->getAuthor('member_id') ? $this->getAuthor('members_display_name') : $this->request['UserName'],
'seo_first_name' => IPSText::makeSeoTitle( $this->getAuthor('member_id') ? $this->getAuthor('members_display_name') : $this->request['UserName'] ),
'start_date' => IPS_UNIX_TIME_NOW,
'last_poster_id' => $this->getAuthor('member_id'),
'last_poster_name' => $this->getAuthor('member_id') ? $this->getAuthor('members_display_name') : $this->request['UserName'],
'seo_last_name' => IPSText::makeSeoTitle( $this->getAuthor('member_id') ? $this->getAuthor('members_display_name') : $this->request['UserName'] ),
'last_post' => IPS_UNIX_TIME_NOW,
'author_mode' => $this->getAuthor('member_id') ? 1 : 0,
'poll_state' => ( count( $this->poll_questions ) AND $this->can_add_poll ) ? 1 : 0,
'last_vote' => 0,
'views' => 0,
'forum_id' => $this->getForumData('id'),
'approved' => ( $this->getPublished() === TRUE ) ? 1 : 0,
'pinned' => intval( $topic['pinned'] ),
'topic_open_time' => intval( $this->times['open'] ),
'topic_close_time' => intval( $this->times['close'] ) ); Используется ID пользователя, имя пользователя используется для версии 2.3.x Такой же код по созданию темы стоит в register.php, при регистрации пользователя проверяет IP, если IP зарегистрированного пользователя уже ранее зарегистрирован, то создается тема в разделе, к которому есть доступ только у администроторов, тема создается без проблем.