Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Template Shares
Reply
  #1  
Old 26th February 2020, 09:12
Floky123 Floky123 is offline
Senior Member
 
Join Date: Nov 2013
Slovenia
Posts: 55
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 Elena is offline
Senior Member
 
Join Date: Sep 2010
P2P
Posts: 111
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: 172
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
The Following User Says Thank You to elvira For This Useful Post:
BamBam0077 (25th May 2022)
  #4  
Old 27th February 2020, 20:41
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 Floky123 is offline
Senior Member
 
Join Date: Nov 2013
Slovenia
Posts: 55
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 MasterMan is offline
Senior Member
 
Join Date: Jan 2012
P2P
Posts: 141
Default
is it original xam encoded version or dnlde here from others??
Reply With Quote
  #7  
Old 29th February 2020, 13:46
Floky123 Floky123 is offline
Senior Member
 
Join Date: Nov 2013
Slovenia
Posts: 55
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
  #8  
Old 25th May 2022, 09:42
BamBam0077 BamBam0077 is offline
Banned
 
Join Date: Jul 2013
P2P
Posts: 410
Default
Thank You <3
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 13:22. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.