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)

floleb7 10-20-2001 09:49 AM

Quote:

Originally posted by BigSjedow
Warning: Division by zero in /usr/local/psa/home/vhosts/experienced.nl/httpdocs/VBB/vbstats.php on line 158

Warning: Division by zero in /usr/local/psa/home/vhosts/experienced.nl/httpdocs/VBB/vbstats.php on line 164

Warning: Division by zero in /usr/local/psa/home/vhosts/experienced.nl/httpdocs/VBB/vbstats.php on line 161

Warning: Division by zero in /usr/local/psa/home/vhosts/experienced.nl/httpdocs/VBB/vbstats.php on line 185

Warning: Division by zero in /usr/local/psa/home/vhosts/experienced.nl/httpdocs/VBB/vbstats.php on line 147

Warning: Division by zero in /usr/local/psa/home/vhosts/experienced.nl/httpdocs/VBB/vbstats.php on line 138

Warning: Division by zero in /usr/local/psa/home/vhosts/experienced.nl/httpdocs/VBB/vbstats.php on line 144

Warning: Division by zero in /usr/local/psa/home/vhosts/experienced.nl/httpdocs/VBB/vbstats.php on line 141

Warning: Division by zero in /usr/local/psa/home/vhosts/experienced.nl/httpdocs/VBB/vbstats.php on line 135

Warning: Division by zero in /usr/local/psa/home/vhosts/experienced.nl/httpdocs/VBB/vbstats.php on line 150

Warning: Division by zero in /usr/local/psa/home/vhosts/experienced.nl/httpdocs/VBB/vbstats.php on line 153



still get these


7. Be sure to add this line to your phpinclude template:

include("vbs_counter.php");

floleb7 10-20-2001 09:51 AM

why vbstats don't use style colors ?
if there are 2 or more styles you cannot have perfect color for each

floleb7 10-20-2001 09:52 AM

<a href="http://www.latriade.net/forum/vbstats.php" target="_blank">http://www.latriade.net/forum/vbstats.php</a>

if i use vbstats thru admin pannel there is no prob to see but directly i have allways this.

Silviu 10-20-2001 10:16 AM

I have two questions for you:

a) what is the phpinclude template? where can i find it? what is its name? :)

b) it seems that vbstats is working partially (except "division by zero" part), but after i've performed all changes described in installation script, i've realized that there is no link inserted in forum control panel or somewhere. are there any changes to be performed to see vbstats link directly on forum instead of typing it manually?

Thanks in advance.

amykhar 10-20-2001 12:35 PM

Bane, I hate to be a nudge, but private forums still show up in the top forums list. The code for the query looks the same. I'll poke around a bit and see if I can't figure out the query you want. :)

Amy

pogo 10-20-2001 12:42 PM

<font color="red">Silviu</font> a) The name of the phpinclude template is phpinclude. You will find it in the template part of your CP.

b) Just insert a link die vbstats.php where you want to see it.

Ifrani 10-20-2001 01:48 PM

Quote:

Originally posted by amykhar
Bane, I hate to be a nudge, but private forums still show up in the top forums list. The code for the query looks the same. I'll poke around a bit and see if I can't figure out the query you want. :)

Amy

I hope u find it soon... It isn`t nice to see the private Forums in the statistics...

Lesane 10-20-2001 03:37 PM

aah....a very tight hack man, thnx. The hack runs very good and very well only 1 lil problem:

You have a link by the numbers of staff by Members Stats:
showmods.php?s=

Showmods.php dont exists :(

DarkReaper 10-20-2001 03:42 PM

That's another addition called "Show admin groups"

do a search for it :)

Silviu 10-20-2001 03:52 PM

10x Pogo. :)

Btw, i've added ShowMods and it's working pretty smooth. Bane, great job with this hack.

amykhar 10-20-2001 03:55 PM

Here's a bit of what you want to do to exclude private forums. Find in vbstats.php:

PHP Code:

 $topthreadmax=$incoming[topthreadmax]; 

Insert this right after that:
PHP Code:

  $eaex $DB_site->query_first("SELECT exforum FROM vbstats_options"); 

Then, change the various popular threads and forums queries. example:

PHP Code:

 $topthread3 mysql_query("select * from forum where allowposting<>0  and forumid not in ($eaex[exforum]) order by replycount DESC limit $topthreadmax"); 

This just a rough draft of a fix. I suggest you all wait until Bane updates before fixing this yourself unless you know what you are doing. :)

Amy

Bane 10-20-2001 04:35 PM

Whoops, I slept a bit late today.. let me wake up and look at all the problems a bit.

Bane 10-20-2001 05:15 PM

Amy: I put the old file right back in.. its fixed now.

drumsy: Uninstall works splendid.

WizyWyg: When you extract the zip, it will be pathed. When you go into the directory you unzipped into, take a look into the /admin directory. the install_vbstats.php file should be in there.

Floleb7: Style colors would have been great, I probably should have used only that. But I wanted the numbers configurable seperately. I should mention again however that since vbstats is made for vbulletin, everything is modified by templates. You will find the vbstats templates in the same place as the rest of them, you can change the colors there if you wish.

Silviu: The division by zero error is from having no info, when you include the file in your phpinclude or global.php you will stop getting that error :) and just make a link off your forums to vbstats.php and you should be fine.

Lesane: Thats Kiers showmods.php hack... I guess my way of saying everyone should have it :p

Delhaze: :D Thanks for your button program, hehe, it doesn't work for me, but what an addition to the community!.. I would love once I get this working for everyone in a stable manner to figure out the switches with you to make it work on windows based servers, feel free to grab my ICQ or shoot me an email. I believe this would benefit some others as well.

Thanks to everyone for picking up my slack a bit. The download is updated (again) I'm still working on a better country detection method that doesnt default to .com and such. Once again thanks for being patient with me.

The new color4 and exforum settings can be set in the control panel.

Justice 10-20-2001 07:22 PM

ah, finally the long awaited stats hack.

Is the private forums thing fixed in the install? I'll wait til then before installing...

thanks Bane

dxb 10-20-2001 08:09 PM

first of all thank you very much for this lovely hack Bane

I'm having troble with the memberrefer and I've seen the same problem with Don ->LKSAB on the second page of this hack

http://www.lksab.com/forum/vbstats.p...on=memberrefer

and it dose not seem to be tracking the memberrefer

other than that everything is working fine

Bane 10-20-2001 08:25 PM

Justice: You can exclude forums you dont wish to show by entering the forumid in the control panel. :D

dxb: Do you have the referral system turned on in vbulletin? Check this in options.

dxb 10-20-2001 08:45 PM

yes it was turned off and i turned it on and tried sending email using the refer system but still no change in the memberrefer list

Bane 10-20-2001 08:53 PM

dxb I just registered.. but didnt see the referrer box?

MarkB 10-20-2001 08:57 PM

Quote:

Originally posted by Bane
Justice: You can exclude forums you dont wish to show by entering the forumid in the control panel. :D
I've tried that for categories, which were showing up, but no luck... any ideas?:) Or is it a different tweak?

Still lovin' it! :p

dxb 10-20-2001 09:03 PM

I'm sorry Bane I dont know what you mean ... where your supposed to see the reffere box do you mean the user info page

Bane 10-20-2001 09:15 PM

MarkB: I just tried it on my forum and it works? It excludes any forumid I put in.

dxb: When a user registers, if the referrer system is on it will show a box that says [referrer] where you can put who referred you to the board. I saw no such box?

When you check referrers in your vB Admin panel does it show anything? [Users | Referrals]

dxb 10-20-2001 09:35 PM

Silly me Bane I was trying to register while I'm logged on

anyway the conflict is cleared :) now it's working fine ...

and I love your work :)

thanks

Bane 10-20-2001 10:27 PM

dxb: Glad it's all worked out for you man. :)

Is the new version working fine for everyone?

Delhaze 10-20-2001 10:51 PM

I will be happy to work with you to solve the current Win2K issues. I'm a little busy right now with vbutton online but I will contact you shortly.

Bane 10-20-2001 10:58 PM

Sounds good Del :)

DarkReaper 10-20-2001 11:23 PM

Eh...I'm running Win2k...what are the issues?

amykhar 10-21-2001 12:25 AM

Bane,
The control panel has the place to input excluded forums; however, nothing in the queries for the top threads and posts in vbstats.php checks for those excluded forums.

I patched mine, but I checked your zip again, and it's still not there. My hidden forums show up when I use your vbstats.zip.

Perhaps you haven't got the right vbstats.php in the zip?

Amy

Bane 10-21-2001 12:42 AM

Amy: I just downloaded from the zip on here.. and found the line..

For your forums you dont have on line 463?
Quote:

$topthread3 = mysql_query("select * from forum where allowposting <> 0 $exclude1 order by replycount DESC limit $topthreadmax");
When did you download this zip?

MarkB 10-21-2001 03:41 AM

Hiya

I just double checked mine, even made sure the forum id's were in numerical order, and they're still showing up...

If you look, 'The Hosted' (which is a category) is showing when I don't want it to - could it be because I want forums within it to show?

http://www.ultimatemetal.com/forum/v...ion=topthreads

Bane 10-21-2001 03:45 AM

I notice on the bottom yours still says vbStats 2.01, did you try the new download out? You should just have to reupload the files, but it may fix your problem.

jrwap 10-21-2001 03:51 AM

It says "vbStats 203.1 created by Bane for Talkloud.NET" for me and it is still showing the private forums. I did put the forum id's in the control panel and its still not working.
I don't know much about this, but I know that Overgrow's search engine hack correctly excludes private forums. You may want to look at that code.

Other than that, this is a great hack.

Thanks,

-JRW

Bane 10-21-2001 03:56 AM

erg.. typo for me.. if your hack says 203.1 it will *not* exclude the proper forums. Try the new download and see if you have more success. It is v.203.2

MarkB 10-21-2001 03:58 AM

Quote:

Originally posted by Bane
I notice on the bottom yours still says vbStats 2.01, did you try the new download out? You should just have to reupload the files, but it may fix your problem.
I have 203.1 running (same version??), and thought I'd uploaded the latest one. I'll double check though :)

MarkB 10-21-2001 04:00 AM

Quote:

Originally posted by Bane
erg.. typo for me.. if your hack says 203.1 it will *not* exclude the proper forums. Try the new download and see if you have more success. It is v.203.2
Ach so! Ok, shall double check :) Wee!

jrwap 10-21-2001 04:10 AM

Do I have to do an uninstall and then reinstall? I simply uploaded the 5 files and its still showing private forums as well as threads from private forums. This is for 203.2

Also, is there any reason why forum categories show up? I would think that categories that don't act as forums wouldn't show.

-JRW

Bane 10-21-2001 04:12 AM

I'm gonna go ahead and look at overgrows.. this was working correctly earlier and now is not. :( Give me about an hour.. sorry folks

MarkB 10-21-2001 04:12 AM

I had to uninstall and reinstall for mine to work - but one category I've 'disabled' is still showing :(

But not to matter :) It's a small niggle in an otherwise-excellent hack! :D

jrwap 10-21-2001 04:16 AM

Yeah, I had one private forum removed (was actually the category), but the actual forum still shows up along with the threads from that forum.

I'll check back tomorrow. Thanks for the support !!

-JRW

Bane 10-21-2001 04:22 AM

Quote:

Originally posted by MarkB
I had to uninstall and reinstall for mine to work - but one category I've 'disabled' is still showing :(

But not to matter :) It's a small niggle in an otherwise-excellent hack! :D

Let me get this straight.. lol, yours is working except for one category?

Sukij 10-21-2001 05:44 AM

HI..

Just finish install 203.2. (New install)

1. After click on Staff : xx link, the browser shows

The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:

2. The Exclude Forum is not seem to work. Even I put the Forum ID, it's still show in Forum/Thread page.

Please help.


All times are GMT. The time now is 04:20 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
  • Page Generation 0.02990 seconds
  • Memory Usage 1,830KB
  • 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
  • (3)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