for the latest threads, place this code:
PHP Code:
// latest threads and posts, since your last visit (by MrLister)
$getnewthreads=$DB_site->query_first("SELECT COUNT(*) AS threads FROM thread WHERE dateline > '$bbuserinfo[lastvisit]'");
$getnewposts=$DB_site->query_first("SELECT COUNT(*) AS posts FROM post WHERE dateline > '$bbuserinfo[lastvisit]'");
below:
Code:
///////////////////////////////////
// vBulletin code //
///////////////////////////////////
then call the 2 variables in your [high]home[/high] template.
Quote:
Originally posted by Gutspiller
Instead of show the number since your last visit, I need it to show the number of threads created in a specific forum for that day. So it would just show a number and that number would represent the number of threads that have been created in that forum for the day.
|
open a thread in Requests area.