Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Template Shares
Reply
  #1  
Old 26th February 2020, 09:12
Floky123's Avatar
Floky123 Floky123 is offline
Senior Member
 
Join Date: Nov 2013
Slovenia
Posts: 41
Default TS 1.3.9 by xam
Hi, i have problem, my script delete users when are inactive for long time... how can i disable that?!
Reply With Quote
  #2  
Old 26th February 2020, 12:21
Elena's Avatar
Elena Elena is offline
Senior Member
 
Join Date: Sep 2010
Posts: 28
Default
If there is approximately the same as TBDeV based, then look at the cleanup.php
Reply With Quote
  #3  
Old 26th February 2020, 23:10
elvira's Avatar
elvira elvira is offline
Senior Member
 
Join Date: Jan 2008
Slovenia
Posts: 147
Default
something like that


Quote:
$secs = 45*86400;
$dt = sqlesc(get_date_time(gmtime() - $secs)); // calculate date.
$maxclass = UC_POWER_USER;
mysql_query("DELETE FROM users WHERE parked='no' AND status='confirmed' AND class <= $maxclass AND last_access < $dt");
Reply With Quote
  #4  
Old 27th February 2020, 20:41
batuo76's Avatar
batuo76 batuo76 is offline
Senior Member
 
Join Date: Aug 2012
Austria
Posts: 30
Default
Hm 1.9.3 by xam interesting
My be 1.3.9
Reply With Quote
  #5  
Old 28th February 2020, 12:30
Floky123's Avatar
Floky123 Floky123 is offline
Senior Member
 
Join Date: Nov 2013
Slovenia
Posts: 41
Default
Quote:
Originally Posted by batuo76 View Post
Hm 1.9.3 by xam interesting
My be 1.3.9
Yes sorry its 1.3.9
Reply With Quote
  #6  
Old 29th February 2020, 02:54
MasterMan's Avatar
MasterMan MasterMan is offline
Senior Member
 
Join Date: Jan 2012
P2P
Posts: 86
Default
is it original xam encoded version or dnlde here from others??
Reply With Quote
  #7  
Old 29th February 2020, 13:46
Floky123's Avatar
Floky123 Floky123 is offline
Senior Member
 
Join Date: Nov 2013
Slovenia
Posts: 41
Default
Quote:
Originally Posted by MasterMan View Post
is it original xam encoded version or dnlde here from others??
It's xam from there

https://www.bvlist.com/showthread.php?t=11161

Bump:
Quote:
Originally Posted by elvira View Post
something like that
I didn't find that :)

Bump:
Quote:
Originally Posted by elvira View Post
something like that
I didn't find that :)
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 00:45. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2020, vBulletin Solutions Inc.