= $this->t('user_join') ?> |
= substr($this->user->created_at, 0, 10) ?>
|
user->level < 20 or $this->user->level > 33 or current_user()->is_mod_or_higher()) : ?>
= $this->t('user_level') ?> |
= $this->user->pretty_level() ?>
user->is_blocked() && $this->user->ban) : ?>
= $this->t('user_reason2') ?>= $this->h($this->user->ban->reason) ?>= $this->t('user_expire2') ?>= substr($this->user->ban->expires_at, 0, 10) ?>= $this->t('user_reason3') ?>
|
= $this->t('user_subs') ?> |
= $this->partial("tag_subscription/user_listing", array('user' => $this->user)) ?>
|
= $this->t('user_posts') ?> |
= $this->linkTo(Post::where('user_id = ?', $this->user->id)->count(), array('post#index', 'tags' => 'user:'.$this->user->name)) ?> |
= $this->t('user_deleted_posts') ?> |
= $this->linkTo(Post::where('status = "deleted" AND user_id = ?', $this->user->id)->count(), array('post#deleted_index', 'user_id' => $this->user->id)) ?> |
= $this->t('user_votes') ?> |
= $this->user->post_votes->select(array('score' => $i))->size() ?>
★
|
= $this->t('user_comments') ?> |
= $this->linkTo(Comment::where(['user_id' => $this->user->id])->count(), array('comment#search', 'query' => 'user:'.$this->user->name)) ?> |
= $this->t('user_edits') ?> |
= 0 //$this->linkTo(History::where(['user_id' => $this->user->id])->count(), array('history#index', 'search' => 'user:'.$this->user->name))) ?> |
= $this->t('user_tag_edits') ?> |
= 0 //$this->linkTo(History::where(['user_id' => $this->user->id, 'group_by_table' => 'posts'])->count(), array('history#index', 'search' => 'type:post user:'.$this->user->name)) ?> |
= $this->t('user_note_edits') ?> |
= $this->linkTo(NoteVersion::where(['user_id' => $this->user->id])->count(), array('note#history', 'user_id' => $this->user->id)) ?> |
= $this->t('user_wiki_edits') ?> |
= $this->linkTo(WikiPageVersion::where(['user_id' => $this->user->id])->count(), array('wiki#recent_changes', 'user_id' => $this->user->id)) ?> |
= $this->t('user_forum_post') ?> |
= ForumPost::where(['creator_id' => $this->user->id])->count() ?> |
user->invited_by) : ?>
= $this->t('user_invited_by') ?> |
= $this->linkTo($this->h(User::find($this->user->invited_by)->name), array('action' => 'show', 'id' => $this->user->invited_by)) ?> |
starting_level < 30) : ?>
= $this->t('user_rec_invites') ?> |
= implode(', ', array_map(function($x){return $this->linkTo($this->h($x->pretty_name()), array('action' => 'show', 'id' => $x->id));}, User::where("invited_by = ?", $this->user->id)->order('id desc')->select('name, id')->limit(5)->take()->members())) ?> |
= $this->t('user_record') ?> |
user->id)->exists()) : ?>
= $this->t('user_record_none') ?>
= UserRecord::where("user_id = ? AND is_positive = true", $this->user->id)->count() - UserRecord::where("user_id = ? AND is_positive = false", $this->user->id)->count() ?>
(= $this->linkTo($this->t('user_record_add'), array('user_record#index', 'user_id' => $this->user->id)) ?>)
|
is_mod_or_higher()) : ?>
= $this->t('user_ip') ?> |
user_ips, 0, 5) as $ip) : ?>
= $ip ?>
user_ips) > 5) : ?>(more)
|