[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!
Anti-Spam Guide
User avatar
Stoker 4.0
Registered User
Posts: 1551
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen

Re: [RC] Top Stats

Post by Stoker 4.0 »

Adapt the code??
~ The greatest achievement in life is to inspire ~
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:Adapt the code??
Hi Stoker!

I would like it to appear in that category are the new message...
You suggest that we use NV recent topics, I'm trying to add the code into your mod, but am having trouble ....

I do not understand because you have to answer so coldly ... sorry to bother you if you ask a question ...
I am using a translator, forgiveness for the faults.
regards
User avatar
Stoker 4.0
Registered User
Posts: 1551
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen

Re: [RC] Top Stats

Post by Stoker 4.0 »

No problem :)

What I meant was that the user should use nv recent topics instead.
But I will include forum name in next version.
~ The greatest achievement in life is to inspire ~
Regards Stoker
User avatar
FranckTH
Registered User
Posts: 364
Joined: Thu Jul 28, 2011 12:14 pm
Location: France
Name: Franck

Re: [RC] Top Stats

Post by FranckTH »

good mod and nice work ;)

is it possible to add scroll effect on blocks at the bottom of page ?
Free Flash & HTML5 Games for Phpbb 3.2.2 + Extension Relax Arcade Pro
Free Flash & HTML5 Games for Relax Arcade Pro
User avatar
Sniper_E
Registered User
Posts: 1200
Joined: Wed May 09, 2007 12:18 am
Location: Shreveport, Louisiana
Name: Ed Humphrey

Re: [RC] Top Stats

Post by Sniper_E »

Setting a height on that block and using overflow: auto; should give you the scroll effect.
Image . -.. / .... ..- -- .--. .... .-. . -.--
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!

:!: Sniper_E Styles | phpbbmodders :!:
User avatar
Stoker 4.0
Registered User
Posts: 1551
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen

Re: [RC] Top Stats

Post by Stoker 4.0 »

FranckTH wrote:good mod and nice work ;)

is it possible to add scroll effect on blocks at the bottom of page ?
Yes, it is possible.
But You will have to create a new ID for each block you want to scroll.
Like:

Code: Select all

$('#vertical-ticker2').totemticker({
				row_height	:	'41px',
				max_items   :   3,
				speed       :   {JSSCROLL_SPEED},
				interval    :   {JSSCROLL_INTERVAL},
				mousestop	:	true,
	});
$('#vertical-ticker').totemticker({
				row_height	:	'41px',
				max_items   :   3,
				speed       :   {JSSCROLL_SPEED},
				interval    :   {JSSCROLL_INTERVAL},
				mousestop	:	true,
	});
And also the css code.
~ The greatest achievement in life is to inspire ~
Regards Stoker
User avatar
FranckTH
Registered User
Posts: 364
Joined: Thu Jul 28, 2011 12:14 pm
Location: France
Name: Franck

Re: [RC] Top Stats

Post by FranckTH »

thanks so more Stoker 4.0

works perfectly ;)
Free Flash & HTML5 Games for Phpbb 3.2.2 + Extension Relax Arcade Pro
Free Flash & HTML5 Games for Relax Arcade Pro
User avatar
all4phone
Registered User
Posts: 593
Joined: Fri Mar 18, 2011 11:56 am
Location: Poland
Name: Piotr

Re: [RC] Top Stats

Post by all4phone »

Excellent mod, thanks Stoker.
Good alternative for Top Five ;)
  • Btw, do I have understood correctly:
  • I Install Top Stats 1.0.4
  • I Install Christian Bullocks Collapsible Categories
  • I copy edited the template files from root.zip (recent_active_body.html and top_stats_body.html)
Is that all?
User avatar
Stoker 4.0
Registered User
Posts: 1551
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen

Re: [RC] Top Stats

Post by Stoker 4.0 »

FranckTH wrote:thanks so more Stoker 4.0

works perfectly ;)
Thanks, it looks cool at your site :D

all4phone wrote:Excellent mod, thanks Stoker.
Good alternative for Top Five ;)
  • Btw, do I have understood correctly:
  • I Install Top Stats 1.0.4
  • I Install Christian Bullocks Collapsible Categories
  • I copy edited the template files from root.zip (recent_active_body.html and top_stats_body.html)
Is that all?
Skip the last part and use the default files. I never got to update the files for Christian Bullocks Collapsible Categories.
~ The greatest achievement in life is to inspire ~
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:No problem :)
But I will include forum name in next version.
That sounds perfect!
Thank you very much! Glad to know that be incorporated into the mod.

Good beginning this week
regards
User avatar
Stoker 4.0
Registered User
Posts: 1551
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.5

Lots of new features :)

Subsilver2 and CA Black templates are included. Look in the contrib folder.
Update instructions are in the contrib folder too.
~ The greatest achievement in life is to inspire ~
Regards Stoker
maguila
Registered User
Posts: 21
Joined: Fri Sep 23, 2011 9:34 pm

Re: [RC] Top Stats

Post by maguila »

Hi Stoker!
I installed the new version and it is fantastic!
But I have a problem .... Do not know if it's a bug.
When I have been transferred the permissions of a user. To check a group permissions, my account of the forum entry into a loop that just says:

Code: Select all

Error General
SQL ERROR [ mysql4 ]

[0]

SQL

No values specified for SQL IN comparison

BACKTRACE

FILE: includes/db/dbal.php
LINE: 389
CALL: dbal->sql_error()

FILE: includes/functions_top_stats.php
LINE: 35
CALL: dbal->sql_in_set()

FILE: index.php
LINE: 199
CALL: include('includes/functions_top_stats.php')
Is this a bug? or is a problem in my forum?
Thanks for lending a bit of your time!
regards

pd:Forgive any failure of the google translator ;)
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 »

open

includes/functions_top_stats.php

find

Code: Select all

// Recent Active Topics
if (isset($config['tsrat_enable']) && $config['tsrat_enable'] == 1)
{	
after add

Code: Select all

if (!isset($flist)){
$flist = array(0);}
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
Stoker 4.0
Registered User
Posts: 1551
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen

Re: [RC] Top Stats

Post by Stoker 4.0 »

4_seven wrote:open

includes/functions_top_stats.php

find

Code: Select all

// Recent Active Topics
if (isset($config['tsrat_enable']) && $config['tsrat_enable'] == 1)
{	
after add

Code: Select all

if (!isset($flist)){
$flist = array(0);}
Thanks for the solution 4_seven :)
But why am I not able to reproduce this?
~ The greatest achievement in life is to inspire ~
Regards Stoker
User avatar
Solidjeuh
Registered User
Posts: 522
Joined: Wed Oct 06, 2010 11:20 pm
Location: Aalst / Belgium
Name: Andy Dm

Re: [RC] Top Stats

Post by Solidjeuh »

4_seven wrote:open

includes/functions_top_stats.php

find

Code: Select all

// Recent Active Topics
if (isset($config['tsrat_enable']) && $config['tsrat_enable'] == 1)
{	
after add

Code: Select all

if (!isset($flist)){
$flist = array(0);}
Hello, I just installed this mod. And when a user is logged in, everything is ok!
But when you are not logged in, you get an error ..
All other pages are working .. just error @ the index page ...

When I remove this from index.php it works again...

Code: Select all

//-- mod: Top Stats ---------------------------------------------------------//
	include($phpbb_root_path . 'includes/functions_top_stats.' . $phpEx);
//-- end: Top Stats ---------------------------------------------------------//
I tried with your edit, but it does not work..
Any idea what this could be please?

* image with warez link removed *
Last edited by marian0810 on Mon Nov 21, 2011 6:58 pm, edited 1 time in total.
Reason: http://www.phpbb.com/rules/#rule1e
I don't suffer from insanity. I enjoy every minute of it.

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