Welcome, Guest. Please Login or Register.
May 25, 2025, 03:49:53 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  |  User post stats (Posts per day) « previous next »
Pages: [1] 2 Reply Ignore Print
Author Topic: User post stats (Posts per day)  (Read 892 times)
Jalapeno
Full Member
***
Posts: 158


Peno, Jala Peno...

WWW
User post stats (Posts per day)
« on: April 30, 2002, 12:50:50 PM »
Reply with quote

There was a mod for YaBB 1 Gold which was called something like User Post Stats, or something along those lines.

It displayed the average number of posts a user posted per day in the user's profile.

Anyone care to script that mod for YaBB SE?
« Last Edit: April 30, 2002, 12:52:44 PM by Jalapeno » Logged

Too lazy. Way too lazy.
Jedi~
Eric
Beta Tester
YaBB God
*****
Posts: 1284


WWW
Re:User post stats (Posts per day)
« Reply #1 on: April 30, 2002, 03:01:00 PM »
Reply with quote

I only thought of this for a second, so there may be a better way to do it, but the way I'm thinking it'd take quite a few queries
Logged
David
Destroyer Dave
Global Moderator
YaBB God
*****
Posts: 5761


I'm not a llama!

WWW
Re:User post stats (Posts per day)
« Reply #2 on: April 30, 2002, 03:32:09 PM »
Reply with quote

This is actually pretty easy to do but just would take some time.  When viewing a profile number of posts and date registered are both selected.  Just find the number of days they have been a member and do some division.
Logged

Jedi~
Eric
Beta Tester
YaBB God
*****
Posts: 1284


WWW
Re:User post stats (Posts per day)
« Reply #3 on: April 30, 2002, 06:13:12 PM »
Reply with quote

That's true.... didn't think of that.
Logged
Mach8
Sweetie
Beta Tester
YaBB God
*****
Posts: 1218


ICQ - 339855961
Re:User post stats (Posts per day)
« Reply #4 on: April 30, 2002, 06:23:06 PM »
Reply with quote

The date registered is stored as a UNIX timestamp, so surely it'd be:

The number of posts divided by:
The current time as a UNIX timestamp minus the registration date as a UNIX timestamp.
Logged
Jeff Lewis
Global Moderator
YaBB God
*****
Posts: 10149


I'm a llama!

WWW
Re:User post stats (Posts per day)
« Reply #5 on: April 30, 2002, 06:26:35 PM »
Reply with quote

Yep exactly right.  It's very simple to do, I say throw it in someones profle :)
Logged

Jalapeno
Full Member
***
Posts: 158


Peno, Jala Peno...

WWW
Re:User post stats (Posts per day)
« Reply #6 on: May 01, 2002, 07:57:01 AM »
Reply with quote

Glad to hear that it's very simple. Unfortunately, I have absolutely no PHP skills. So, if someone could make this or point me in the right direction, I'd be very happy. Thx.  :D
Logged

Too lazy. Way too lazy.
David
Destroyer Dave
Global Moderator
YaBB God
*****
Posts: 5761


I'm not a llama!

WWW
Re:User post stats (Posts per day)
« Reply #7 on: May 01, 2002, 02:18:30 PM »
Reply with quote

I'll take a look at doing this today, shouldn't be very hard.
Logged

Delinquently insane
Foolish One
YaBB God
*****
Posts: 529


The One Surpassed By God!!!!

Re:User post stats (Posts per day)
« Reply #8 on: May 01, 2002, 02:24:02 PM »
Reply with quote

hehe i had this in mind on making my next gamers mod for se.. it was suppose to be a divisible factor in loosing points in the points system  :)... Very Useful addon i would say ..Seems To Me Someones Already Got His Thoughts On It.  :) .. I Have Many Ideas At hand More ideas more better yabb would be  ;D
Logged

ALL MODS Cancelled projected terminated
Webby
Beta Tester
YaBB God
*****
Posts: 829


Some mistakes are too funny to make only once.

ICQ - 9814812webby@salesplaza.nl WWW
Re:User post stats (Posts per day)
« Reply #9 on: May 03, 2002, 06:57:43 AM »
Reply with quote

Quote from: David on May 01, 2002, 02:18:30 PMI'll take a look at doing this today, shouldn't be very hard.

Maybe you didn't get to it, but will you get to it soon, you think ?
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:User post stats (Posts per day)
« Reply #10 on: May 03, 2002, 07:26:04 AM »
Reply with quote

I was doing it actually.  Got BoardMod open, started writing the short code modifications, NT workstation died before it was saved.  I should be able to do it this weekend.
Logged

iamdamnsam
Full Member
***
Posts: 225


RamchargerCentral.Com

WWW
Re:User post stats (Posts per day)
« Reply #11 on: May 03, 2002, 08:15:30 PM »
Reply with quote

Don't forget that you have to calculate the actual days, since not all months have the same number of days.  You would also have to take into consideration leap years if it was to be done correctly.
Logged

David
Destroyer Dave
Global Moderator
YaBB God
*****
Posts: 5761


I'm not a llama!

WWW
Re:User post stats (Posts per day)
« Reply #12 on: May 03, 2002, 09:29:46 PM »
Reply with quote

I belive it all uses UNIX time stamps.  There is already the code that deals with birthdays and I will use some from that to do this.  Mcguire has also started working on this mod and may take over.
Logged

Darkshady
Noobie
*
Posts: 40


I'm a llama!

Re:User post stats (Posts per day)
« Reply #13 on: May 03, 2002, 10:45:36 PM »
Reply with quote

I have one done but I just need to test it.  I bet though there are errors somewhere.  
Logged
Delinquently insane
Foolish One
YaBB God
*****
Posts: 529


The One Surpassed By God!!!!

Re:User post stats (Posts per day)
« Reply #14 on: May 03, 2002, 11:40:58 PM »
Reply with quote

Hehe I My Self Am Almost Done And Need To Test To... The Only Part The Bothers me is if i have the time conversion thingy right ..

Once Im Finished With This Ill Release It

The Version Im Making Shows

postsperday, your percent of posts/ total posts posted on your forum, in the profile and memberslist

here is a screen shot

[screenshot]




NOTE:THE POST PERDAY WILL EQUAL USERS POST COUNT IF USERS HAS NOT BEEN REGISTERED FOR AT LEAST A DAY



« Last Edit: May 04, 2002, 12:04:41 AM by mcguire » Logged

ALL MODS Cancelled projected terminated
Pages: [1] 2 Reply Ignore Print 
YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  User post stats (Posts per day) « 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 1.445 seconds with 20 queries.