PDA

View Full Version : vbstats acp problem


RDX1
04-26-2002, 08:45 PM
i cant find this in admin/index.php at all


<tr><td>
<table width="100%" border="0" cellspacing="0" cellpadding="2" id="navtable">
<?php maketableheader("Stats & Logs"); ?>


Step 1 of 1 find:


<tr><td>
<table width="100%" border="0" cellspacing="0" cellpadding="2" id="navtable">
<?php maketableheader("Stats & Logs"); ?>

<ADD ABOVE>


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

<tr><td>
<table width="100%" border="0" cellspacing="0" cellpadding="2" id="navtable">
<tr class='tblhead'><td colspan='2'><a name=""><font size='1'><b><span class='tblhead'>vbStats</span></b></font></a></td></tr></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 -->



also, i cant find where to exclude my URL at

Xanthine
04-26-2002, 09:12 PM
Are you sure its not just in /index.php?

RDX1
04-26-2002, 09:20 PM
told me its in index.php

Lesane
04-27-2002, 03:14 PM
The file admin/index.php is changed alot in the meantime, search for:

makenavoption("Statistics","stats.php?action=index","<br>");
makenavoption("Admin Log","adminlog.php?action=choose");
makenavselect("Statistics & Logs","<hr>",$df);

And put above it:

makenavoption("vbStats Config","vbstats_set.php","<br>");
makenavoption("View Public Statistics","../vbstats.php","<br>");
makenavoption("Exclude vbStats URL","vbstats_set.php?action=add");
makenavselect("vbStats");

RDX1
04-29-2002, 04:45 AM
thanks :)


but for some reason, whenever i click on something besides the add url for the vbstats, i get a 404

Admin
04-29-2002, 11:10 AM
Use this code:
makenavoption("vbStats Config","vbstats_set.php?","<br>");
makenavoption("View Public Statistics","../vbstats.php?","<br>");
makenavoption("Exclude vbStats URL","vbstats_set.php?action=add");
makenavselect("vbStats");
:)

RDX1
04-29-2002, 09:35 PM
thanks, works like a charm