Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: @DaviidSv on June 16, 2011, 06:31:39 PM

Title: Statistics in jQuery
Post by: @DaviidSv on June 16, 2011, 06:31:39 PM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=3056)

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. (http://custom.simplemachines.org/themes/index.php?action=search;type=13)

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

ScreenShot:

Before:

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fdaviid.com.ar%2Fbefore.PNG&hash=753b276a60f0738bcf7040c533eb86fd749857e5)


After:

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fdaviid.com.ar%2Fafter.PNG&hash=7df8166d0136a898d9f4e3da1a23731f11800a6a)
Title: Re: Statistics in jQuery
Post by: !RFAN on June 17, 2011, 02:28:01 AM
nice :)
Title: Re: Statistics in jQuery
Post by: Sabreā„¢ on June 17, 2011, 03:58:13 AM
Looks nice.
Good work :)
Title: Re: Statistics in jQuery
Post by: Inti31 on June 17, 2011, 07:35:21 AM
Hi! Nice mod - it works fine
Title: Re: Statistics in jQuery
Post by: 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
Title: Re: Statistics in jQuery
Post by: becometa on June 19, 2011, 02:09:41 PM
awsum!
Title: Re: Statistics in jQuery
Post by: Jessica. on June 20, 2011, 03:31:23 PM
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
Title: Re: Statistics in jQuery
Post by: @DaviidSv 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!
Title: Re: Statistics in jQuery
Post by: Jessica. on June 21, 2011, 02:36:22 PM
thanks, that works :)
Title: Re: Statistics in jQuery
Post by: frx on June 24, 2011, 06:34:53 AM
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?
Title: Re: Statistics in jQuery
Post by: 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
Title: Re: Statistics in jQuery
Post by: frx on June 24, 2011, 11:03:16 AM
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
Title: Re: Statistics in jQuery
Post by: hesaab on July 15, 2011, 01:25:08 PM
Hi
when I install this mod, tabs align left to right but I want to align right to left, how can i do this?
Title: Re: Statistics in jQuery
Post by: Rain Forest on September 23, 2011, 04:37:21 PM
I am getting errors with BoardIndex.template.php  :'(

Please help
Title: Re: Statistics in jQuery
Post by: Joe_ on October 09, 2011, 10:50:01 PM
Can someone please update this for 2.0.1? :3
Title: Re: Statistics in jQuery
Post by: Iomega0318 on November 01, 2011, 05:47:17 AM
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...