vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vB3 Boardstatistic Version 2 (https://vborg.vbsupport.ru/showthread.php?t=66783)

Onkel_Tom 10-30-2004 11:42 PM

@ Punktek.com
Your forum installation is not in a /forum directory !
Please check if you have enaugh rights to execute script in your wwwroot dir.
Also all scripts should habe read and execute rights for al (chmod 755)

Zain Jaffer 11-01-2004 09:41 AM

I don't mean to sound stupid here ,,, but ...

Additional step 1
================================================== =============
Addition for showing Statistics only for Admins and Moderators
================================================== =============

open statistik.php and find:
=============================

// ######################### CHECK PERMISSIONS ###########################
// uncomment the following 4 lines if you want provide statistics only for Admins and Moderators
// if (!($permissions['adminpermissions'] & CANCONTROLPANEL) AND !can_moderate())
// {
// print_no_permission();
// }

================================================== =================
uncomment the lines as written in the code above to look like:
================================================== =================

// ######################### CHECK PERMISSIONS ###########################
// uncomment the following 4 lines if you want provide statistics only for Admins and Moderators
if (!($permissions['adminpermissions'] & CANCONTROLPANEL) AND !can_moderate())
{
print_no_permission();
}

I don't understand step 1, what do you mean by uncomment?!

hdraye 11-01-2004 10:32 PM

Hi Z\in
Just remove the "//" in the begining of line so they are commands not coments

bendigo-tech 11-02-2004 09:25 AM

Fantastic hack.

Have it installed and working great on 3.0.3 :)

Cheers!

nineball 11-02-2004 12:12 PM

Quote:

Originally Posted by Hialls
any chance of converting the arcade addon to work with the new arcade system? ibproarcade.

I found that changing all references to gamesessions to gamesession seems to work ok

TruthElixirX 11-03-2004 11:18 PM

I fixed my previous error, now one problem. How do I add a link into the nav bar? For everyone to see.

Mirlyn 11-05-2004 05:59 AM

I get an error message on the first visit to my site:

Fatal error: Failed opening required './includes/functions_statistik.php' (include_path='.:/usr/share/pear') in /home/playit/www/forum/statistik_counter.php on line 190

Removing it from phpinclude_start will get rid of the problem.

It only happens once, and a refresh will fix it for the duration of the visit. Any ideas?

Mark.B 11-05-2004 08:55 AM

It's worth noting that the Arcade add on is 816 queries.

Yes, 816.

It's not recommended for people on shared hosting to be making that page public, not unless you want a nasty email from your hosts.

Mr Peabody 11-05-2004 10:57 PM

Only thing that dosent seem to work right is visitors from Hong Kong show up as unknown.
I would be great to be able to assign which usergroups can view stats

GenSec 11-07-2004 02:50 AM

Quote:

Originally Posted by Jolten
48 queries.. ugh... okay only superadmins will get this.

I worked a little with main page part of statistik.php and now it's only 27 queries :squareeyed:

I attached my version of this part here.

It also needs to change STATISTIC template to correspond:

$postername1 to $postername[1]
$posterid1 to $posterid[1]
$poster_beitragszahl1 to $poster_beitragszahl[1]

$postername2 to $postername[2] etc.
.................................


All times are GMT. The time now is 01:05 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.01609 seconds
  • Memory Usage 1,738KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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