• Welcome to Simple Machines Community Forum. Please login or sign up.
October 20, 2021, 01:41:34 PM

News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord


Statistics in jQuery

Started by @DaviidSv, June 16, 2011, 06:31:39 PM

Previous topic - Next topic

@DaviidSv

Link to Mod

Statistics in jQuery.

MODi Developed by:

Daviid

MODi Developed by:

Zutzu & Sohtanaka.

For versions:

SMF 2.0 RC4

SMF 2.0 RC5

SMF 2.0

Description:

Implement a jquery tabs on the statistics of smf, giving it a more dynamic and user friendly.

Only served in the Theme "Default" and its variations. For more information on the Theme: Custom Simple Machines - Curve Theme.

*If used in other topics that are not "Curve Theme", it is your responsibility and under its risks.

ScreenShot:

Before:




After:


!RFAN


Sabre™

Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Inti31

June 17, 2011, 07:35:21 AM #3 Last Edit: June 17, 2011, 07:41:01 AM by Inti31
Hi! Nice mod - it works fine
my forum
my testforum


my mods - which I only made them work for 2.0 Gold:
Topics Filter v3.2 SMF 2.0 Gold
MemberNumber

frx

Hi there.
Very nice mod.

One doubt...

In my forum i have 4 columns: Recent Posts, Calendar Events, Forum Stats, Users Online.
By default the tab who oppens is the second one, Calendar Events.

How can i change it to oppen in the Recent Post?
Can i choose wich should open by default?

Thanks

becometa


Jessica.

Quote from: frx on June 18, 2011, 11:21:36 AM
Hi there.
Very nice mod.

One doubt...

In my forum i have 4 columns: Recent Posts, Calendar Events, Forum Stats, Users Online.
By default the tab who oppens is the second one, Calendar Events.

How can i change it to oppen in the Recent Post?
Can i choose wich should open by default?

Thanks


I also want to choose which tab is open by default. or maybe you can change it so that the last tab you've chosen before leaving the index page is open, so it can be any tab
Testing Zone - SMF 2.0.7, default Curve
School & Chat - phpBB3, over 170 mods installed, official live forum

I use the latest version of Chrome

phpBB: Forum = a section; Board = whole site
SMF: Forum = whole site; Board = a section

@DaviidSv

@Jessica. & @frx:

The tab that opens by default can be changed in the file "estadisticas.js" is in your Default Theme (Theme / Default / scripts / estadisticas.js) . Search on this file:

$("ul.tabs li:eq(1)").addClass("active").show(); //Activate first tab
$(".tab_content:eq(1)").show(); //Show first tab content


Tabs Counting starts from (0), if they want to be the first tab that will open (0) instead of (1), if they want will be the third tab open (2) instead of (1).

I'm so sorry for my English but it is not my language, I hope I understand.

Enjoy!

Jessica.

June 21, 2011, 02:36:22 PM #8 Last Edit: June 22, 2011, 11:26:26 AM by Jessica.
thanks, that works :)
Testing Zone - SMF 2.0.7, default Curve
School & Chat - phpBB3, over 170 mods installed, official live forum

I use the latest version of Chrome

phpBB: Forum = a section; Board = whole site
SMF: Forum = whole site; Board = a section

frx

It worked fine to me :)

Thanks.


EDIT: By the way... what have you changed in this last update?
Is it vital to update?

i have the version 1.0.0 and you have uptated it to 1.0.1.
To update, unnistal 1.0.0 and install 1.0.1?

Jessica.

if there's a new version how come in my Package Manager it doesn't indicate 1.0.0 is an old version? The circle thing is still green
Testing Zone - SMF 2.0.7, default Curve
School & Chat - phpBB3, over 170 mods installed, official live forum

I use the latest version of Chrome

phpBB: Forum = a section; Board = whole site
SMF: Forum = whole site; Board = a section

frx

Quote from: Jessica. on June 24, 2011, 10:49:43 AM
if there's a new version how come in my Package Manager it doesn't indicate 1.0.0 is an old version? The circle thing is still green


My package manager don't indicate. It's like yours.
But i've received the notify of an update...

As you can see:
http://custom.simplemachines.org/mods/index.php?mod=3056
Last Modified:
    Today at 12:03:50 AM
Latest Version:
    1.0.1

hehe

hesaab

Hi
when I install this mod, tabs align left to right but I want to align right to left, how can i do this?
<a href="http://www.tasavi.ir [nofollow]" rel="no-follow">تالار گفتگوی حسابداری</a>

Rain Forest

I am getting errors with BoardIndex.template.php  :'(

Please help

Joe_

Can someone please update this for 2.0.1? :3

Iomega0318

Quote from: Daviid on June 20, 2011, 09:03:16 PM
@Jessica. & @frx:

The tab that opens by default can be changed in the file "estadisticas.js" is in your Default Theme (Theme / Default / scripts / estadisticas.js) . Search on this file:

$("ul.tabs li:eq(1)").addClass("active").show(); //Activate first tab
$(".tab_content:eq(1)").show(); //Show first tab content


Tabs Counting starts from (0), if they want to be the first tab that will open (0) instead of (1), if they want will be the third tab open (2) instead of (1).

I'm so sorry for my English but it is not my language, I hope I understand.

Enjoy!
haha awesome I was just about to ask this! Amazing mod btw, I love it!

Now one more thing, is there a way to put the tabs in a different order?


Quote from: Joe D on October 09, 2011, 10:50:01 PM
Can someone please update this for 2.0.1? :3
I just installed this on my 2.0.1 forum using a custom theme as well and it works perfectly fine...
UOFreeshards.net
UOFreeshards.net 2.1 Aplha Test Site
"I believe in Christianity as I believe in the sun...
not because I see it but because by it I see everything else."
C.S. Lewis

Heed what I say, for it shall be mentioned only once.

Advertisement: