![]() |
This mod never liked me. It doesn't break down the time. Only gives a long number.
|
tnguy3n, great hack, but, your screenshot shows you as been on your forum for:
1 week, 3 days, 23 hours why doesn't mine show such lengths of time, as I can't believe you've been connected online at your forum that duration of time. It only shows mine as: 38 mins, 20 secs Do enlighten us as to what I've done wrong, or how to adjust such info. Thx n regards :) |
tahanks... ;)
Installed.... |
Quote:
I think you might have had the same problem as me :) |
Quote:
same here how can we resolve this???? |
any one know how to fix this i cant get it back
Parse error: syntax error, unexpected '*' in /home/nexte3/public_html/includes/class_core.php on line 2892 |
It seens you wrong edit the file, you can see ", 'lastvisit');
$this->userinfo['lastvisit'] = $this->userinfo['lastactivity']; } else { This is the line you tell an error, you can fix that unistall the hack and edit classcore.php again. Regards Open includes/class_core.php, (1 change) FIND: // on this to be updated in real time. $this->registry->db->shutdown_query(" UPDATE " . TABLE_PREFIX . "user SET lastactivity = " . TIMENOW . " WHERE userid = " . $this->userinfo['userid'] . " ", 'lastvisit'); REPLACE WITH: // on this to be updated in real time. /* $this->registry->db->shutdown_query(" UPDATE " . TABLE_PREFIX . "user SET lastactivity = " . TIMENOW . " WHERE userid = " . $this->userinfo['userid'] . " ", 'lastvisit'); */ if(TIMENOW - $this->userinfo['lastactivity'] > $this->registry->options['cookietimeout']) { $newtime = '0'; } else { $newtime = TIMENOW - $this->userinfo['lastactivity']; } $this->registry->db->shutdown_query(" UPDATE " . TABLE_PREFIX . "user SET lastactivity = " . TIMENOW . ", timeonboard = timeonboard + $newtime WHERE userid = " . $this->userinfo['userid'] . " ", 'lastvisit'); if you donĀ“t know use php well, i advice backup the original file allways, and you can backup renamed like class_core.phpold and put edited file and chmod 777. |
that's the total time I've spent on my board, and my board has been open for 1 1/2 years now. Note that your total time counts only at the point your install this hack.
|
Got it working. Looks like it was conflicting with another code.
|
Fatal error: Cannot redeclare timeonboard() (previously declared in /home/ohiosci/public_html/forum/global.php(356) : eval()'d code:4) in /home/ohiosci/public_html/forum/member.php(825) : eval()'d code on line 4
Help!? :( Happens when I click on a members name to see their profile, otherwise it's fine. I missed this hack when I upgraded versions, nice to see that somewhere in all my previous coding it kept my times too! I pissed alot of people off. lol |
All times are GMT. The time now is 11:19 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|