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)

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


All times are GMT. The time now is 12:58 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.01934 seconds
  • Memory Usage 1,750KB
  • 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_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