![]() |
I have installed this on 2.3.0 RC3 running VBportal 3.0.
All appears ok but if you turn the vbportal option on, i get the following errors. Code:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /usr/local/psa/home/vhosts/new-version.org.uk/httpdocs/vbb/forums/vbstats.php on line 353 I notice the poll line is working but the news one is not. I would guess (and its only a guess) that the code cannot handle multiple news forums and that is why it fails (preferences in vbportal have news forums as " 1,2,5,9" to show forums 1,2,5 & 9 are news forums. If the vbportal option is turned off, then the rest of it is fine without errors. |
Quote:
Only when you set Use vbPortal Weblinks Additions? on YES.. I get: Code:
Warning: Supplied argument is not a valid MySQL result resource in /www/domain/site/board/vbstats.php on line 357 And in which format do i have to write the date statistics begin? |
The problem with vbPortal is he must have changed the tables in some way. Unfortunately I dont have it installed anymore. I may have to install it on a test board. For now the only fix would be to turn those additions off.
|
Is there away that to make it show the current month stats for top posters of the month instead of the last 30 days? Atleast I assume it's doing 30 days because it says on my board I've gotten 1000+ posts already this month and that isn't possible unless it's doing 30 days instead of the current month of March.
|
It is doing 30 days instead of the current month yes. :(
|
re vbportal 30b problems
Find This in vbstats.php (near line 291) PHP Code:
PHP Code:
|
can anyone confirm VampireMans change? If so I will change it in the zip.
|
Quote:
|
Quote:
|
The format of the date statistics begin is whatever you want it to be. Its not really used.
As far as the other if you dont know what it is you dont need to use it, its fog vbportal. esquared : I'll take a look at it when I have some time. |
is there any way you can make it not count you
also notice when you refresh it goes up to other then that i love this hack |
It counts total views monstergamer. The only way you could stop that would be checking ips or dropping a cookie to the users computer.
You could make it not count you with some additional hacking yes. like putting the vbs_counter include in the global.php and having a usergroup detect around it or something. |
ok thanx
i well try that now |
I've installed this. Impressive hack. One gripe: banned users etc can view this.
I fixed this by inserting this code in vbstats.php (which wont work for a lot of you. This goes with a journal template I have from another hack, and most of you may not have a ban group for usergroup 10; PHP Code:
|
Thanks guys.
|
Quote:
this is one of the best hacks |
How can I block someone from viewing my stats page? Using his IP? But let him see the rest? It's really important...
|
Send me a pm with the info netstartz, I'll see what I can do to help you.
|
is there a way to make it tell the times the came to your site like
12:00 - 1:00 = 2 visits 1:00 - 2:00 = 5 visits and so on or well this be hard cause of the time difference |
Okay, dumb question time...
I was smart enough to read the second post in this thread, and found the answer to my question regarding compatibility with 2.2.6 (Currently working splendid on all 2.x versions to date). But, then I looked at the top of your first post and saw this: "For vBulletin version: 2.3.x". Will this fantastic hack work on 2.2.6? Thanks, Jbear6 |
Yes Jbear6 it will. Be careful when placing the hacks, as some may have changed, but it works well yes.
monstergamer - no not currently |
Thank you very much Bane, you are a scholar and a gentleman.
Jbear6 |
Does the latest installer have an upgrade option besides the installer option? I need to upgrade from an older version to the newest for vb 2.3. thanks.
|
Quote:
As far as I know ... each version has a install/uninstall/upgrade feature. During installation it also mentions that if you upgrade your vbulletin, you should run install script again and choose upgrade. If you upgrade your vBulletin, you should manually re-apply the source code changes. The templates and mysql changes are ofcourse, already in place. |
You can upgrade in all the 2x versions and keep your current stats.
|
any plans for it to list like most popular styles? or even most popular smilies?
We use several styles on our site as well as a whole host of smilies, would like to be able to move the most popular smilies to the main smiley panel if I had a way of tracking which those were. :) Thanks! |
Cyricx, its possible I suppose, the first is quite easy, and for the most part is already in the code for vbstats. The second is more involved and would involve further hacking to vb.
|
Thanks for the updated version Bane! I uninstalled this a while ago as my board got too big for the old version and it kept killing my server, but I'll try this new one. Site is http://forum.racesimcentral.com - stats will only be shown to staff (or the link to it will), but feel free to guess the url. I'm currently installing and editing a test board, it'll go live on the above url tonight sometime though... :)
My board should be quite a test for your coding. :) Thanks man! :D |
Bane please check your PM's, I just replied. It's now live on the board.
http://forum.racesimcentral.com/vbstats.php I'm only making it visible to staff. |
ps: incase you're wondering, I haven't disallowed my own domain from registering, this is because we have a lot of sub domains and sites we host and I'd like to see which are bringing in the most visitors. Can I exclude certain sub domains? forum.racesimcentral.com and www.racesimcentral.com for example?
|
Yes you can! I just added "forum.racesimcentral.com" and it's working. Super. I'm leaving www.race... on though I think... We probably get more people through out sub sites, so it'd be nice to see that in black and white.
|
Hello!
One Question: how can i show the Pageviews on my Forumhomepage? I have searched the thread, but can?t find it. Thanks in advance Kars:) |
Am I the only one who is having trouble with this one? :)
Went into the install, /admin/install_vbstats.php and click on install... Gives me the header, and the header only: Code:
<html><head> |
I think I've got it... you're missing a "php" in your code...
Code:
<br><br>Or you can just <?php gotostep(6,0,0,1,"exit now"); ?> . Code:
<br><br>Or you can just <?php gotostep(6,0,0,1,"exit now"); ?> . |
ok
let say i want to show more Top Referring Sites it show the top 20 i would like to make it 30 or so how could i do this |
monstergamer - you can configure this in the vbstats admin CP.
TechGuy - Will be fixed, thanks for pointing that out. |
Quote:
|
Total Top Referring Sites to Display in the vbstats admin, change value to 30.
|
Well. I got everything to work, cept when I tried to put the stats on my forum home, didnt work. The new template and changes all are 100% fine
|
Great Addition to my Vbulletin. It took me like 10 minutes to complete the install and was really painless. There were a couple of steps missed in the directions. (Could be me though!)
Thanks for the hard work! :) Charles |
All times are GMT. The time now is 08:12 AM. |
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:
|