Back to vBulletin 3.0 Add-Ons

Today's Posts on forumhome (number).
Mod Version: 1.0.0, by Deaths

This modification is in the archives.
vB Version: 3.0.7 Rating: (0 vote - 0 average) Installs: 32
Released: 06 Apr 2005 Last Update: 06 Apr 2005 Downloads: 3
Not Supported  

A couple of my members requested this hack, so I created it, and decided to share it with you guys .

What does this hack do?
This hack will display the number of posts made today.

Misc Info:
The "today" text linksto search.php?do=getdaily, for your lazy members
Creator: Deaths
Support is given in Hack's Thread, or preferably at vBadditions.com (when its back up).
Live Demo: http://board.xgnews.org/?styleid=1

The attached .zip contains an install file, for those who would like a copy.

Here we go:

Open up /index.php, and find:
PHP Code:
$userstats unserialize($datastore['userstats']);
$numbermembers vb_number_format($userstats['numbermembers']);
$newusername $userstats['newusername'];
$newuserid $userstats['newuserid']; 
Bellow, add:

PHP Code:
// START POSTS TODAY ON FORUMHOME HACK
$starttime mktime(000date('m'), date('d'), date('Y'));
$newposts $DB_site->query_first("SELECT COUNT(*) AS count FROM " TABLE_PREFIX "post WHERE dateline >= $starttime");
$poststoday vb_number_format($newposts['count']);
// END POSTS TODAY ON FORUMHOME HACK 
Save, Close & Upload.

Now, open up the TEMPLATE FORUMHOME.

Find:
HTML Code:
$vbphrase[posts]: $totalposts
REPLACE with:
HTML Code:
$vbphrase[posts] (<a href="search.php?do=getdaily">$vbphrase[today]</a>): $totalposts ($poststoday) 
That's it, you're done!

If you use this hack, please click !

Download

This modification is archived and cannot be downloaded.

Supporters / CoAuthors

  • Deaths

Screenshots

 

Similar Mods

Mini Mods Number of Today's Birthdays on FORUMHOME Modification Graveyard
Number of Today's Birthdays on Forumhome vBulletin 3.5 Add-ons

vblts.ru supports vBulletin®, 2022-2024