vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vbStats (https://vborg.vbsupport.ru/showthread.php?t=30751)

Bane 10-25-2001 12:17 PM

Hopefully we can see a new version this weekend. For now the only set items for inclusion are:

- GenSecs code fix for top posters
- added fullreferrer logging to the counter (lines 146-153 vbs_counter.php)
- Added Popular Styles! (Thanks ztsky!)
- Sessionhash problems should be fixed
- Some Code Cleaning

I am looking to add some other things (Im still looking at your idea for admin only number viewing) but I just got a time limited contract so I have to pay the bills first.

GenSec 10-25-2001 05:37 PM

I added to vbstats a small addition which creates flag for every user.
It' very simple and takes only 5 min to install

Si9naL-9 10-25-2001 07:31 PM

Maybe you gurus, can help me...

I installed this brilliant hack for stats.. had it running perfectly..

went to bed.. woke up to this...

Warning: Supplied argument is not a valid MySQL result resource in /usr/local/apache/htdocs/forums/vbstats.php on line 283

Warning: Supplied argument is not a valid MySQL result resource in /usr/local/apache/htdocs/forums/vbstats.php on line 284

Warning: Supplied argument is not a valid MySQL result resource in /usr/local/apache/htdocs/forums/vbstats.php on line 285

Warning: Supplied argument is not a valid MySQL result resource in /usr/local/apache/htdocs/forums/vbstats.php on line 287

Warning: Supplied argument is not a valid MySQL result resource in /usr/local/apache/htdocs/forums/vbstats.php on line 288
Table 'zeropingforums.nuke_links_links' doesn't exist

Does this mean anything to anyone???

Many thanks ...

dxb 10-25-2001 11:45 PM

a funny problem

everything is fine with the stats page except one thing

the last 24 hours

new threads

I noticed this on the test forum and the main forum too

and the image that I attached is for the test forum and I'm the only person who posts anything in that forum so the number of new threads is 1000% wrong :)

Bane 10-26-2001 01:05 AM

Quote:

Originally posted by Si9naL-9
Does this mean anything to anyone???
j00 have no vbPortal installed methinks

Bane 10-26-2001 01:06 AM

Quote:

Originally posted by dxb
new threads
My you post a lot!

glenn001 10-26-2001 01:57 AM

Running php3 and have modified the files appropriately and the installation was successful, even checked all the files to make sure. However when browsing to the forum home page I get the following error...

Call to unsupported or undefined function array_reverse() in ./vbs_counter.php3 on line 53

Have also called the include function for vbs_counter.php3

Anyone have any ideas? If php3 is unsupported is there an equivalent install script for this hack?

Thanks!

glenn001 10-26-2001 02:30 AM

Quote:

Originally posted by glenn001
Running php3 and have modified the files appropriately and the installation was successful, even checked all the files to make sure. However when browsing to the forum home page I get the following error...

Call to unsupported or undefined function array_reverse() in ./vbs_counter.php3 on line 53

Have also called the include function for vbs_counter.php3

Anyone have any ideas? If php3 is unsupported is there an equivalent install script for this hack?

Thanks!

Actually I have found the solution. If anyone else is running php3 and has this problem you can replace the function,

array_reverse($rhost);

with,

for (end($rhost); $key = key($rhost); prev($rhost) ) {
$value = $rhost[$key];
}


Awesome hack :D

Sarge 10-26-2001 03:06 AM

This hack works great for me. Easy install

JJR512 10-26-2001 03:15 AM

I noticed earlier an odd conflict with another of ethank's hacks, the subforums hack that shows a linked list of any subforums a forum has under the description for the parent forum.

In a category view, any forums with subforums shows the linked list twice, like here. Note the first forum you see there, Mindless Blabbering, has one subforum named Stupid Jokes, but "Sub-forums: Stupid Jokes" appears twice, the second below the first.

This didn't happen prior to installing this mark individual forum read hack.

dxb 10-26-2001 09:50 PM

hey come on Bane ...I didnt post anything in that forum for more than one month

anyway this what I tried doing I updated the counters ---> nothing happened

my forum was imported from UBB and as i remember the number of threads at that time it was close to 5000

anyway this is what I did to solve the problem

i changed this code in vbstats.php

PHP Code:

$threadstoday=$getthreadstoday[count]; 

to this

PHP Code:

$threadstoday=$getthreadstoday[count] - 5572

yes the problem is solved but I dont think thats the best solution :) for it


=====================

one more thing whats with the license statment at the bottom of the vbulletin board it says

Powered by: vBulletin Version 2.something ;-)

dose that mean that they are getting ready to release 2.0.4

Bane 10-26-2001 11:22 PM

DXB: I'll look at that problem.. its odd though.. it tacks that number on everyday? You cant be the only person whos installed the hack that converted from UBB so I'm hoping someone else can tell me if they are having the same problem.

I'm sorry if the support for this has been a little shady. Most of the PHP/MySQL I know I learned from doing this, so it was mostly trial and error putting it together. I'm trying my best to get it all sorted and add the new features everyone is requesting (thanks for the emails and PMs btw :)) but you will have to forgive me if I am a bit slow.

Another thing I've noticed since writing this hack is Im appearing on a lot of peoples "IM him if my vb screws up" lists. And Im usually too nice to say no :( Hard to keep up with everything

Freddie said in a couple days on 2.0.4 methinks?

MarkB 10-26-2001 11:49 PM

I'm looking forward to the next version of vbStats, Bane :) I appreciate all the work you're putting into it!

dxb 10-26-2001 11:58 PM

thanks for the answer Bane and hey your doing an excellent job here

thanks for everything :)

DarkReaper 10-30-2001 10:13 PM

*bump*

Sinecure 10-31-2001 02:47 AM

I am going to install this hack once you make an updated version for 2.2.0 :D

c-pr0mpt 10-31-2001 03:59 AM

One of my favorite hacks. Big time thumbs up.

MrLister 10-31-2001 02:03 PM

this hack is awsome.. really good... i isntalled it the first day it came out!

eva2000 10-31-2001 02:09 PM

Quote:

Originally posted by MrLister
this hack is awsome.. really good... i isntalled it the first day it came out!
might give it a whirl after 2.2.0 comes out :D

Bane 10-31-2001 02:13 PM

Quote:

Originally posted by eva2000
might give it a whirl after 2.2.0 comes out :D

Weeeeeeeeeee! LOL, ask FireFly what I said about the two boards I had in mind running vbStats when I relesed it Eva :p Now to work on breaking him down :p

dxb 10-31-2001 10:56 PM

I just installed v2.2.0 and the stats system seems to be working fine :) the only thing that I noticed is the referal option but i didnt try the to re-install the hack or even upgrade it

and Bane I think making the hack compatibale with v2.2.0 is an easy job for you ;)

Bane 10-31-2001 11:07 PM

I'm going to work some new features into the new release. There will likely be an upgrade script this time though :p Thanks for the heads up DXB. Hopefully everyone will still be interested when the next version is around :)

orca 11-01-2001 11:11 AM

Yep, works fine with 2.2.0. However, I have some troubles with the templates. They aren't "default" anymore. This means I have to redo them for every template set. Well, of course, I could do it through a query but I'm not so sure how to do it...

[edit]
Just ran the install file again selecting upgrade and everything's fine now again. Also the referals work. BTW, it's no hard work to integrate it to the new admin panel. Only the link to the stats file doesn't work anymore.
[/edit]

jminiman 11-02-2001 12:57 AM

Hi,

I'm looking in the new vbStats applet in Admin CP, and I see no where that I can plug in "excluded URLs." I only see " Excluded Forums."

Where do I specify the excluded URLs?

Bane 11-02-2001 01:22 AM

Simply point your browser to your vb admin directory address and run the file vbstats_set.php?action=add

|DarkManX| 11-02-2001 01:27 AM

what are the correct changes that need to be made in admin/index.php

all my links are dead except for the exclude URL......the vbstats options don't work, and the view stats link doesn't work either...

thanks

Dakota 11-02-2001 02:13 AM

Ok, I just installed this hack this morning, and I am still using vB2.0.1. Is there anyway that you could set it to only log each user once because it is counting everytime a user refreshes on my site, and the numbers are outrageously high.

www.bidforpower.com/forum/vbstats.php

DarkReaper 11-02-2001 02:50 AM

Why don't you re-add the link to showmods, since its official in 2.2.0 :)

SWFans.net 11-02-2001 03:25 AM

I would like to be able to add the <!-- Todays Stats --> section to my Forum Index page under the link I have to the statistics. I already tried it once, but it looks like I need to make a few modifications to be able to actually display the numbers. Anyone know what I need to modify?

This is a great hack and I love it BTW. Thanks for providing it. :)

Dakota 11-02-2001 01:58 PM

You should just need to edit your forum home directory and make sure you get all the variables in there.

SWFans.net 11-02-2001 02:16 PM

I have included these variables on the Forum Index, but they display null.

$threadstoday
$poststoday
$todayviews

EDIT: With a little relocation of intialization sections to global.php, I was able to get two out of the three variables working. $todayviews is giving me a little trouble though, but is no sweat.

orca 11-02-2001 02:49 PM

Quote:

Originally posted by |DarkManX|
what are the correct changes that need to be made in admin/index.php


all my links are dead except for the exclude URL......the vbstats options don't work, and the view stats link doesn't work either...


thanks

Find
PHP Code:

makenavselect("Import & Maintenance"); 

After that add:
PHP Code:

// ***
makenavoption("vBStats Config","vbstats_set.php?action=","<br>");
makenavoption("Exclude vbStats URL","vbstats_set.php?action=add");
makenavselect("vbStats");
// *** 

I didn't find out how I get the link to vbstats.php to work. Any ideas are welcome.

Baratator 11-03-2001 10:29 AM

going to try installing it, but the installation seems to be VERY EASY.... but as i am a real newbie, everything could happens lol

thx GREAT work (i realy love the language file as i have a french board... nice idea save a lot of time :) )

centris 11-03-2001 05:08 PM

Thanks Bane, a great hack, installed it today on 2.2.0 with a little messing with the changed code and it runs great. Also included a link for my members to appreciate your work, again thanks.



visit my forum @
http://www.caddis.co.uk/forum/index.php

jucs 11-03-2001 09:14 PM

ANyone have the statistics graphic button in normal VB purple and what template do you add it to?

Thanks.

centris 11-03-2001 09:49 PM

Quote:

Originally posted by jucs
ANyone have the statistics graphic button in normal VB purple and what template do you add it to?

Thanks.

I did it this way:

Go to your Admin CP, styles, Modify, and look for the Header Template; I placed mine here like this, just under toplinks.

<!-- toplinks -->
<a href="http://www.yoursite.com/forum/vbstats.php"><img src="vbimages/stats.gif" alt="View the forum statistics here" border="0"></a>

Place the stats.gif in your images folder and ensure the above path to vbstats.php is correct.

The above path should be imagesfolder NOT vbimages/stats and don't forget the { just look at the others on the template you will get the idea.

Hope this helps, by the way here is a purple statistics button ENJOY

centris 11-03-2001 11:34 PM

My countries total is updating every time I hit refresh. I excluded by domain i.e. caddis.co.uk and looking at my database using phpMyAdmin the data HAS been inserted ok. Using 2.2.0 any suggestions, I may have put something in the wrong place looking at the new code in the index.php file?

Bane 11-03-2001 11:47 PM

Centris: At the moment the only option is for total hits (not unique) so it is counting every page view. I hope to get unique counts in on the next version.

centris 11-04-2001 12:01 AM

Thanks for the quick reply Bane, thats ok, thought it was summit I did wrong, awsome hack - thanks.

SharkY-GA 11-04-2001 06:37 AM

<a href="http://forums.gamingalliance.org/vbstats.php" target="_blank">http://forums.gamingalliance.org/vbstats.php</a> ...
Any idea why I am getting those errors?


All times are GMT. The time now is 02:00 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
  • Page Generation 0.02145 seconds
  • Memory Usage 1,831KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete