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)

lifesourcerec 03-11-2002 07:00 AM

I'm having trouble adding it to Admin CP. Can't find the code it asks for when installing it.

FWC 03-11-2002 07:08 AM

Quote:

Originally posted by lifesourcerec
I'm having trouble adding it to Admin CP. Can't find the code it asks for when installing it.
Find:
PHP Code:

makenavselect("Statistics & Logs",$df);
//*** 

Place the following right underneath it:
PHP Code:

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


lifesourcerec 03-11-2002 07:20 AM

Thanks a million :)

Xelation 03-11-2002 11:50 PM

Has this been tested on 2.2.4?

Xelation 03-11-2002 11:59 PM

well, I was testing it out on 2.2.4 and in the admin/index.php I cant find this...


PHP Code:

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

any help?

Recon_Boy 03-12-2002 12:18 AM

Well it works with my board on 2.2.4, but I upgraded...

Recon_Boy 03-12-2002 12:20 AM

Is this the part where it asks you to add the options on the left of the admin control panel? If so, you can pretty much stick that anywhere in the existing 'menu' list imho...dunno for sure tho

Xelation 03-12-2002 12:20 AM

can I see your admin/index.php file so I know where to put it?

Recon_Boy 03-12-2002 12:26 AM

I put mine right at the top:

PHP Code:

<center><a href="index.php?s=<?php echo $session[sessionhash]; ?>&action=home"> Control Panel Home </a></center>
<table width="100%" border="0" cellspacing="0" cellpadding="<?php echo iif($cpnavjs,2,5); ?>" id="navtable">

<!-- 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 -->

<tr><td><hr></td></tr>
<?php
// *************************************************
makenavoption("vBulletin Options","options.php?t=0","<br>");
if(
$debug==1) {
    
makenavoption("Edit Settings","setting.php?action=modify","<br>");
    
makenavoption("Add Setting","setting.php?action=add","<br>");
    
makenavoption("Add Setting Group","setting.php?action=addgroup");
}
makenavselect("Options","<hr>");
// *************************************************
makenavoption("Add","announcement.php?action=add","|");
makenavoption("Modify","announcement.php?action=modify");
makenavselect("Announcements");
// ***
makenavoption("Add","forum.php?action=add","|");
makenavoption("Modify","forum.php?action=modify","<br>");
makenavoption("Permissions","forumpermission.php?action=modify");
makenavselect("Forums & Moderators");
// ***


Recon_Boy 03-12-2002 12:28 AM

keep in mind, i may have an old version of this hack


All times are GMT. The time now is 07:40 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.02228 seconds
  • Memory Usage 1,755KB
  • 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_php_printable
  • (1)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