The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
remote info
Hello I'm looking how to get my forum stats on to my website but i'm very lost.... :ermm:
Can anyone help me. |
#2
|
|||
|
|||
Give us some details, in what way if your website coded? Flat html or php, or maybe somthing else?
Its very simple to get the stats, we just need to know where you want them placed and what enviroment you are working with. |
#3
|
||||
|
||||
Quote:
|
#4
|
|||
|
|||
Ok I think this is right, I coded it rather quickly so it may not work, maybe you can spot an error. In other words, its untested, use at own risk
Fill in the chdir right as per comment PHP Code:
$threadcount = Total number of threads based on results from forumcache $postcount = Total number of posts based on forumcache $membercount = Total number of members from userstat cache $newmember_username = Username of the last member to register (userstat cache) $newmember_userid = Userid of the last member to register (userstat cache) Have fun, hope it works for you |
#5
|
||||
|
||||
it almost works I've fixed it up and run it but the results are
0 Total number of threads based on results from forumcache 0 Total number of posts based on forumcache 0 Total number of members from userstat cache Username of the last member to register (userstat cache) Userid of the last member to register (userstat cache) PHP Code:
update I've been running querys and been debugging and theres a problem in the mysql query. SELECT title, data FROM vb3_datastore WHERE title IN (userstats,forumcache) #1054 - Unknown column 'userstats' in 'where clause' its there of course. ok it gets worse..... SELECT title, data FROM vb3_datastore WHERE userstats don't even work. help! :ermm: |
#6
|
|||
|
|||
Change:
PHP Code:
PHP Code:
|
#7
|
||||
|
||||
If half works now but i'm happy thanks for yuor help.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|