Page 2 of 3

Top Stats

Posted: 25 Aug 2011, 16:09
by martin123456
thanx i did not notice the dates and times lol

Top Stats

Posted: 25 Aug 2011, 16:14
by martin123456
Its not a problem i'm happy to leave it as it is but any ideas why mine displays different from yours

mine
line.png
yours
codes.png

Top Stats

Posted: 25 Aug 2011, 16:41
by Stoker
Yes, that is because you are using the Premod.
You will need to use this recent_active_body.html instead:

Code: Select all

<!-- Start Recent Active Topics -->
<div class="forumlist">
	<div class="forabg">
		<div class="inner"><span class="corners-top"><span></span></span>
		<ul class="topiclist">
			<li class="header">
				<dl class="icon">
					<dt>{L_RECENT_ACTIVE}</dt>
					<dd class="topics">{L_STATS}</dd>
					<dd class="lastpost"><span>{L_LAST_POST}</span></dd>
				</dl>
			</li>
		</ul>
		<!-- IF SCRIPT_NAME eq 'index' --><div class="portaltrigger portalactive"></div><!-- ENDIF -->
		<div class="collapsethis">
		<ul class="topiclist forums">
			<!-- BEGIN recent_active -->
			<li class="row">
			<dl class="icon" style="background-image: url({ROOT_PATH}images/starimg.png); background-repeat: no-repeat;">
				<dt>
					<a href="{recent_active.U_FIRST_TOPIC}" class="forumtitle">{recent_active.TOPIC_TITLE}</a><br />
					{L_POST_BY_AUTHOR} <a style="font-weight:bold; color: #{recent_active.TOPIC_FIRST_POSTER_COLOUR};" href="{recent_active.USERNAME_FIRST}">{recent_active.TOPIC_FIRST_POSTER_NAME}</a> {recent_active.TOPIC_TIME}
				</dt>
				<dd class="topics"><!-- IF recent_active.TOPIC_REPLIES > 1 or recent_active.TOPIC_REPLIES < 1 -->{recent_active.TOPIC_REPLIES} {L_REPLIES}<!-- ELSE -->{recent_active.TOPIC_REPLIES} {L_REPLY}<!-- ENDIF --><br />
					<!-- IF recent_active.TOPIC_VIEWS > 1 or recent_active.TOPIC_VIEWS < 1 -->{recent_active.TOPIC_VIEWS} {L_VIEWS}<!-- ELSE -->{recent_active.TOPIC_VIEWS} {L_VIEW}<!-- ENDIF --></dd>
				<dd class="lastpost"><span>
					{L_POST_BY_AUTHOR} <a style="font-weight:bold; color: #{recent_active.TOPIC_LAST_POSTER_COLOUR};" href="{recent_active.USERNAME_LAST}">{recent_active.TOPIC_LAST_POSTER_NAME}</a> <a href="{recent_active.U_LAST_TOPIC}">{LAST_POST_IMG}</a><br />{recent_active.TOPIC_LAST_POST_TIME}</span>
				</dd>
			</dl>
			</li>
			<!-- END recent_active -->
		</ul>
		</div>
		<span class="corners-bottom"><span></span></span></div>
	</div>
</div>
<!-- End Recent Active Topics -->
That should do the trick

Top Stats

Posted: 27 Aug 2011, 07:13
by Stoker
First post updated with subsilver2 template files.

Top Stats

Posted: 23 Oct 2011, 13:12
by Blackwolf
I have a test user I call Joe Flint.I posted a topic under his name. It still needs to be approved by ADMIN/MOD....but you can see in the screenshot is shows up on the Recent Active Topics stats.

When clicked....
The requested topic does not exist.
as obviously it has not been appoved yet. Is there a way around this?
Screenshot.png

Top Stats

Posted: 23 Oct 2011, 14:09
by Stoker
Who can see it?
People who also can see posts that needs approval like moderators?

Top Stats

Posted: 25 Oct 2011, 00:39
by Blackwolf
Everyone...guests included.

Top Stats

Posted: 25 Oct 2011, 00:56
by Vox Populi
No way. You have a permission wrong some place or an edit wrong in a file. It seems almost impossible for a guest to see a non approved post. Sounds like an IF statement is out of whack Mr. Oz. :) Pretty odd that this happens.

Top Stats

Posted: 25 Oct 2011, 01:06
by Blackwolf
It must be an IF statement in the top stats html? At work now so can't check....

All the other permissions are correct. And this does not occur with any other unapproved posts.

I''ll post the top stats html later when I get home. ;)

Top Stats

Posted: 25 Oct 2011, 01:13
by Vox Populi
Try comparing a fresh copy with the one your are using with winmerge. Also check other files that Top Stats touch's for the install. Compare to clean ones. It's an easy one to find I am sure. It could have happened at some point when you were working on something else totally.