vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Forum Home Enhancements - Site Life Status (https://vborg.vbsupport.ru/showthread.php?t=174416)

Boofo 04-20-2008 12:44 AM

What do you mean by 'reset'? Since the page count is read from the file only, it has no way to remember any count to be reset to other than what is written to the file. Mine is working flawlessly, and has been since I installed it. You can try taking the following line out of the code in the forumhome_complete hook to see it that helps:

Code:


$hits[0] = (float) $hits[0];


Since you guys are using such ridiculously large numbers, that might be the reason it is acting up on you.

Bounce 04-20-2008 02:23 PM

Quote:

Originally Posted by Boofo (Post 1494847)
Since you guys are using such ridiculously large numbers, that might be the reason it is acting up on you.

Why??

Won't number's of hits ever get that high, if we got say 3,000 hits a week (some site's i'd say get far more than that) over 52 weeks and 5 years thats a high number :rolleyes:

MissKalunji 04-20-2008 02:49 PM

uhm ima have to check if mine does the same i did wonder why it was staying at 37,xxx for the past week

Boofo 04-20-2008 03:48 PM

Quote:

Originally Posted by MissKalunji (Post 1495214)
uhm ima have to check if mine does the same i did wonder why it was staying at 37,xxx for the past week

Maybe it's been a slow week?

princeedward 04-20-2008 04:34 PM

Quote:

Originally Posted by Boofo (Post 1494847)
What do you mean by 'reset'? Since the page count is read from the file only, it has no way to remember any count to be reset to other than what is written to the file. Mine is working flawlessly, and has been since I installed it. You can try taking the following line out of the code in the forumhome_complete hook to see it that helps:
Code:


$hits[0] = (float) $hits[0];

Since you guys are using such ridiculously large numbers, that might be the reason it is acting up on you.

i'm watching or observing it the whole day...i guess the "TRICK" work or hope it will go on now without problem...i did edit also that thing into higher numbers...just to look more better than a forum that just been started...with a low numbers of visitors...:p
but as i said...i guess...it stay now to what i expected...thanks once again Bro Boofo

best regards

;)

Boofo 04-20-2008 04:51 PM

Keep me posted on whether the fix works for you. ;)

Bounce 04-20-2008 06:10 PM

I've took out the code as well and so far all is well

Code:

$hits[0] = (float) $hits[0];

MissKalunji 04-20-2008 11:51 PM

Quote:

Originally Posted by Boofo (Post 1495238)
Maybe it's been a slow week?

Thats' why i said ill have to keep a close eye on it

fukdawrld 04-21-2008 01:47 AM

PHP Code:

Warningfputs(): supplied argument is not a valid stream resource in [path]/index.php(552) : eval()'d code on line 251

Warning: fclose(): supplied argument is not a valid stream resource in [path]/index.php(552) : eval()'
d code on line 252 

now everything is chmod 777 and also script is uploaded.. and my test forum is not open this is what i get @ the top


dam i am so dumb thanx any way

Boofo 04-21-2008 02:03 AM

Quote:

Originally Posted by fukdawrld (Post 1495497)
PHP Code:

Warningfputs(): supplied argument is not a valid stream resource in [path]/index.php(552) : eval()'d code on line 251
 
Warning: fclose(): supplied argument is not a valid stream resource in [path]/index.php(552) : eval()'
d code on line 252 

now everything is chmod 777 and also script is uploaded.. and my test forum is not open this is what i get @ the top


dam i am so dumb thanx any way

It looks like the path to the txt file is wrong or missing.


All times are GMT. The time now is 06:10 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.01413 seconds
  • Memory Usage 1,747KB
  • 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
  • (2)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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