Top Stats

Modifications for phpBB3.
Try the Mods here and share Your own Mods
Forum rules
You dont have to use ModX or make your mod AutoMod compatible. A simple textfile is fine
But if you post Mods here You also have to give support

NV who was here?

Post by Blackwolf »

Stoker wrote:Last registered users and last visited bots has absolutely nothing to do with the Who was here mod.

There might be an error in the included ca_black files: https://www.ultimateeditionoz.com/forum ... _body.html
You need the add the blocks there. Just copy them from the prosilver file.
:oops: sorry.....didnt realise......my top_stats_body for ca_black already has the blocks? :?

Code: Select all

<!-- IF S_TSMVT_ENABLE or S_TSMRT_ENABLE -->

<table cellpadding="0" cellspacing="0" border="0" width="100%">

<tr>

<!-- IF S_TSMVT_ENABLE -->

<td valign="top"<!-- IF S_TSMRT_ENABLE --> style="padding-right:2px; width:50%"<!-- ENDIF -->>

	<div class="forabg">

	{$CA_BLOCK_START}

		<div class="inner"><span class="corners-top"><span></span></span>

		<ul class="topiclist">

			<li class="header">

				<dl class="icon">

					<dt style="width:98%;">{TSMVT_NUMBER} {L_MOST_VIEWED}</dt>

				</dl>

			</li>

		</ul>

		<ul class="topiclist forums">

			<!-- BEGIN most_viewed -->

			<li class="row">

			<dl>

				<dt style="width:98%;">

					<span style="float:left; font-size:1.1em; font-weight:bold;"><a href="{most_viewed.U_FIRST_TOPIC}">{most_viewed.TOPIC_TITLE}</a></span><span style="float:right; font-size:1.1em;">{L_VIEWS}: {most_viewed.TOPIC_VIEWS}</span>

					<br class="clear" />

					<span>{L_POST_BY_AUTHOR} <a style="font-weight:bold; color: #{most_viewed.TOPIC_FIRST_POSTER_COLOUR};" href="{most_viewed.USERNAME_FIRST}">{most_viewed.TOPIC_FIRST_POSTER_NAME}</a> {L_POSTED_ON_DATE} {most_viewed.TOPIC_TIME}</span>

				</dt>

			</dl>

			</li>

			<!-- END most_viewed -->

		</ul>

		<span class="corners-bottom"><span></span></span></div>

	{$CA_BLOCK_END}

	</div>

</td>

<!-- ENDIF -->

<!-- IF S_TSMRT_ENABLE -->

<td valign="top"<!-- IF S_TSMVT_ENABLE --> style="padding-left:2px; width:50%"<!-- ENDIF -->>

	<div class="forabg">

	{$CA_BLOCK_START}

		<div class="inner"><span class="corners-top"><span></span></span>

		<ul class="topiclist">

			<li class="header">

				<dl class="icon">

					<dt style="width:98%;">{TSMRT_NUMBER} {L_MOST_REPLIED}</dt>

				</dl>

			</li>

		</ul>

		<ul class="topiclist forums">

			<!-- BEGIN most_replied -->

			<li class="row">

			<dl>

				<dt style="width:98%;">

					<span style="float:left; font-size:1.1em; font-weight:bold;"><a href="{most_replied.U_FIRST_TOPIC}">{most_replied.TOPIC_TITLE}</a></span><span style="float:right; font-size:1.1em;">{L_REPLIES}: {most_replied.TOPIC_REPLIES}</span>

					<br class="clear" />

					<span>{L_POST_BY_AUTHOR} <a style="font-weight:bold; color: #{most_replied.TOPIC_FIRST_POSTER_COLOUR};" href="{most_replied.USERNAME_FIRST}">{most_replied.TOPIC_FIRST_POSTER_NAME}</a> {L_POSTED_ON_DATE} {most_replied.TOPIC_TIME}</span>

				</dt>

			</dl>

			</li>

			<!-- END most_replied -->

		</ul>

		<span class="corners-bottom"><span></span></span></div>

	{$CA_BLOCK_END}

	</div>

</td>

<!-- ENDIF -->

</tr>

</table>

<!-- ENDIF -->



<!-- IF S_TSMAU_ENABLE or S_TSMAF_ENABLE -->

<table cellpadding="0" cellspacing="0" border="0" width="100%">

<tr>

<!-- IF S_TSMAU_ENABLE -->

<td valign="top"<!-- IF S_TSMAF_ENABLE --> style="padding-right:2px; width:50%"<!-- ENDIF -->>

	<div class="forabg">

	{$CA_BLOCK_START}

		<div class="inner"><span class="corners-top"><span></span></span>

		<ul class="topiclist">

			<li class="header">

				<dl class="icon">

					<dt style="width:98%;">{TSMAU_NUMBER} {L_MOST_ACTIVE_USERS}</dt>

				</dl>

			</li>

		</ul>

		<ul class="topiclist forums">

			<!-- BEGIN most_active_users -->

			<li class="row">

			<dl>

				<dt style="width:98%;">

					<span style="float:left; font-size:1.1em; font-weight:bold;"><a style="font-weight:bold; color: #{most_active_users.USER_COLOUR};" href="{most_active_users.USER_ID}">{most_active_users.USERNAME}</a></span>

					<span style="float:right; font-size:1.1em;">{L_POSTS}: <a href="{most_active_users.USER_POST_SEARCH}">{most_active_users.USER_POSTS}</a></span>

				</dt>

			</dl>

			</li>

			<!-- END most_active_users -->

		</ul>

		<span class="corners-bottom"><span></span></span></div>

	{$CA_BLOCK_END}

	</div>

</td>

<!-- ENDIF -->

<!-- IF S_TSMAF_ENABLE -->

<td valign="top"<!-- IF S_TSMAU_ENABLE --> style="padding-left:2px; width:50%"<!-- ENDIF -->>

	<div class="forabg">

	{$CA_BLOCK_START}

		<div class="inner"><span class="corners-top"><span></span></span>

		<ul class="topiclist">

			<li class="header">

				<dl class="icon">

					<dt style="width:98%;">{TSMAF_NUMBER} {L_MOST_ACTIVE_FORUMS}</dt>

				</dl>

			</li>

		</ul>

		<ul class="topiclist forums">

			<!-- BEGIN most_active_forums -->

			<li class="row">

			<dl>

				<dt style="width:98%;">

					<span style="float:left; font-size:1.1em; font-weight:bold;"><a style="font-weight:bold;" href="{most_active_forums.FORUM_URL}">{most_active_forums.FORUM_NAME}</a></span>

					<span style="float:right; font-size:1.1em;">{L_POSTS}: {most_active_forums.FORUM_POSTS}</span>

				</dt>

			</dl>

			</li>

			<!-- END most_active_forums -->

		</ul>

		<span class="corners-bottom"><span></span></span></div>

	{$CA_BLOCK_END}

	</div>

</td>

<!-- ENDIF -->

</tr>

</table>

<!-- ENDIF -->
I am at a loss?

NV who was here?

Post by Stoker »

No, they dont have the blocks. Else I wouldnt tell you to add them :D

NV who was here?

Post by Blackwolf »

Stoker wrote:No, they dont have the blocks. Else I wouldnt tell you to add them :D
:lol: OMG....Need a valium....duh..sorted!! :thumb:

1.0.7

Post by martin123456 »

Spot on automod missed it.

I think from now on i'l go back to adding things manual way auto mod seems a bit buggy if you ask me.

cheers :thumb:

Top_Stat cached data

Post by Simon »

Hello Stoker ;)

I saw you cached all data in your mod...
I think cached data should serve to limit sql querries...and if user do not have the same right to read forum...your cache is constantly rewritten.
I don't know if it's interresting...i think it's better to cached only data who are absolutely common for all user.
(I hope you understand my english)

Top_Stat cached data

Post by Stoker »

Hello Simon, nice to hear from you again :thumb:

About the caching thing I was convinced that it was cached no matter permissions.
How do I make a cache file for each permission?

Translate Ita 1.0.7

Post by Tigerman75 »

Traduzione ita top statistiche 1.0.7.rar
Translate Language Ita Version Mod 1.0.7 (Codifing save utf-8 not BOM) ;)
You do not have the required permissions to view the files attached to this post.

Top_Stat cached data

Post by doktornotor »

I think the whole caching thing is a whole lot more trouble that it's worth. :P

NV who was here?

Post by Vox Populi »

Blackwolf, you bust me up!! Too funny. Thanks to both of you for clarification.

Stats Column Messed Up

Post by Flamingdevastation »

Hey, I have the premod installed, so when I installed this it had the stats column messed up:
Screen shot 2011-12-06 at 4.13.54 PM.png
What should I do to fix this? Thanks a lot to whoever answers this.
Also, (didn't know where else to put it) the minimize buttons don't work and I don't exactly know how to fix them (here's screenshots of which don't work):
Screen shot 2011-12-06 at 8.03.12 PM.png
Screen shot 2011-12-06 at 8.02.59 PM.png
Also the forum goals don't work, but it's at maximum file limit.
Please explain this in semi-simple terms
Thanks,
FD
P.S. I know this is a lot, I can wait until you have time to help ;) thanks :handshake:
You do not have the required permissions to view the files attached to this post.