The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Can anyone please tell me what the variables are for pulling out the Total Thread views and the total allowed private messages?
![]() |
#2
|
||||
|
||||
![]()
Umm... where?
![]() |
#3
|
||||
|
||||
![]()
They are like what you have after I log in. They are under the forum statistics and private messages section.
![]() |
#4
|
||||
|
||||
![]()
You can use $pmquota for maximum number of PM's... not sure what you mean about views??
|
#5
|
||||
|
||||
![]()
Thank you, sir, for that part of it. This line was taken from your screen after I logged in under Forums Statistics.
Total Threads: 12,022 | Total Posts: 97,326 | Total Thread Views: 2,775,052 Quote:
|
#6
|
||||
|
||||
![]()
in index.php replace this:
Code:
$countthreads=$DB_site->query_first('SELECT COUNT(*) AS threads FROM thread'); $totalthreads=number_format($countthreads['threads']); Code:
$countthreads=$DB_site->query_first('SELECT COUNT(*) AS threads, SUM(views) AS views FROM thread'); $totalthreads=number_format($countthreads['threads']); $totalviews=number_format($countthreads['views']); |
#7
|
||||
|
||||
![]()
Thank you, Chen. That worked great!
![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|