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 01-31-2002 02:18 PM

DM, Im going to try to repair the country detection as soon as I am able (time willing) perhaps the queen could hand down a edict of some sort should the miracle pass and I get time to do anything. :( I will *try* to look at it in the next day or so, as well as at least upgrading the instructions for 2.2.2 ...

Gutspiller 02-01-2002 08:14 PM

There is something wrong with the top posters in this hack. Here is the top posters ever for my site using this hack:

http://www.theforumz.com/forumz/vbst...ion=topposters

Now here is the top posters that is just part of 2.0.3:

http://www.theforumz.com/forumz/memb...ers&perpage=15

Why isn't your hack doing it right? :confused:

Also, how do I change the default font for this hack to something different?

I would really like to show the top posters for the Last 24 Hours on the front page. Is there a varaible that gets that info?

On the Members Referred page, I would like the reffered names small and aligned to the left, not centered. (Please help me with this one as it is really annoying)

Also I have another hack installed that in the regular whos online it puts the letters PM behind their name and allows you to PM that person that way. On your hack when it shows the people online, on the first person farthest to the left it shows a PM behind their name, but nobody else. What gives? :(

If you could help me with these problems, I would really really REALLY appreciate it. I love the hack so far, but I am having troubles customizing it and if somebody could help me I would greatly appreciate it.

Thanks. :(

Bane 02-01-2002 10:31 PM

Gutspiller, most of your customization can be done through the vbstats templates, just like every other part of vb. As far as the top posters, Im aware of the problem, just havent hit on a solution.

Gutspiller 02-02-2002 05:58 PM

Quote:

Originally posted by Bane
Gutspiller, most of your customization can be done through the vbstats templates, just like every other part of vb. As far as the top posters, Im aware of the problem, just havent hit on a solution.
Maybe it's the way it executes the vbstats then, because I did a search for "Members Referred" Which should of taken me to about where I wanted to be, and yet I searched every new template, and all the php files I modified and couldn't find it. Did I miss it or do I need to search for something else in other files? :confused:

Lionel 02-10-2002 11:14 PM

I have been enjoying vbstats from day one. Yesterday I placed the following important code in my php include

ob_start();
require("/var/www/aboutus/textads/textad.php");
$textads = ob_get_contents();
ob_end_clean();

and vbstats stopped working with the following error:

Warning: Supplied argument is not a valid MySQL result resource in /var/www/haitianforums/vbstats.php on line 555
No Database Selected

The code that I placed is very useful and I need them both.

Any idea why this will conflict with vbstats? Once I remove it, vbstats works.

My entire php include looks like this:

include("vbs_counter.php");

// start - get online users (hack by firefly)
$datecut=time()-$cookietimeout;
$headerguests=$DB_site->query_first("SELECT COUNT(*) AS count FROM session WHERE userid=0 AND lastactivity>$datecut");
$headerusers=$DB_site->query_first("SELECT COUNT(DISTINCT(userid)) AS count FROM session WHERE session.userid>0 AND session.lastactivity>$datecut");
$headerguests=$headerguests[count];
$headerusers=$headerusers[count];
$headeronline=$headerguests+$headerusers;
// end - get online users (hack by firefly)

ob_start();
require("/var/www/aboutus/textads/textad.php");
$textads = ob_get_contents();
ob_end_clean();

FWC 02-11-2002 12:58 AM

Have you tried changing the order around? Put the vBStats include last and see what happens.

Lionel 02-11-2002 01:01 AM

I tried reversing the order.

lifesourcerec 02-11-2002 06:25 AM

Quote:

Originally posted by Bane

I have opted not to modify any VB php files, so how do I add these domains to the exclude list?

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


What are excluded domains anyhow?

Excluded domains are domains that are not counted as referrers. They wont show up in your referrer list or on the link queue.

I added my URL to the exclude list and it said updated, yet the stats still include my URL.

FWC 02-11-2002 06:30 AM

Quote:

Originally posted by lifesourcerec


I added my URL to the exclude list and it said updated, yet the stats still include my URL.

Your URL is already entered in the referrers table. You need to delete the entry with phpMyAdmin (or use a mySQL query if you don't have it).

lifesourcerec 02-11-2002 06:39 AM

Quote:

Originally posted by FWC
Your URL is already entered in the referrers table. You need to delete the entry with phpMyAdmin (or use a mySQL query if you don't have it).
Ok, I removed it from the referrer table and left it in the excluded list. Thanks :) Now, I'm feeling better everyday on the $160 I spent for vBulletin.


All times are GMT. The time now is 07:09 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.02172 seconds
  • Memory Usage 1,746KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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