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)

Doc203 11-21-2002 04:08 AM

Sorry I have been reading till my head hurts can you tell me what these errors are.

("_TOPCOUNTRYERROR","No country information has been logged."); ?> ?>
Warning: Division by zero in /usr/local/plesk/apache/vhosts/searchforautoparts.com/httpdocs/vbstats.php on line 159

Warning: Division by zero in /usr/local/plesk/apache/vhosts/searchforautoparts.com/httpdocs/vbstats.php on line 165

Warning: Division by zero in /usr/local/plesk/apache/vhosts/searchforautoparts.com/httpdocs/vbstats.php on line 162

Warning: Division by zero in /usr/local/plesk/apache/vhosts/searchforautoparts.com/httpdocs/vbstats.php on line 186

Warning: Division by zero in /usr/local/plesk/apache/vhosts/searchforautoparts.com/httpdocs/vbstats.php on line 148

Warning: Division by zero in /usr/local/plesk/apache/vhosts/searchforautoparts.com/httpdocs/vbstats.php on line 139

Warning: Division by zero in /usr/local/plesk/apache/vhosts/searchforautoparts.com/httpdocs/vbstats.php on line 145

Warning: Division by zero in /usr/local/plesk/apache/vhosts/searchforautoparts.com/httpdocs/vbstats.php on line 142

Warning: Division by zero in /usr/local/plesk/apache/vhosts/searchforautoparts.com/httpdocs/vbstats.php on line 136

Warning: Division by zero in /usr/local/plesk/apache/vhosts/searchforautoparts.com/httpdocs/vbstats.php on line 151

Warning: Division by zero in /usr/local/plesk/apache/vhosts/searchforautoparts.com/httpdocs/vbstats.php on line 154

Dark_Wizard 11-21-2002 11:20 AM

Doc203 >> you forgot to add this include("vbs_counter.php"); to your phpinclude template!

iblis 11-23-2002 11:17 AM

I'm really sorry, I just had to make this little tweak, because it annoyed me :)
Don't shoot me if it allready have been adressed..

When adding the vbstats to admin/index.php you don't have much coice on where to insert it, it has to be the top or the bottom, or you get a parse error (at least I do). And frankly, I don't like when hacks mess up my menuorder.. I want it pretty much default, so I won't get to confused ;)

Anyways.. here is what I came up with when trying to customize it.
This will allow you to descide for yourself where to put the vbstats-menu in theadmin CP-menu.

If you allready have the vbstats menu installed in admin Cp,. do the following.. else skip this step
Find and erase following in admin/index.php
Quote:

<!-- vbStats -->
<tr><td><hr></td></tr>

<tr><td>
<table width="100%" border="0" cellspacing="0" cellpadding="2" id="navtable">
<?php maketableheader("vbStats"); ?>
</table>
<a href="vbstats_set.php"> vbStats Config </a><br>
<a href="../vbstats.php"> View Public Statistics </a><br>
<a href="vbstats_set.php?action=add"> Exclude vbStats URL </a><br>
</td></tr>
<!-- vbStats -->
now, find
Quote:

makenavselect("Announcements");
// ***
and below, add
Quote:

// HACK VBSTATS
makenavoption("vbStats Config","vbstats_set.php?action=edit","<br>");
makenavoption("View Publis Stats","../vbstats.php?action=stats","<br>");
makenavoption("Exclude vbStats URL","vbstats_set.php?action=add");
makenavselect("vbStats");
// HACK VBSTATS
// ***
this will add the vbstats menu below the announcements.
if you want to position it somewhere else, you can move it to somewhere else on the list, just make sure you insert the code after a "// ***"


Sorry if this "edit" has allready been mentioned or something.. just a little gadget I found useful

e3ashig 11-27-2002 12:15 PM

There are way too many pages to read in here...
Is anyone here kind enough to answr this question.. does this hack work on version 2.2.9 of vBuliten.?
and if so, do i download the file that is in the first post of this thread or is it somewhere else?

Domenico 12-02-2002 04:32 PM

I have this hack installed and it works fine until I made a new template and made it default.

When I go to /vbstats.php all I get is a blank screen.
What is wrong here?

Thanks!

Ninth Dimension 12-02-2002 05:47 PM

when you said you make a new template, do you mean you make a new template set? if so, this page is not working because you don't have the templates that it needs to run.

My recomendation is that you download, and then upload your current template set when making new ones, this wil ensure that you don't miss any of the templates needed.

Domenico 12-02-2002 10:39 PM

So what is next? Should I reinstall it (removing the part that makes the tables)?

Ninth Dimension 12-03-2002 04:57 AM

To be honest with you, the best thing to do is download/upload the old template-set that you was using before (not deleting the new one). Then you should get all the changes you made in the new template you made before and apply them to the freshly uploaded template.

Mind you, if this is the only hack that you have applied to the forum, you might be able to get away with just installing the templates that this hack uses.

I hope that makes sense?

Akujin 12-03-2002 06:22 AM

Right... I'm getting this error:

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /usr/local/plesk/apache/vhosts/vertical12.net/httpdocs/forum/vbstats.php on line 283

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /usr/local/plesk/apache/vhosts/vertical12.net/httpdocs/forum/vbstats.php on line 284

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /usr/local/plesk/apache/vhosts/vertical12.net/httpdocs/forum/vbstats.php on line 285

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /usr/local/plesk/apache/vhosts/vertical12.net/httpdocs/forum/vbstats.php on line 287

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /usr/local/plesk/apache/vhosts/vertical12.net/httpdocs/forum/vbstats.php on line 288
Table 'lparker.nuke_links_links' doesn't exist

And I installed it correctly. No clue what the problem is though..

Xer 12-03-2002 04:06 PM

fully working on 2.2.9...
thx~ :mad:


All times are GMT. The time now is 03:45 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.02360 seconds
  • Memory Usage 1,747KB
  • 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_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