Welcome, Guest. Please Login or Register.
April 30, 2025, 08:50:06 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Stats on the mainpage « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Stats on the mainpage  (Read 596 times)
Webby
Beta Tester
YaBB God
*****
Posts: 829


Some mistakes are too funny to make only once.

ICQ - 9814812webby@salesplaza.nl WWW
Stats on the mainpage
« on: April 03, 2002, 12:08:17 PM »
Reply with quote

I'd like to show some stats from the stats-page on my regular website.  Max. users for instance.
How can I do this ?

I have already some things shown by using welcomeinc.php, so how should I get latest member, max. users (with date and time) on my main page ??
Logged

Webby of salesplaza.nl
The YaBBSE buttongenerator : Click HERE !
Webby
Beta Tester
YaBB God
*****
Posts: 829


Some mistakes are too funny to make only once.

ICQ - 9814812webby@salesplaza.nl WWW
Re:Stats on the mainpage
« Reply #1 on: April 08, 2002, 06:03:16 AM »
Reply with quote

Bad idea ?!
Logged

Webby of salesplaza.nl
The YaBBSE buttongenerator : Click HERE !
David
Destroyer Dave
Global Moderator
YaBB God
*****
Posts: 5761


I'm not a llama!

WWW
Re:Stats on the mainpage
« Reply #2 on: April 08, 2002, 06:58:30 AM »
Reply with quote

Use SSI.php for what you can.  You may need to write/copy some code for other things.
Logged

Webby
Beta Tester
YaBB God
*****
Posts: 829


Some mistakes are too funny to make only once.

ICQ - 9814812webby@salesplaza.nl WWW
Re:Stats on the mainpage
« Reply #3 on: April 08, 2002, 07:01:41 AM »
Reply with quote

Well, that might be the problem.....what code do I have to copy : from...to....
Logged

Webby of salesplaza.nl
The YaBBSE buttongenerator : Click HERE !
Compuart
Quality, Quality, Quality!
YaBB God
*****
Posts: 1283


ICQ - 8801024Compuart@hotmail.com WWW
Re:Stats on the mainpage
« Reply #4 on: April 08, 2002, 07:09:05 AM »
Reply with quote

see this page for some examples
Logged

Webby
Beta Tester
YaBB God
*****
Posts: 829


Some mistakes are too funny to make only once.

ICQ - 9814812webby@salesplaza.nl WWW
Re:Stats on the mainpage
« Reply #5 on: April 08, 2002, 07:21:44 AM »
Reply with quote

*zucht*

I already heave this on my webpage for ages !!

I just want to add some stats and such.....
Logged

Webby of salesplaza.nl
The YaBBSE buttongenerator : Click HERE !
Compuart
Quality, Quality, Quality!
YaBB God
*****
Posts: 1283


ICQ - 8801024Compuart@hotmail.com WWW
Re:Stats on the mainpage
« Reply #6 on: April 08, 2002, 07:35:59 AM »
Reply with quote

hehe, okok, it doesn't have all the stats you were asking for, but who would want to know the latest member anywayz  :P

Besides, I think these SSI's significantly increase server load because every SSI for itself calls all the different routines and makes it's own connections to the MySQL database.

But to write own stats, I think SSI.php would be a perfect place to start in, since most of the settings are already called from there. Then copy/paste something from the Boardindex.php and from the Stats.php (or something like that) and put it as function in SSI.php.
Logged

Webby
Beta Tester
YaBB God
*****
Posts: 829


Some mistakes are too funny to make only once.

ICQ - 9814812webby@salesplaza.nl WWW
Re:Stats on the mainpage
« Reply #7 on: April 08, 2002, 08:29:14 AM »
Reply with quote

Well, I don't work with SSI.php, but with welcome.php.  I will have a look at it myself.  For now I have the birthday shown, and I can show the top xx posters with their no. of posts.

I'll see what I can do myself then.....
Logged

Webby of salesplaza.nl
The YaBBSE buttongenerator : Click HERE !
Compuart
Quality, Quality, Quality!
YaBB God
*****
Posts: 1283


ICQ - 8801024Compuart@hotmail.com WWW
Re:Stats on the mainpage
« Reply #8 on: April 08, 2002, 08:49:46 AM »
Reply with quote

I didn't wanna suggest by the way that it was a bad mod idea ;D. On the contrary, SSI.php should actually have almost all possible data available from YaBB, so that website integration is very easy.

I can only say from my own experience that when a website is visited by over a hundred users at a time, the SSI's are really crashing the webserver as well as the SQL server... (so I disable them whenever I expect a large group to visit the website).
Logged

Webby
Beta Tester
YaBB God
*****
Posts: 829


Some mistakes are too funny to make only once.

ICQ - 9814812webby@salesplaza.nl WWW
Re:Stats on the mainpage
« Reply #9 on: April 08, 2002, 09:04:54 AM »
Reply with quote

I have already some things worked out, and will proceed doing some tweaks  ;D

By-the-way......nice solution to disable those things every time you expect a large amount of members.... :P
Logged

Webby of salesplaza.nl
The YaBBSE buttongenerator : Click HERE !
Compuart
Quality, Quality, Quality!
YaBB God
*****
Posts: 1283


ICQ - 8801024Compuart@hotmail.com WWW
Re:Stats on the mainpage
« Reply #10 on: April 08, 2002, 09:10:55 AM »
Reply with quote

Quote from: Webby on April 08, 2002, 09:04:54 AMBy-the-way......nice solution to disable those things every time you expect a large amount of members.... :P
Yeah, it took me a lot of coffee to design such an ingenious sollution  ;D

Next friday I will see whether my 'sollution' worked...I keep my fingers crossed (and this time hope NOT to lose my website for a day again  >:()
Logged

Webby
Beta Tester
YaBB God
*****
Posts: 829


Some mistakes are too funny to make only once.

ICQ - 9814812webby@salesplaza.nl WWW
Re:Stats on the mainpage
« Reply #11 on: April 08, 2002, 09:15:51 AM »
Reply with quote

Good luck  ;)
Logged

Webby of salesplaza.nl
The YaBBSE buttongenerator : Click HERE !
Krip730
Full Member
***
Posts: 128


ICQ - 59900494 WWW
Re:Stats on the mainpage
« Reply #12 on: April 09, 2002, 02:33:41 AM »
Reply with quote

hey guys thanx alot for that list... much appreciated !
Logged

Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Stats on the mainpage « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.180 seconds with 20 queries.