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

Top Stat issue & misc questions

Post by toneless »

,,,
Last edited by toneless on 27 Nov 2012, 15:58, edited 1 time in total.

Top Stat issue & misc questions

Post by toneless »

I beleive that's the answer about showing hidden topic subjects on the recent topics.

viewtopic.php?f=49&t=2016&p=12905&hilit=hidden#p12905

I will try it right now. :)

Top Stat issue & misc questions

Post by toneless »

No luck either on this.

I can only find the second code.

Stoker wrote:Open includes/functions_top_stats.php
Find:

Code: Select all

if (!empty($config['tsrat_enable']) && sizeof($flist))
Replace with:

Code: Select all

if (!empty($config['tsrat_enable']))
Find:

Code: Select all

WHERE ' . $db->sql_in_set('t.forum_id', $flist) . ' AND t.topic_moved_id = 0
Replace with:

Code: Select all

WHERE  t.topic_moved_id = 0 AND t.topic_approved = 1

Top Stat issue & misc questions

Post by Stoker »

toneless wrote:
3. insert the code AFTER <!-- INCLUDE forumlist_body.html --> instead og before.
I'm not sure what you mean here.
I move this code to the bottom of the index_body.html and it only alters the position of the stats.

I always empty the cache and refresh the template. The topics on recent mod are always marked as they've been read while are new.
Okay.
Open your index_body.html
Find and delete:

Code: Select all

<!-- IF S_TSRAT_ENABLE -->
<!-- INCLUDE recent_active_body.html -->
<!-- ENDIF -->
Find:

Code: Select all

<!-- INCLUDE forumlist_body.html -->
After add:

Code: Select all

<!-- IF S_TSRAT_ENABLE -->
<!-- INCLUDE recent_active_body.html -->
<!-- ENDIF -->

Top Stat issue & misc questions

Post by toneless »

Now works fine and I've put it just under the stats. Many thanks.

Is it possible to also check two more things for me?

a) how hidden topics can be shown on recent topics so guests can see them even though they can't read them.
b) buttons are always marked as read and do not unveil a new topic.

Top Stat issue & misc questions

Post by toneless »

Nevermind, I've just read that there is not an option for new/old topics icon.
I didn't knew that hence I don't think it suits my board and I'm going to use another mod.

Thanks for you time.

Top Stat issue & misc questions

Post by toneless »

Can anyone integrate the code for the Cerulian style block to the code of this mod, please?
I know that I'm off topic but I've lost my mind after so many hours. :evil:

Code: Select all

<!-- IF RECENT_TOPICS_PAGINATION -->
<div class="topic-actions">
	<div class="pagination">
		{RECENT_TOPICS_PAGE_NUMBER} &bull; <span>{RECENT_TOPICS_PAGINATION}</span>
	</div>
</div>
<!-- ENDIF -->
<!-- BEGIN recent_topics -->
	<!-- IF not recent_topics.S_TOPIC_TYPE_SWITCH and not recent_topics.S_FIRST_ROW -->
		</ul>
		<span class="corners-bottom"><span></span></span></div>
	</div>
	<!-- ENDIF -->

	<!-- IF recent_topics.S_FIRST_ROW or not recent_topics.S_TOPIC_TYPE_SWITCH -->
		<div class="forumbg">
		<div class="inner"><span class="corners-top"><span></span></span>
		<ul class="topiclist">
			<li class="header">
				<dl class="icon">
				<dt>{L_RECENT_TOPICS}</dt>
					<dd class="posts">{L_REPLIES}</dd>
					<dd class="views">{L_VIEWS}</dd>
					<dd class="lastpost"><span>{L_LAST_POST}</span></dd>
				</dl>
			</li>
		</ul>
		<ul class="topiclist topics">
	<!-- ENDIF -->

		<li class="row<!-- IF recent_topics.S_ROW_COUNT is even --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
			<dl class="icon" style="background-image: url({recent_topics.TOPIC_FOLDER_IMG_SRC}); background-repeat: no-repeat;">
				<dt style="<!-- IF recent_topics.TOPIC_ICON_IMG -->background-image: url({T_ICONS_PATH}{recent_topics.TOPIC_ICON_IMG}); background-repeat: no-repeat;<!-- ENDIF -->" title="{recent_topics.TOPIC_FOLDER_IMG_ALT}"><!-- IF recent_topics.S_UNREAD_TOPIC --><a href="{recent_topics.U_NEWEST_POST}">{NEWEST_POST_IMG}</a> <!-- ENDIF --><a href="{recent_topics.U_VIEW_TOPIC}" class="topictitle">{recent_topics.TOPIC_TITLE}</a><!-- IF U_VIEW_UNREAD_POST and not S_IS_BOT --> &bull; <a href="{U_VIEW_UNREAD_POST}">{L_VIEW_UNREAD_POST}</a> &bull; <!-- ENDIF -->
					<!-- IF recent_topics.S_TOPIC_UNAPPROVED or recent_topics.S_POSTS_UNAPPROVED --><a href="{recent_topics.U_MCP_QUEUE}">{recent_topics.UNAPPROVED_IMG}</a> <!-- ENDIF -->
					<!-- IF recent_topics.S_TOPIC_REPORTED --><a href="{recent_topics.U_MCP_REPORT}">{REPORTED_IMG}</a><!-- ENDIF --><br />
					<!-- IF recent_topics.PAGINATION --><strong class="pagination"><span>{recent_topics.PAGINATION}</span></strong><!-- ENDIF -->
					<!-- IF recent_topics.ATTACH_ICON_IMG -->{recent_topics.ATTACH_ICON_IMG} <!-- ENDIF -->{L_POST_BY_AUTHOR} {recent_topics.TOPIC_AUTHOR_FULL} &raquo; {recent_topics.FIRST_POST_TIME}
					<!-- IF recent_topics.U_VIEW_FORUM and recent_topics.FORUM_NAME --><br />{L_IN} <a href="{recent_topics.U_VIEW_FORUM}" style="font-weight: bold;">{recent_topics.FORUM_NAME}</a><!-- ENDIF -->
				</dt>
				<dd class="posts">{recent_topics.REPLIES} <dfn>{L_REPLIES}</dfn></dd>
				<dd class="views">{recent_topics.VIEWS} <dfn>{L_VIEWS}</dfn></dd>
				<dd class="lastpost"><span><dfn>{L_LAST_POST} </dfn>{L_POST_BY_AUTHOR} {recent_topics.LAST_POST_AUTHOR_FULL}
					<a href="{recent_topics.U_LAST_POST}">{LAST_POST_IMG}</a> <br />{recent_topics.LAST_POST_TIME}</span>
				</dd>
			</dl>
		</li>

	<!-- IF recent_topics.S_LAST_ROW -->
			</ul>
		<span class="corners-bottom"><span></span></span></div>
	</div>
	<!-- ENDIF -->

<!-- BEGINELSE -->
	<div class="panel">
		<div class="inner"><span class="corners-top"><span></span></span>
		<strong>{L_NO_TOPICS}</strong>
		<span class="corners-bottom"><span></span></span></div>
	</div>
<!-- END recent_topics -->

Top Stat issue & misc questions

Post by Stoker »

Top stats 1.0.9 turkish translation

Post by ZeNaNLi »

Top stats 1.0.9 turkish translation.
tr.rar
Thank you for the MOD.
You do not have the required permissions to view the files attached to this post.

Top stats 1.0.9 turkish translation

Post by Stoker »

Thanks :thumb: