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)

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


All times are GMT. The time now is 10:39 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.01955 seconds
  • Memory Usage 1,745KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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