vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Total Time Online Hack v1.0 (https://vborg.vbsupport.ru/showthread.php?t=42864)

g-force2k2 08-29-2002 11:31 PM

aight... for all the ppl that feel cheated... here's a code i devised for ya...no the counter isn't buggy because it uses the joindate :p but here's a little code i whipped up for ppl like you that feel cheated :p regards...

open timeonline.php

find:

PHP Code:

            $daysregs floor((time() - $lead[2]) / 86400); 

replace with:

PHP Code:

        // Time Online Hack Addon (fair time per day?) g-force2k2
        
$fairtime 1030505285;
        if(
$joindate $fairtime) {
          
$daysregs floor((time() - $fairtime) /86400);
            } else {
            
$daysregs floor((time() - $lead[2]) / 86400); 
            } 
        
// Time Online Hack Addon (fair time per day?) g-force2k2 

should really change those values up for ya now ;) regards...

g-force2k2

g-force2k2 08-29-2002 11:33 PM

ahh... see Souly had a similiar idea to me ;) just set the time back so but... for him all users will have that time as the register date... even if they register five weeks later ;) my code prevents that... but good thinking Souly :)

g-force2k2

Souly 08-29-2002 11:41 PM

hehe - nice :) very nice :)

OK. you see -- iam a newbie! :dead:

Boofo 08-29-2002 11:46 PM

All that did was make the Total Time Online and the Time Online Per Day the same value on my site. :)

g-force2k2 08-29-2002 11:50 PM

Boofo what time code did you use? try this number see if it varies the values differently?

PHP Code:

        $fairtime 1030494285

regards...

g-force2k2

Boofo 08-30-2002 12:22 AM

ok, that seemed to change it. It now look like around half (which would make sense since I installed this hack yesterday). But, what does this addon actually do? How will it affect people who register after it is installed? Thank you, by the way. :)

g-force2k2 08-30-2002 12:27 AM

how will this effect users afterwards :p? well if their joindate is after the time that installed their time won't be effected at all ;) so this is only more or less a feature to help those that have been long time members :) regards...

g-force2k2

Kars10 08-30-2002 10:30 AM

Hello G-Force!!
First Thankx for this great Hack. But theres a Problem with it.
Everytime i try to use the "next" Link in the Navigation of the "timeonline" i get a blank page. When i use the reload-Button the site is there. After this it works for 2-3 Klicks and then i get a white page. The same if i use the backlink in the "Forum-Navigation"....:confused:
I promised i make all youre Instruction says and i don?t see any error in my installation. Ok, i get that "zero-error" and make youre fix from Post #2. It works, but the Nav-Problem is a Problem...
Please help! ;)

PsYc 08-30-2002 12:29 PM

another little error:

when i watch the timeonline.php i see that my online time increase, the seconds, minutes and so on

but i don't see the time of other members increasing, but i know they are online too with me at the same time.

only when i go through something else in the board and then go back to the timeonline.php i saw their time but refreshing the page doesnt work here

i have your - post, division by zero and the fairtime addon installed too

any suggestions?

g-force2k2 08-30-2002 12:45 PM

hmm... i'll look into both issues...

Minifreunde make sure that you made the fix on the earlier posts... the links nextpage and the others i forgot to end with </a> could be a problem ;) it was fixed but perhaps you downloaded before hand... regards...

g-force2k2


All times are GMT. The time now is 03:15 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.01130 seconds
  • Memory Usage 1,742KB
  • 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)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