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)

SecurityDog 03-12-2009 07:26 PM

I use the newest version of vbb and this mod.
I have the loading bug and if somebody go on my root page www.xxx.de with the internet explorer, there is an error, that the page cant get loading :(

Markos 03-12-2009 07:54 PM

i use this on 3.8.1 PL1 and i have no trouble with it :S

Valter 03-12-2009 08:10 PM

testbot,

I'm not sure why you need "cforumstats.php" anyway?

Why not use FORUM/misc.php?do=cybstats ?

BoostMighty 03-12-2009 11:21 PM

Quote:

Originally Posted by YeMojuD (Post 1754400)
Hi,
That's nice MOD, I Upgrade my Forum to 3.8.1, then install Cyb - Advanced Forum Statistics v6.5, but it don't show????

This pic my Error:

http://yemojud.info/3.png

Yep, having the same problem on my forums as well. Pretty damn frustrating, was hoping a fix had come along already but I guess not. :(

I've even tried uninstalling / reinstalling the hack to no avail.

Cyb - Any input on why it's not working?

ctimes 03-13-2009 01:10 AM

My IE7 users seem to be having the 'loading' issue and some are saying it does not load the first time but if they refresh it will load.. Not all IE users but most as far as I can tell.

Uninstalling until these issues are resolved

testbot 03-13-2009 12:18 PM

Quote:

Originally Posted by Cybernetec (Post 1766735)
testbot,

I'm not sure why you need "cforumstats.php" anyway?

Why not use FORUM/misc.php?do=cybstats ?

First, thank you for replying! :D

we have FORUM/misc.php?do=cybstats set to show Top 20 so it fills the entire page. We want to show a Top 5 stats like on the forum index on our main site.

i'll pay you for your help. i really want this bad. i love the way your stats look and it would look great on our home page. :)

Markus79 03-13-2009 04:16 PM

Hi

This is a very nice mod. Thank you.

I have a short question.
How can i remove the Auto-refresh interval and loading display?

Greetz
Markus

quarum 03-14-2009 01:44 AM

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/

Valter 03-14-2009 08:56 AM

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.

DieselMinded 03-14-2009 10:13 AM

how do i remove the numbering from the latest group posts and how do i remove the post counts from the newest members

thanks

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.

Lautaro 03-19-2009 04:40 PM

Is there any way to make this modification show on my forum vbAdvanced portal?

jmurrayhead 03-20-2009 04:35 PM

Currently, if a user has been idle on the page, this thing still tries to fetch the latest data. There should be some sort of timeout that can be set..maybe 5 minutes of user inactivity until they refresh the page or click the statistics 'Refresh' link. As it is now, this thing somehow is keeping user sessions alive if a user leaves the page open for the night and eventually goes on the fritz (the auto refresh constantly blinks and messes up IE for some reason).

ptmuldoon 03-21-2009 02:26 AM

Hi:

I'm wondering/hoping that it is possibly to also show this information in a non-vb page on my site. Has anyone does this, and if you so, can you share your steps?

PHP Code:

chdir("./forum/");

require(
'./global.php');  

// From Info.txt --->  b) add "$cybtopstats" to the template called on page where you wish to have stats shown

// Can be added to a non-vb page? 


ctimes 03-21-2009 08:01 AM

I was running this AJAX version but had issues and just enjoy the overall look and options of 5.8.1 better. My only issue is that I selected 5 'top' stats but it shows 10 which is fine by me but the header still says 'Top 5 Stats' how would I change the 5 to a 10? I searched the phrases and was unable to find it.

elmark 03-21-2009 08:24 PM

Work very slovley in my forum

testbot 03-22-2009 11:32 AM

Quote:

Originally Posted by ptmuldoon (Post 1773086)
Hi:

I'm wondering/hoping that it is possibly to also show this information in a non-vb page on my site. Has anyone does this, and if you so, can you share your steps?

PHP Code:

chdir("./forum/");

require(
'./global.php');  

// From Info.txt --->  b) add "$cybtopstats" to the template called on page where you wish to have stats shown

// Can be added to a non-vb page? 


i have successfully achieved this. although, if you're trying to add it to a cms or something we haven't gotten past that. i believe the cms is is forcing it to be a nested function.

if you just need to add it to a single page outside of the form and not in a cms i can help you with that.

ptmuldoon 03-22-2009 04:09 PM

Thanks testbot.

Yeah, I'm trying to add to add/create a block for use in MkPortal. I think it should be possible, as its a CMS that relys on vbulletin (and other forums) for its use. I've created the block, and can view the block fine directly.

But then trying to add/view the block on the portal just doesn't show it.

This my code, and it echo's the information fine. But mkportal requires the $content variable to view block info. I'm going to look into other ways of echo'ing the data and see what works. I'm not sure if using eval may work or not. I'm not a expert at php, but can find my way with various help/searches.

PHP Code:

define('THIS_SCRIPT''cybtopstats');

$cwd getcwd();
chdir("../../forum/");  //Path from Mkportal blocks
//chdir("./forum/");    //Path from mkportal index
require_once('global.php');

$content "";
$content .= "<tr><td>This is the content of the test block</td></tr>";

echo 
$cybtopstats;
$content .= "<tr><td>$cybtopstats</td></tr>";  //Should show it, but does not
chdir($cwd); 

Perhaps this should be taken to a new topic as well?

Crystal Shards 03-22-2009 05:06 PM

It's not loading anything...

beckyvan 03-23-2009 01:24 PM

My stats will not load either. Also, I've never understood where you enter the text for your news. I will have to disable until because of the no loading. :(

weexto 03-23-2009 07:24 PM

1 Attachment(s)
I have got 2 problems
1)
why I have got this message error ?

Details of the error on the webpage

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)
Timestamp: Sun, 22 Mar 2009 21:09:28 UTC


Message: Access is denied.

Line: 7
Character: 2925
Code: 0
URI: http://......./clientscript/yui/conn...n-min.js?v=381



2) Loading is very often in the table (attachment)

What should I do to get it work
thank you for your help

Agdez.com 03-23-2009 08:44 PM

very nice
Installed

Gnappy 03-23-2009 09:34 PM

1 Attachment(s)
Stunned on loading :(

Hope you can help me to fix this because this mod is one of the best mod ever!

stardotstar 03-23-2009 09:55 PM

1 Attachment(s)
I have members experiencing and I can confirm a problem where the chatbox displays but only states "Loading..." - this is only with MSIE and has only just started in the last day or so. The other reported problem that occured at the same time is Post Quick Reply - just sits there spinning... Never posts - but go advanced and other posting works fine.
I have the error in MSIE from the bottom left - the <!> which says Error on Page:

see the attached pic.

Having seen the other reports I wonder if this is a MS update induced issue??

The stats panel is EXACTLY the same as posted buy gnappy above.

Crystal Shards 03-23-2009 10:23 PM

Quote:

Originally Posted by beckyvan (Post 1774987)
My stats will not load either. Also, I've never understood where you enter the text for your news. I will have to disable until because of the no loading. :(

If you're talking about where news is displayed, I'm pretty sure that's for like, news forums, so you'd enter the id or whatever for the forum where you post your announcements and that's what would show up.

And stardotstar, I have the problem in Firefox, so I doubt it's a Microsoft thing (unless MSIE does not mean Microsoft Internet Explorer, in which case, ignore this and carry on).

Makaveli007 03-24-2009 12:00 AM

one of the best mods available, downloaded and installed

Gnappy 03-24-2009 08:52 AM

"Loading problem" fixed by using this version

Virtualshiner 03-24-2009 08:12 PM

Awesome hack.

I have a problem though. Even though I've selected 6 different stats in the settings, only 2 show on the forum home. Is there a way to change this?

stardotstar 03-24-2009 09:29 PM

"Loading..." Problem not fixed for me using 6.4... Problem only manifests in MSIE.
Thanks for the tip - i admit I didn't wade through the entire topic.

ptmuldoon 03-25-2009 01:47 PM

Can someone maybe explain where some of the template variables come from? For example I see in the cyb_topstats_new posts the following code. How can you determine what the $vboptions[cybtopstats_lastpost_linking] is set to?:
Code:

<if condition="$vboptions[cybtopstats_lastpost_linking]=='1'">
        CODE HERE
</if>

<if condition="$vboptions[cybtopstats_lastpost_linking]=='2'">
        CODE HERE
</if>


belal_najjar 03-27-2009 03:31 PM

heyy,

when u press on top x posts there are 2 options
1st one is to show u more
2nd is to stop the product
so if i clicked stop how can i reactivate it again?


All times are GMT. The time now is 03:07 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.02347 seconds
  • Memory Usage 1,851KB
  • 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
  • (7)bbcode_code_printable
  • (3)bbcode_php_printable
  • (7)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
  • (40)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