[RC] Top Stats

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Ideas Centre
User avatar
Stoker 4.0
Registered User
Posts: 1487
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen
Contact:

Re: [RC] Top Stats

Post by Stoker 4.0 »

vytiokas wrote:again show topic , and message nothink change
You just want to display 5 newest topics?
Not the 5 most viewed and 5 most replied?
vytiokas
Registered User
Posts: 143
Joined: Sat Jul 09, 2011 10:54 am

Re: [RC] Top Stats

Post by vytiokas »

yes i want only 5 new topics whitout replies :)
annyway sry for me bad english
User avatar
Stoker 4.0
Registered User
Posts: 1487
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen
Contact:

Re: [RC] Top Stats

Post by Stoker 4.0 »

vytiokas wrote:yes i want only 5 new topics whitout replies :)
I dont understand clearly what you want :oops:

This mod has 3 boxes with topic info.
1. Recent Active Topics at the top
2. Most viewed topics at the bottom left
3. Most replied topics at the bottom right

So you want to take out Views from number 2 and replies from number 3?


EDIT: I just realized that you are the one using subsilver2.
As I wrote earlier there is no support for subsilver 2.
Any change you might want you need to do yourself or get others to help you.
I just dont work with subsilver2, sorry.
User avatar
SecondShoe
Registered User
Posts: 48
Joined: Thu Dec 13, 2007 7:16 pm
Contact:

Re: [RC] Top Stats

Post by SecondShoe »

Stoker 4.0 wrote:You can adjust the number 30 the another day count if you like.
Thanks! Works like a charm. :D
I have one more question. Are the results cached in some way to reduce the server load or every time the information is requested from the DB?
User avatar
Stoker 4.0
Registered User
Posts: 1487
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen
Contact:

Re: [RC] Top Stats

Post by Stoker 4.0 »

Nope, but its only 3 light queries each time your index.php get hitted.
vytiokas
Registered User
Posts: 143
Joined: Sat Jul 09, 2011 10:54 am

Re: [RC] Top Stats

Post by vytiokas »

1. Recent Active Topics at the top
i want for 1. show only 5 topics whitout repleys, for 5 news topic only

'Recent Active Topics'

i want for this show only 5 new topic whitout repleys maybe you now understand
annyway sry for me bad english
User avatar
Stoker 4.0
Registered User
Posts: 1487
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen
Contact:

Re: [RC] Top Stats

Post by Stoker 4.0 »

vytiokas, as I said no support for subsilver2
Any change you might want you have to figure out yourself.
User avatar
Stoker 4.0
Registered User
Posts: 1487
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen
Contact:

Re: [RC] Top Stats

Post by Stoker 4.0 »

Screenshots added to first post ;)
harisg7
Registered User
Posts: 5
Joined: Mon Jan 04, 2010 12:21 pm

Re: [RC] Top Stats

Post by harisg7 »

The Recent Active Topics at the top doesn't work very well on Absolution style.. If you test it, you will see that it' s different!! Now I have RECENT ACTIVE TOPICS - REPLIES - VIEWS - LATEST POST but I want to have RECENT ACTIVE TOPICS - LATEST POST - REPLIES - VIEWS. How can I fix this?
User avatar
Stoker 4.0
Registered User
Posts: 1487
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen
Contact:

Re: [RC] Top Stats

Post by Stoker 4.0 »

Try this for recent_active_body.html

Code: Select all

<!-- Start Recent Active Topics -->
	<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>
				</dl>
			</li>
		</ul>
		<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="lastpost"><span>
					{L_LAST_POST} {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>
				<dd class="topics" style="width:8%">{recent_active.TOPIC_REPLIES}<br /><span>{L_REPLIES}</span><dfn>{L_REPLIES}</dfn></dd>
				<dd class="posts" style="width:8%">{recent_active.TOPIC_VIEWS}<br /><span>{L_VIEWS}</span><dfn>{L_VIEWS}</dfn></dd></dd>
			</dl>
			</li>
			<!-- END recent_active -->
		</ul>
		<span class="corners-bottom"><span></span></span></div>
	</div>
<!-- End Recent Active Topics -->
harisg7
Registered User
Posts: 5
Joined: Mon Jan 04, 2010 12:21 pm

Re: [RC] Top Stats

Post by harisg7 »

Perfect, it works!! Excellent mod... :D

Thank you vey much!
User avatar
Blackwolf_Oz
Registered User
Posts: 264
Joined: Sat Jan 02, 2010 5:15 am
Location: Melbourne Australia
Name: Nick
Contact:

Re: [RC] Top Stats

Post by Blackwolf_Oz »

Can I first say....fantastic mod ;)

I am using ca_black....based on pro_silver.....I followed & rechecked all edits.....
Would just like it to line up if possible :)

http://www.ultimateeditionoz.com/forum/index.php

Image
We are Anonymous. We are Legion. We do not forgive. We do not forget. Expect us.

Ultimate Edition, Ultimate Edition Oz, Oz Unity
User avatar
Stoker 4.0
Registered User
Posts: 1487
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen
Contact:

Re: [RC] Top Stats

Post by Stoker 4.0 »

I will take a look late today or tomorrow when I get better time. ;)
User avatar
Blackwolf_Oz
Registered User
Posts: 264
Joined: Sat Jan 02, 2010 5:15 am
Location: Melbourne Australia
Name: Nick
Contact:

Re: [RC] Top Stats

Post by Blackwolf_Oz »

Stoker 4.0 wrote:I will take a look late today or tomorrow when I get better time. ;)
Thanks :D
We are Anonymous. We are Legion. We do not forgive. We do not forget. Expect us.

Ultimate Edition, Ultimate Edition Oz, Oz Unity
User avatar
doktornotor
Registered User
Posts: 608
Joined: Fri Sep 09, 2011 7:41 am

Re: [RC] Top Stats

Post by doktornotor »

Nice and simple... A small note - in the subsilver2 stuff (yeah, I know it is not supported) on the first line of top_stats_body.html you need <br /> instead of <br> for valid XHTML. ;)
Support requests via PM go straight to /dev/null!
Locked

Return to “[3.0.x] MODs in Development”