3.1.x Extensions Database 3.1 / 3.2Top Stats

<span class="qte-attr qte_31_32-qte">3.1.x &amp; 3.2.x</span>
User avatar

martin
Admin
Admin
Posts: 5105
Joined: 06 Apr 2014, 16:12
    Linux Chrome

Re: Top Stats

Post by martin »

Link to the theme your using and il post the fix for you.
Image

User avatar

Fast_Eddie
Users
Users
Posts: 279
Joined: 15 Aug 2015, 20:25
    Windows 7 Firefox

Re: Top Stats

Post by Fast_Eddie »

Here ya go Martin, and thank you :)
https://www.phpbb.com/community/viewtop ... &t=2367666
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.
:beers: Retirement 2024!

User avatar

martin
Admin
Admin
Posts: 5105
Joined: 06 Apr 2014, 16:12
    Linux Chrome

Re: Top Stats

Post by martin »

3.png
open ext/dmzx/topstats/styles/prosilver/template/event/overall_footer_after.html

replace the code in that file with this

Code: Select all

<!-- IF (S_TSRAT_ENABLE and S_TS_JSSCROLL) or (S_TSRAT_ENABLE and S_TS_TICKER) -->

<!-- IF S_TS_JSSCROLL and not S_TS_TICKER -->
<!-- INCLUDEJS jquery.totemticker.min.js -->
<script type="text/javascript">
// ]]><![CDATA[<![CDATA[
$(document).ready(function() {
	$('#vertical-ticker').totemticker({
				row_height	:	'58px',
				max_items	:	3,
				speed		:	{JSSCROLL_SPEED},
				interval	:	{JSSCROLL_INTERVAL},
				<!-- IF TS_JSSCROLL_NAVIGATION -->
				next		:	'#ticker-next',
				previous	:	'#ticker-previous',
				stop		:	'#stop',
				start		:	'#start',
				<!-- ENDIF -->
				mousestop	:	true,
				direction	:	'<!-- IF TS_JSSCROLL_DIRECTION -->down<!-- ELSE -->up<!-- ENDIF -->'
	});
});
// ]]>]]><![CDATA[
</script>
<!-- ELSEIF S_TS_TICKER and not S_TS_JSSCROLL -->
<!-- INCLUDEJS jquery.newsticker.js -->
<script type="text/javascript">
// ]]><![CDATA[<![CDATA[
$(document).ready(function() {
	$("#news").newsTicker();
});
// ]]>]]><![CDATA[
</script>
<!-- ENDIF -->
<!-- ENDIF -->
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.

User avatar

Fast_Eddie
Users
Users
Posts: 279
Joined: 15 Aug 2015, 20:25
    Windows 7 Firefox

Re: Top Stats

Post by Fast_Eddie »

Thank you Martin,

But it had no effect. Purged and refreshed browser just to be safe. and no change
Edit: I'll try it on the test board and see what happens
Edit: I'll try it on the test board and see what happens
Tried same thing on test board. No effect :(
Still 2 active topics instead of 3

Another Edit:
Just for grins I activated the list of last resisted members to logon, and now the j-scroll is working fine :D

User avatar

martin
Admin
Admin
Posts: 5105
Joined: 06 Apr 2014, 16:12
    Linux Chrome

Re: Top Stats

Post by martin »

As you can see by the image it has 3 rows
the only change needed is this row_height : '58px',

There is a good chance its cached into your browser.

User avatar

talonos
Users
Users
Posts: 68
Joined: 15 Nov 2015, 21:47
    Windows 7 Firefox

Re: Top Stats

Post by talonos »

martin wrote: 04 May 2016, 23:01 As you can see by the image it has 3 rows
the only change needed is this row_height : '58px',

There is a good chance its cached into your browser.
isn't that the line used to set out the height of the rows THEN there is a css rule which is your above setting X3 to make it show 3 rows.

58px X 3 = 174

so in the CSS file for extension i think you have something like

Code: Select all

ticker{
   position:relative;   
   height: 123px;
   overflow: hidden;
}
so the height measurement in the block above would need to be

Code: Select all

height: 174px;
Board3 mods/extensions available/created by Talonos @ http://pretereo-stormrage.co.uk

User avatar

martin
Admin
Admin
Posts: 5105
Joined: 06 Apr 2014, 16:12
    Linux Chrome

Re: Top Stats

Post by martin »

Correct but it fails so just change the row.

I posted a fix just for this on stokers site if i can find it il link to it.

User avatar

niko
Users
Users
Posts: 3
Joined: 29 Aug 2015, 12:23
    Windows 10 Firefox

Re: Top Stats

Post by niko »

Sorry if I failed to find an solution for this but jquery scrolls etc does not work/show with Arty styles such as latte and digi which are common used styles. Is there any way I can make this work? Thank you

Edit: topic preview ext doesnt work with this as well.

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6466
Joined: 13 Jan 2014, 21:45
    Windows 10 Firefox

Re: Top Stats

Post by dmzx »

niko wrote: 06 Jun 2016, 04:04 Sorry if I failed to find an solution for this but jquery scrolls etc does not work/show with Arty styles such as latte and digi which are common used styles. Is there any way I can make this work? Thank you

Edit: topic preview ext doesnt work with this as well.
Is there a js conflict? can you see?

User avatar

rogerio24
Users
Users
Posts: 77
Joined: 05 Jun 2016, 20:18
    Linux Firefox

Re: Top Stats

Post by rogerio24 »

Has someone created the Spanish package for this extension?
Thanks!

User avatar

raykai
Users
Users
Posts: 12
Joined: 28 Jun 2016, 08:24
    Windows 10 Chrome

Re: Top Stats

Post by raykai »

How can i get the collapse icon to work on this mod ? i have it for all my other forum section but not on this mod.
im on phpbb 3.1.9

User avatar

martin
Admin
Admin
Posts: 5105
Joined: 06 Apr 2014, 16:12
    Windows 10 Chrome

Re: Top Stats

Post by martin »


User avatar

raykai
Users
Users
Posts: 12
Joined: 28 Jun 2016, 08:24
    Windows 10 Chrome

Re: Top Stats

Post by raykai »

martin wrote: 29 Jun 2016, 09:35 viewtopic.php?f=52&t=814
its giving You are not authorised to read this forum. :(

User avatar

Gavo
Users
Users
Posts: 2
Joined: 05 Jul 2015, 21:32
    Windows 10 Firefox

Re: Top Stats

Post by Gavo »

Very nice mod. I made it display next to the chatbox.

I just noticed it doesn't update with new topics, is there anyway to make it update without refreshing the page?

User avatar

martin
Admin
Admin
Posts: 5105
Joined: 06 Apr 2014, 16:12
    Windows 10 Chrome

Re: Top Stats

Post by martin »

Yes add ajax to it but then your host will moan.

Post Reply Previous topicNext topic