![]() |
Variables...
Can anyone please tell me what the variables are for pulling out the Total Thread views and the total allowed private messages? :)
|
Umm... where? :)
|
They are like what you have after I log in. They are under the forum statistics and private messages section. :)
|
You can use $pmquota for maximum number of PM's... not sure what you mean about views??
|
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:
|
in index.php replace this:
Code:
$countthreads=$DB_site->query_first('SELECT COUNT(*) AS threads FROM thread'); Code:
$countthreads=$DB_site->query_first('SELECT COUNT(*) AS threads, SUM(views) AS views FROM thread'); |
Thank you, Chen. That worked great! :)
|
All times are GMT. The time now is 08:15 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|