vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   [VB3 RC3] Board Spent Time (https://vborg.vbsupport.ru/showthread.php?t=60488)

GamerzWorld 01-20-2004 09:22 AM

Im getting same. I just checked in phpmyadmin and it said i did have the collumn added so not that

Ronin 01-20-2004 09:25 AM

I am also having the same issue. Doesn't seem to be updating. I ran the query. I even removed the entry and ran it again. Same thing. I double checked all the edits for the files and templates the phrases are there as well. But still no go! :(

GamerzWorld 01-20-2004 09:42 AM

Has any body actually got this working ... lol

infernonet 01-20-2004 10:06 AM

thanks nice hack good work :)

MrNase 01-20-2004 10:58 AM

Does it count from the day the hack was build in or will this hack display the online time from the opening of the board till now?

Kentaurus 01-20-2004 12:42 PM

Quote:

Originally Posted by Ronin
I am also having the same issue. Doesn't seem to be updating. I ran the query. I even removed the entry and ran it again. Same thing. I double checked all the edits for the files and templates the phrases are there as well. But still no go! :(

I have tested it in at least 3 boards and it seems to be working. Did you make the changes in sessions.php? That could be the only reason it is not updating. In sessions.php.

In sessions.php this query:

Code:

$DB_site->shutdown_query("
        UPDATE " . TABLE_PREFIX . "user
        SET lastactivity = " . TIMENOW . "
        WHERE userid = $bbuserinfo[userid]
", 'lastvisit');

is changed to

Code:

                                $timespent = TIMENOW - $session['lastactivity'];                                               
$DB_site->shutdown_query("
        UPDATE " . TABLE_PREFIX . "user
        SET lastactivity = " . TIMENOW . ",
                                                                timespent=timespent+$timespent
        WHERE userid = $bbuserinfo[userid]
", 'lastvisit');

make sure it is that exact code you change, some lines above that there is another one that looks alike but also modifies lastvisit. (that is in the instructions already, it is not something new).


Gio Takahashi, did you do anything special besides the instructions? It seems to be working on your board.

GamerzWorld 01-20-2004 02:23 PM

Is it possible you could upload your session.php id change it to match my arcade hack but itd eliminate that...

MrNase 01-20-2004 02:31 PM

Quote:

Originally Posted by MrNase
Does it count from the day the hack was build in or will this hack display the online time from the opening of the board till now?

:nervous::banana:

GamerzWorld 01-20-2004 03:11 PM

Fixed and to answer your question Nase it starts when you install the hqack

HiDeo 01-20-2004 03:40 PM

Thanks I download and install now


All times are GMT. The time now is 09:50 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.01160 seconds
  • Memory Usage 1,735KB
  • 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
  • (2)bbcode_code_printable
  • (2)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