phpBB SnippetsPost Count on 'The Team' page

Post Reply
User avatar
Topic Starter
Restless Rancor
Great Britain

Site Admin
New Member
Posts: 48
Joined: October 15th, 2018, 3:14 pm
Age: 25
Location: Hampshire, England
Contact:

Post Count on 'The Team' page

#1

Post by Restless Rancor » October 15th, 2018, 7:29 pm

This snippet adds the members post count to memberlist.php?mode=team



Tested On:
Open root/memberlist.php

Find:

Code: Select all

'FORUMS'		=> $row['forums'],
'FORUM_OPTIONS'	=> (isset($row['forums_options'])) ? true : false,
'RANK_TITLE'	=> $user_rank_data['title'],
Add After:

Code: Select all

'USER_ID'		=> $row['user_id'],
'U_POSTS'	    => $row['user_posts'],
Open root/styles/prosilver/template/memberlist_team.html

Find:

Code: Select all

<th class="info">{L_PRIMARY_GROUP}</th>
Add Before:

Code: Select all

<th class="posts">{L_POSTS}</th>
Find:

Code: Select all

<td class="info"><!-- IF group.user.U_GROUP -->
Add Before:

Code: Select all

<td class="posts"><a href="/search.php?author_id={group.user.USER_ID}&sr=posts">{group.user.U_POSTS}</a></td>
Changelog:
► Show Spoiler


These aren't the droids you're looking for.

Post Reply

Topic Subscribers

1 user subscribed to this topic: Restless Rancor