Posts per day

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
Extensions Robot
Extensions Robot
Extensions Robot
Posts: 27360
Joined: Sat Aug 16, 2003 7:36 am

Posts per day

Post by Extensions Robot » Sun Sep 28, 2008 6:07 pm

Modification name: Posts per day
Author: MartectX
Modification description: Adds a little extra info to the statistic box on the index page: Average posts per day since the board came into existence.
Modification version: 1.0.0
Tested on phpBB version: 3.0.2

Download file: posts_per_day_1.0.0.zip
File size: 55.82 KiB

Modification overview page: View

The phpBB Team is not responsible nor required to provide support for this modification. By installing this MOD, you acknowledge that the phpBB Support Team or phpBB Extensions Team may not be able to provide support.

-->Modification support<--
Last edited by Extensions Robot on Mon Mar 27, 2017 3:09 pm, edited 8 times in total.
(this is a non-active account manager for the phpBB Extension Customisations Team)

User avatar
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 23720
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Posts per day

Post by Paul » Sun Sep 28, 2008 6:07 pm

Modification validated/released

Notes:
Knock knock
Race condition
Who's there?

My BlogMy Photosmy phpBB Extensionscustom phpBB work & Development

User avatar
MartectX
Translator
Posts: 1324
Joined: Wed Dec 19, 2007 8:05 pm
Location: Marienplatz

Posts per day

Post by MartectX » Sun Sep 28, 2008 6:07 pm

w00t! Thank you for validating! :D

Image
Last edited by MartectX on Sun Sep 28, 2008 11:19 pm, edited 2 times in total.

JasonWade
Registered User
Posts: 287
Joined: Mon Jun 05, 2006 9:22 am

Re: Posts per day

Post by JasonWade » Sun Sep 28, 2008 6:37 pm

Just added this, very nice and simple to add, BUT 1 question though, how come the statistic in the admin panel is a little different (less than 1 post) than the one in the index page?

JeRicHoOL
Registered User
Posts: 449
Joined: Sun Jun 01, 2008 4:02 pm

Re: Posts per day

Post by JeRicHoOL » Sun Sep 28, 2008 6:44 pm

Thanks for this mod. It works perfectly without any problems.

EDIT: Yea, for me it shows 1,07 on the index and 1,08 in the administration panel. Not a big deal for me but it would be nice if it could be fixed.

User avatar
MartectX
Translator
Posts: 1324
Joined: Wed Dec 19, 2007 8:05 pm
Location: Marienplatz

Re: Posts per day

Post by MartectX » Sun Sep 28, 2008 10:45 pm

The mod rounds the number of days to full days, the admin panel does not. Example:

10 posts and 1 days, 12 hours passed :arrow: Index: 5.0 ppd, Admin: 6,67 ppd

In the long run there won't be a noticeable / no difference (as shows your mere difference of 0,01).

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 20430
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: Posts per day

Post by RMcGirr83 » Sun Sep 28, 2008 11:32 pm

Congrats Martectx!!

As you know I already have this mod installed and it works fine. ;)

For those that wish the ACP stats to match those with this mod, do the following

OPEN

includes/acp/acp_main.php

FIND

Code: Select all

$boarddays = (time() - $config['board_startdate']) / 86400;
REPLACE WITH

Code: Select all

$boarddays = ceil((time() - $config['board_startdate']) / 86400);
then they will be inline with each other.
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

User avatar
Sunka
Registered User
Posts: 566
Joined: Wed Mar 26, 2008 2:48 pm
Location: Croatia, Zvoneca
Contact:

Re: Posts per day

Post by Sunka » Mon Sep 29, 2008 3:31 am

Congratulations for validation of MOD...I will install it
www.pijanitvor.com

Gardening & Fishing - If you want, I will open english subforum for you ==> send me PM here ||

alienbabeltech
Registered User
Posts: 415
Joined: Mon Sep 17, 2007 12:54 pm

Re: Posts per day

Post by alienbabeltech » Wed Oct 01, 2008 12:52 pm

is this mod compatible with a subsilver2 based theme ?

I'm trying to install it on my site here

http://alienbabeltech.com/abt/index.php
This is the best and most helpful community I have been on. You are some of the best people I have met. GOD Bless You ALL !
My Forum - http://alienbabeltech.com/abt/index.php

JasonWade
Registered User
Posts: 287
Joined: Mon Jun 05, 2006 9:22 am

Re: Posts per day

Post by JasonWade » Wed Oct 01, 2008 3:02 pm

wolf2009 wrote:is this mod compatible with a subsilver2 based theme ?

I'm trying to install it on my site here

http://alienbabeltech.com/abt/index.php
I only have subsilver2 themes, works fine. Just don't forget the edit in the subsilver2 xml file and everything should work fine

alienbabeltech
Registered User
Posts: 415
Joined: Mon Sep 17, 2007 12:54 pm

Re: Posts per day

Post by alienbabeltech » Wed Oct 01, 2008 3:33 pm

I'm concerned about this instruction while installing the mod

Open: styles/prosilver/template/index_body.html
Find
Tip: This may be a partial find and not the whole line.
<p>{TOTAL_POSTS} &bull; {TOTAL_TOPICS} &bull; {TOTAL_USERS} &bull; {NEWEST_USER}</p>

In-line Find
Tip: This is a partial match of a line for in-line operations.
{TOTAL_POSTS}

In-line Add before

{POSTS_PER_DAY} &bull;

since the aerogreen works on subsilver2 , should i edit subsilver2's index_body.html ?

or aerogreen's index_body.html ?
This is the best and most helpful community I have been on. You are some of the best people I have met. GOD Bless You ALL !
My Forum - http://alienbabeltech.com/abt/index.php

User avatar
MartectX
Translator
Posts: 1324
Joined: Wed Dec 19, 2007 8:05 pm
Location: Marienplatz

Re: Posts per day

Post by MartectX » Wed Oct 01, 2008 3:47 pm

Just search for

Code: Select all

{TOTAL_POSTS}
and In-line Add before

Code: Select all

{POSTS_PER_DAY}
Depending on your style insert

Code: Select all

 &bull; 
or

Code: Select all

 | 
between the two.

alienbabeltech
Registered User
Posts: 415
Joined: Mon Sep 17, 2007 12:54 pm

Re: Posts per day

Post by alienbabeltech » Wed Oct 01, 2008 3:55 pm

MartectX wrote:Just search for

Code: Select all

{TOTAL_POSTS}
and In-line Add before

Code: Select all

{POSTS_PER_DAY}
Depending on your style insert

Code: Select all

 &bull; 
or

Code: Select all

 | 
between the two.
i got the first part to add {POSTS_PER_DAY} before {TOTAL_POSTS} in that line.

What I didn't get is the style part.

I am completely new to phpBB modding, this is my first mod.

I'm using Aerogreen theme which is based on subsilver2.

SO i would need to edit Subsilver2's file with this code ?
I can't find this line in Aerogreen's index_body.html file .
This is the best and most helpful community I have been on. You are some of the best people I have met. GOD Bless You ALL !
My Forum - http://alienbabeltech.com/abt/index.php

User avatar
MartectX
Translator
Posts: 1324
Joined: Wed Dec 19, 2007 8:05 pm
Location: Marienplatz

Re: Posts per day

Post by MartectX » Wed Oct 01, 2008 4:00 pm

wolf2009 wrote:What I didn't get is the style part.
If you made the edits I posted you are done.

alienbabeltech
Registered User
Posts: 415
Joined: Mon Sep 17, 2007 12:54 pm

Re: Posts per day

Post by alienbabeltech » Wed Oct 01, 2008 4:07 pm

MartectX wrote:
wolf2009 wrote:What I didn't get is the style part.
If you made the edits I posted you are done.

the edit goes in index_body.html file of the subsilver2 folder on the ftp , right , and it will automatically work in aerogreen since it is base on subsilver2

thats my question
This is the best and most helpful community I have been on. You are some of the best people I have met. GOD Bless You ALL !
My Forum - http://alienbabeltech.com/abt/index.php

Locked

Return to “[3.0.x] MOD Database Releases”

Who is online

Users browsing this forum: No registered users and 16 guests

cron