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

active topics code

Post by Stoker »

This is what I use at the moment

Code: Select all

<!-- IF S_TS_JSSCROLL and TS_JSSCROLL_NAVIGATION and not S_TS_TICKER -->
<div style="text-align:right; padding-right:10px;"><a href="#" title="{L_PREVIOUS_SCROLL}" id="ticker-previous"><img src="{ROOT_PATH}images/player_rew.png" width="16" height="16" alt="{L_PREVIOUS_SCROLL}" /></a> <a href="#" title="{L_NEXT_SCROLL}" id="ticker-next"><img src="{ROOT_PATH}images/player_fwd.png" width="16" height="16" alt="{L_NEXT_SCROLL}" /></a> <a href="#" title="{L_STOP_SCROLL}" id="stop"><img src="{ROOT_PATH}images/player_pause.png" width="16" height="16" alt="{L_STOP_SCROLL}" /></a> <a href="#" title="{L_START_SCROLL}" id="start"><img src="{ROOT_PATH}images/player_play.png" width="16" height="16" alt="{L_START_SCROLL}" /></a></div>
<!-- ENDIF -->
<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>{TSRAT_NUMBER} {L_RECENT_ACTIVE}</dt>
					<dd class="views">{L_STATS}</dd>
					<dd class="lastpost"><span>{L_LAST_POST}</span></dd>
				</dl>
			</li>
		</ul>
		<div class="portaltrigger portalactive"></div>
		<div class="collapsethis">
		<ul <!-- IF S_TS_JSSCROLL and not S_TS_TICKER -->id="vertical-ticker" <!-- ELSEIF S_TS_TICKER and not S_TS_JSSCROLL -->id="news" <!-- ENDIF -->class="topiclist forums">
			<!-- IF S_TS_JSSCROLL or not S_TS_TICKER -->
			<!-- BEGIN recent_active -->
			<li class="row">
			<dl class="icon" style="background-image: url(<!-- IF recent_active.FORUM_IMAGE -->{ROOT_PATH}{recent_active.FORUM_IMAGE}<!-- ELSE -->{ROOT_PATH}images/starimg.png<!-- ENDIF -->); 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> {L_IN} <a href="{recent_active.FORUM_URL}">{recent_active.FORUM_NAME}</a> {recent_active.TOPIC_TIME}
            </dt>
            <dd class="views"><!-- 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 -->
			<!-- ELSEIF S_TS_TICKER -->
			<li class="row">
			<!-- BEGIN recent_active -->
			<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> {L_IN} <a href="{recent_active.FORUM_URL}">{recent_active.FORUM_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>
			<!-- END recent_active -->
			</li>
			<!-- ENDIF -->
		</ul>
		</div>
		<span class="corners-bottom"><span></span></span></div>
	</div>
</div>

active topics code

Post by martin123456 »

I added the code but nothing changes i did all the refresh junk and still nothing then i noticed the word localhost lmao

so after going to the right site it worked so ty stoker. :thumbsup:

ASPseekThu Jan 01, 1970 12:00 am

Post by martin123456 »

Check this out lmao in the 5 LAST VISITED BOTS box on the index page

ASPseekThu Jan 01, 1970 12:00 am

http://blades-place.dyndns.org/index.php

This bot was on my site 42 years ago not bad as its just a test site thats 5 days old :lol:

ASPseekThu Jan 01, 1970 12:00 am

Post by Solidjeuh »

It's a ghost bot.. Very spooky

Problem with top stats

Post by heredia21 »

I installed this mod now my board says this forum has no forums.

http://www.blackberryempire.com/forum

i uploaded image
bbe.png
You do not have the required permissions to view the files attached to this post.

Problem with top stats

Post by Stoker »

Problem with top stats

Post by heredia21 »

That only occurs when i am logged in as admin. Why?

Problem with top stats

Post by Stoker »

Please only open one support request.
Me answering 2 is wasting my time.
Continue here!

Top stats 1.0.8 template modification

Post by metal_master »

Hi stoker,my name is Salvatore and i live in naples :)
I wanted to ask you: you can change the table of active topics?
In my forum the table is divided into 5 fields

1-Latest posts
2-Name of forum
3-Replies
4-Hits
5-Last Post
6-Date



I would like a change, eliminating the starlet.
Also in the modification of my site ,topic titles are truncated to 26 words, and when the title and 'bigger than 26 letters appear three dots at the end of the title (eg Fabrice Muamba suffered a heart attack at Tottenham-Bolto ... )

Also if you click on one of the topics on the list, you are redirected directly to the last post of this topic



Excuse me for my bad english :-|

Top stats 1.0.8 template modification

Post by Stoker »

I dont have the template for the absolution style. Its sounds likt its what you are after.

To eliminate the starlet do the following (note this is instructions for prosilver)
Open recent_active_body.html
Find

Code: Select all

<dl class="icon widescreen-optimised" style="background-image: url(<!-- IF recent_active.FORUM_IMAGE -->{ROOT_PATH}{recent_active.FORUM_IMAGE}<!-- ELSE -->{ROOT_PATH}images/starimg.png<!-- ENDIF -->); background-repeat: no-repeat;">
Replace with:

Code: Select all

<dl class="icon widescreen-optimised">
Find:

Code: Select all

<dl class="icon widescreen-optimised" style="background-image: url({ROOT_PATH}images/starimg.png); background-repeat: no-repeat;">
Replace with:

Code: Select all

<dl class="icon widescreen-optimised">
Now the starimg is gone.

This mod does nothing to truncate long titles.