Most active forum/topic missing in profile

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Ideas Centre
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
sassycat807
Registered User
Posts: 18
Joined: Mon Jul 24, 2006 12:11 pm

Most active forum/topic missing in profile

Post by sassycat807 »

Today some members pointed out on my forum that when looking at a couple of member's profiles, the 'most active forum' and 'most active topic' part is missing, but it's only for a couple of members. I have no idea why it's doing this, it happens using both styles prosilver and subsilver2.

I posted some screenshots of two different member's profiles, one that shows the most active forum/topic and one profile where it's missing.

I'm using RC8 and have 2 mods installed, advanced quick reply & hide poll results.
available.jpg
missing.jpg
You do not have the required permissions to view the files attached to this post.
Fun fun fun
ameeck
Former Team Member
Posts: 6559
Joined: Mon Mar 21, 2005 6:57 pm

Re: Most active forum/topic missing in profile

Post by ameeck »

First check the ACP->General->Load settings->Show user activity option, set it to yes. If it is set like that, it's quite weird actually...hope nothing escaped me.

The display of those two lines depends on one variable - S_SHOW_ACTIVITY, but that is set to true, if that option I mentioned is set to yes, so I don't see how it is possible that it's evaluated otherwise.

Try opening styles/subsilver2/template/memberlist_view.html and find this piece of code:

Code: Select all

			<!-- IF S_SHOW_ACTIVITY -->
 				<tr>
 					<td class="gen" align="{S_CONTENT_FLOW_END}" valign="top" nowrap="nowrap">{L_ACTIVE_IN_FORUM}: </td>
 					<td><!-- IF ACTIVE_FORUM --><b><a class="gen" href="{U_ACTIVE_FORUM}">{ACTIVE_FORUM}</a></b><br /><span class="genmed">[ {ACTIVE_FORUM_POSTS} / {ACTIVE_FORUM_PCT} ]</span><!-- ELSE --><span class="gen">-</span><!-- ENDIF --></td>
 				</tr>
 				<tr>
 					<td class="gen" align="{S_CONTENT_FLOW_END}" valign="top" nowrap="nowrap">{L_ACTIVE_IN_TOPIC}: </td>
 					<td><!-- IF ACTIVE_TOPIC --><b><a class="gen" href="{U_ACTIVE_TOPIC}">{ACTIVE_TOPIC}</a></b><br /><span class="genmed">[ {ACTIVE_TOPIC_POSTS} / {ACTIVE_TOPIC_PCT} ]</span><!-- ELSE --><span class="gen">-</span><!-- ENDIF --></td>
 				</tr>
 			<!-- ENDIF -->
Delete this from it:

Code: Select all

<!-- IF S_SHOW_ACTIVITY --> and <!-- ENDIF -->(the one at the end)

Then try to clear the board cache and see what it does.
sassycat807
Registered User
Posts: 18
Joined: Mon Jul 24, 2006 12:11 pm

Re: Most active forum/topic missing in profile

Post by sassycat807 »

Ok the user activity option is set to yes. And I removed the things from the memberlist_view.html file that you mentioned and it shows up now in those member's profiles, except it just shows up as 'Most active forum: -' after the dash it's blank, there's no links or other info.
Fun fun fun
badbrain
Registered User
Posts: 21
Joined: Mon Aug 10, 2009 2:58 am

Re: Most active forum/topic missing in profile

Post by badbrain »

I'm having the same issue right now, did this ever get resolved?
User avatar
Oyabun1
Former Team Member
Posts: 23162
Joined: Sun May 17, 2009 1:05 pm
Location: Australia
Name: Bill

Re: Most active forum/topic missing in profile

Post by Oyabun1 »

How many posts do those who are missing details have? The activity lines are not shown for users with 5000+ posts to reduce server load.
                      Support Request Template
3.0.x: Knowledge Base Styles Support MOD Requests
3.1.x: Knowledge BaseStyles SupportExtension Requests

Return to “[3.0.x] Support Forum”