Average Posts Per Day in Mini-Profile Code:

Global Footer:

<script type="text/javascript"><!--
// Average Posts Per Day in Mini-Profile
// by Ross
var months = new Array('Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec');
var date = new Date();
var year = date.getYear();
if(year <= 1900)
year += 1900
var month = date.getMonth();
var td = document.getElementsByTagName('td');
for(i=0; i<td.length; i++) {
    if(td.item(i).width == '20%' && td.item(i).innerHTML.match(/Joined: (\w{3})\s(\d{4})/)) {
        var total_days = date.getDate() - 15;
        for(m=0; m<months.length; m++) {
            if(months[m] == RegExp.$1) {
                reg_month = m;
                break;
            }
        }
        var total_months = month - reg_month;
        total_days += (total_months * 30);
        var total_years = year - parseInt(RegExp.$2);
        total_days += 365 * total_years;
        td.item(i).innerHTML.match(/Posts: (.+?)(<|$)/);
        posts = parseInt(RegExp.$1.replace(/,/g, ''));
average = Math.ceil((posts / total_days) * 100) / 100
        td.item(i).innerHTML = td.item(i).innerHTML.replace(/(Posts: .+?)(<|$)/, '$1/'+ average +' per day$2');
    }
}
//--></script>

Code Database:

If you have a Code Database (a forum that serves as a collection of scripts) on your message board, you may paste the following code into that forum to add it your own code list.

[b]Title:[/b] [url=http://proboards.gamingmedley.com/codes/average-posts-per-day-in-mini-profile.html]Average Posts Per Day in Mini-Profile[/url]
[b]Creator:[/b] Ross
[b]Cross-Browser:[/b] Yes
[b]Placement:[/b] Global Footer
[code]<script type="text/javascript"><!--
// Average Posts Per Day in Mini-Profile
// by Ross
var months = new Array('Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec');
var date = new Date();
var year = date.getYear();
if(year <= 1900)
year += 1900
var month = date.getMonth();
var td = document.getElementsByTagName('td');
for(i=0; i<td.length; i++) {
    if(td.item(i).width == '20%' && td.item(i).innerHTML.match(/Joined: (\w{3})\s(\d{4})/)) {
        var total_days = date.getDate() - 15;
        for(m=0; m<months.length; m++) {
            if(months[m] == RegExp.$1) {
                reg_month = m;
                break;
            }
        }
        var total_months = month - reg_month;
        total_days += (total_months * 30);
        var total_years = year - parseInt(RegExp.$2);
        total_days += 365 * total_years;
        td.item(i).innerHTML.match(/Posts: (.+?)(<|$)/);
        posts = parseInt(RegExp.$1.replace(/,/g, ''));
average = Math.ceil((posts / total_days) * 100) / 100
        td.item(i).innerHTML = td.item(i).innerHTML.replace(/(Posts: .+?)(<|$)/, '$1/'+ average +' per day$2');
    }
}
//--></script>[/code]