vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Statistics Modifications - Cyb - Advanced Forum Statistics (https://vborg.vbsupport.ru/showthread.php?t=201274)

And3h 03-15-2009 03:33 PM

Great mods Cyb, however is there any plans to make AFS work on all domain variations? It appears that AFS only works on the domain you have set in "Site Name / URL / Contact Details".

E.G: In my "Site Name / URL / Contact Details" I have it set to http://www.domain.com which means on http://domain.com AFS only shows Loading...

Cheers.

Dave-M 03-15-2009 11:56 PM

Quote:

Originally Posted by Dave-M (Post 1762721)
Hi Cyb,

Thanks for this great mod! :)

I had the previous versions installed on my 3.7.4 vbulletin and I had customised it slightly - I want to have three simple columns.

My news posts on the left.
Reviews in the centre column (thats my classifieds, I changed the phrase thats all).
Latest posts on the right.

User stats are showing up whatever I do - I want to get rid of user stats completely, but I can't seem to do that with this new version. I also want to get rid of the numbering (1-10 etc).

Any ideas please? :)

Thanks.

Dave

Any ideas on this please? :up:

quarum 03-16-2009 02:33 AM

Quote:

Originally Posted by quarum (Post 1767577)
I have tried installing this on my local test site - any thoughts what might cause the issue below?

And before you ask - it even does it with the default vb skin.

https://vborg.vbsupport.ru/

Any thoughts on this?

MrAbc 03-16-2009 09:55 AM

Hi,

How to disable this mod for guests?

testbot 03-16-2009 02:13 PM

Quote:

Originally Posted by Cybernetec (Post 1767717)
testbot,

It works for me with your cforumstats.php:
Code:

<?php

// ####################### SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);

// #################### DEFINE IMPORTANT CONSTANTS #######################
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'cforumstats'); // change this depending on your filename

// ################### PRE-CACHE TEMPLATES AND DATA ######################
// get special phrase groups
$phrasegroups = array(

);

// get special data templates from the datastore
$specialtemplates = array(

);

// pre-cache templates used by all actions
$globaltemplates = array(
    'cforumstats',
);

// pre-cache templates used by specific actions
$actiontemplates = array(

);

// ######################### REQUIRE BACK-END ############################
chdir('/home/***/public_html/community');
require_once('./global.php');

// #######################################################################
// ######################## START MAIN SCRIPT ############################
// #######################################################################

$navbits = array();
//$navbits[$parent] = 'cforumstats';

//$navbits = construct_navbits($navbits);
//eval('$navbar = "' . fetch_template('navbar') . '";');
eval('print_output("' . fetch_template('cforumstats') . '");');

?>

and "cforumstats" template:
Code:

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]" style="background-image:none;padding:0px;margin:0px;background-color:none;">
<head>
<title></title>
$headinclude
</head>
<body style="background-image:none;padding:0px;margin:0px;background-color:#000000;">
<div style="width:100%;background-color:none;">
$cybtopstats
</div>
</body>
</html>

I've just removed this line from php:
Code:

chdir('/home/***/public_html/community');
and added "cforumstats" to "Stats on Custom Pages" setting field (product options page).

cforumstats.php was in main forum dir, and I had black page with AFS loaded with no problems.

yes, it loads fine when going directly to that page but if i move cforumstats.php outside of the forum directory it doesn't work. i keep getting the PHP Fatal error: Call to a member function query_first_slave() on a non-object in /home/***/public_html/community/includes/functions.php on line 1368

DannyC55 03-17-2009 10:19 PM

Bug?

I added Vba CMPS to my forum and now the stats do not load....

testbot 03-18-2009 02:20 PM

for the people that are having problems with loading i think it might have to do with ajax and javascript. not sure how you have that setup in vboptions

ctimes 03-18-2009 03:01 PM

The version for 3.7 is much much better IMO, always loads right and has a cleaner layout.

Only issue I am having running it on 3.8 is that when I put to list Top 5 new threads it lists 10 which is fine but I would like to make it so it says Top 10 instead of Top 5.. any ideas?

StormLily 03-18-2009 06:36 PM

For some reason it's not showing up in my forum at all. I've enabled it and everything and yet, nothing. :/

veenuisthebest 03-18-2009 07:33 PM

cyb, I and many others are madly in love with the older version of this mod. I request from the core of my heart to pleasee optimize the 5.8.1 version.


All times are GMT. The time now is 02:44 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.06475 seconds
  • Memory Usage 1,748KB
  • 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_code_printable
  • (3)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