The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Is there a simple non-vb stats hack?
I don't want to put tons of info of my board onto a non-vb page. I just want to have #members, # threads, and #posts.
I have searched for this, and have only came across hacks that show every single stat of your board on a non-vb page. Any help is appreciated. Thanks a lot. |
#2
|
||||
|
||||
Most of the hacks you can edit so that they display the information you want. Simply remove the additional information that you don't want to show.
Craig |
#3
|
||||
|
||||
If you look closely at the code in index.php there are these lines:
PHP Code:
[php] <?php error_reporting(7); require('./global.php'); $numbersmembers=$DB_site->query_first('SELECT COUNT(*) AS users,MAX(userid) AS max FROM user'); $numbermembers=number_format($numbersmembers['users']); // get total posts $countposts=$DB_site->query_first('SELECT COUNT(*) AS posts FROM post'); $totalposts=number_format($countposts['posts']); $countthreads=$DB_site->query_first('SELECT COUNT(*) AS threads FROM thread'); $totalthreads=number_format($countthreads['threads']); eval("dooutput(\"".gettemplate('yourtemplatename') ."\");"); |
#4
|
||||
|
||||
If you look closely at the code in index.php there are these lines:
PHP Code:
PHP Code:
Regards - miSt |
#5
|
||||
|
||||
<Mr. Burns' impression>Eeeeeeexcellent.</Mr. Burns' impression>
Thanks a lot, it works great! |
#6
|
||||
|
||||
I'm glad i could help you out
- miSt |
#7
|
||||
|
||||
Hrm, this wont work for me
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|