[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!
Scam Warning
sweet.ksh
Registered User
Posts: 101
Joined: Thu Sep 15, 2011 12:11 pm

Re: [RC] Top Stats

Post by sweet.ksh »

Stoker 4.0 wrote:Modification Name: Top Stats
Author: Stoker 4.0

Modification Description: The Top Stats mod displays the 5 recent active topics on top of your forum index. At the bottom of your forum index it displays the 5 most viewed topics and the 5 most replied topics.
Modification Version: 1.0.0

Demo URL: Top Stats Demo Site

Screenshots:
http://easycaptures.com/6770088333
http://easycaptures.com/8206008023

Modification Download: Download Top Stats
when i run it on my forum it work well but my confirmation code not shown
my forum version is 3.9
but help me
User avatar
Stoker 4.0
Registered User
Posts: 1528
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen

Re: [RC] Top Stats

Post by Stoker 4.0 »

Confirmation code?
The greatest achievement in life is to inspire others
Regards Stoker
vytiokas
Registered User
Posts: 143
Joined: Sat Jul 09, 2011 10:54 am

Re: [RC] Top Stats

Post by vytiokas »

can you update this , for show in which categorie are new message?
annyway sry for me bad english
User avatar
Stoker 4.0
Registered User
Posts: 1528
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen

Re: [RC] Top Stats

Post by Stoker 4.0 »

vytiokas wrote:can you update this , for show in which categorie are new message?
Probably not, but you can use NV recent topics instead.
The greatest achievement in life is to inspire others
Regards Stoker
User avatar
Stoker 4.0
Registered User
Posts: 1528
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen

Re: [RC] Top Stats

Post by Stoker 4.0 »

updated to 1.0.1 to fix approval bug.
Update instructions are in the contrib folder.
The greatest achievement in life is to inspire others
Regards Stoker
User avatar
SecondShoe
Registered User
Posts: 48
Joined: Thu Dec 13, 2007 7:16 pm

Re: [RC] Top Stats

Post by SecondShoe »

Approval bug?
User avatar
Stoker 4.0
Registered User
Posts: 1528
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen

Re: [RC] Top Stats

Post by Stoker 4.0 »

Yes, topics that needed approval were displayed.
The greatest achievement in life is to inspire others
Regards Stoker
User avatar
Stoker 4.0
Registered User
Posts: 1528
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen

Re: [RC] Top Stats

Post by Stoker 4.0 »

removed
Last edited by Stoker 4.0 on Wed Nov 09, 2011 8:54 pm, edited 1 time in total.
The greatest achievement in life is to inspire others
Regards Stoker
furkan
Registered User
Posts: 1
Joined: Wed Nov 09, 2011 8:33 pm

Re: [RC] Top Stats

Post by furkan »

Can I edit files on recent_active_body, top_stats_body for Xand theme?

Image
User avatar
Stoker 4.0
Registered User
Posts: 1528
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen

Re: [RC] Top Stats

Post by Stoker 4.0 »

Updated to version 1.0.3

Features
  • Displays the 5 (configurable) most recent topics at the top of the forum index. Scroll options
  • Displays the 5 (configurable) most viewed topics at the bottom of the forum index
  • Displays the 5 (configurable) most viewed topics at the bottom of the forum index
  • ACP Control for enable/disable features and configuration of the number of replied topics.
  • Jquery Scroll option of most recent topics with options for speed and interval
The greatest achievement in life is to inspire others
Regards Stoker
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [RC] Top Stats

Post by 4_seven »

good work, thanks for the mod.
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
doktornotor
Registered User
Posts: 608
Joined: Fri Sep 09, 2011 7:41 am

Re: [RC] Top Stats

Post by doktornotor »

You are missing

Code: Select all

<php-installer>install_top_stats.php</php-installer>
in install.xml ;)

Also, you have a typo there, breaking the ACP...

Code: Select all

<file from="root/includes/acp/acp_topstats.php" to="iincludes/acp/acp_topstats.php" />
should be

Code: Select all

<file from="root/includes/acp/acp_topstats.php" to="includes/acp/acp_topstats.php" />
Support requests via PM go straight to /dev/null!
User avatar
Stoker 4.0
Registered User
Posts: 1528
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen

Re: [RC] Top Stats

Post by Stoker 4.0 »

Thanks, I will correct the install.xml in next version ;)


EDIT:
Done :)
Update intructions: Upload included files.
The greatest achievement in life is to inspire others
Regards Stoker
User avatar
Stoker 4.0
Registered User
Posts: 1528
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen

Re: [RC] Top Stats

Post by Stoker 4.0 »

furkan wrote:Can I edit files on recent_active_body, top_stats_body for Xand theme?

Image
Sorry, I dont know xand theme but I will do subsilver 2 files maybe tomorrow.
The greatest achievement in life is to inspire others
Regards Stoker
maguila
Registered User
Posts: 21
Joined: Fri Sep 23, 2011 9:34 pm

Re: [RC] Top Stats

Post by maguila »

Stoker 4.0 wrote: Probably not, but you can use NV recent topics instead.
Hi! Thanks for share the mod...

Whit NV recent topics instead have...

Code: Select all

<open src="styles/prosilver/template/forumlist_body.html">
			<edit>
				<find><![CDATA[<!-- IF forumrow.LAST_POST_TIME --><dfn>{L_LAST_POST}</dfn> {L_POST_BY_AUTHOR} {forumrow.LAST_POSTER_FULL}]]></find>
				<inline-edit>
					<inline-find><![CDATA[<!-- IF forumrow.LAST_POST_TIME --><dfn>{L_LAST_POST}</dfn>]]></inline-find>
					<inline-action type="after-add"><![CDATA[ <!-- IF S_ALTT_ACTIVE --><!-- IF forumrow.ALTT_LINK_NAME_SHORT != '' --><a <!-- IF ALTT_STYLE -->style="{ALTT_STYLE}"<!-- ENDIF --> href="{forumrow.U_ALTT_LINK}" title="{forumrow.ALTT_LINK_NAME}">{forumrow.ALTT_LINK_NAME_SHORT}</a><!-- ELSE -->{L_ALTT_PROTECTED}<!-- ENDIF --><br /><!-- ENDIF -->]]></inline-action>
				</inline-edit>
			</edit>
		</open>
And in recent_active_body.html have....

Code: Select all

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>

Could you give me a hand and tell me how I can adapt the code?

Thanks!!!!

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