Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
Gérer les utilisateurs inactifs System V
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / Torrent Trader / v3 Mods Completed

2019-11-16 16:25:55
[color=rgb(251, 160, 38)]Gérer les utilisateurs inactifs ...[/color]

[color=rgb(251, 160, 38)]Télécharger l'archive et mettre dans root..., Le code sql,  l'image,  et le fichier inactiveusers.php est dans l'archive




Code à ajouter dans admincp.php[/color]

<td align="center"><a href="inactiveusers.php"><img src="images/admin/inactiveusers.png" border="0" width="32" height="32" alt="" /><br /><?php echo T_("USURSINACTIVE"); ?></a><br /></td>



[color=rgb(251, 160, 38)] Ajouter à votre fichier Lang[/color]

$LANG["NUMBER0FDAYS"] = "Nombre de jours";
$LANG["JOINDATE"] = "Date d'inscription";
$LANG["SENDMAIL"] = "Envoyer un Email";
$LANG["DELETEUSERS"] = "Supprimer membres";
$LANG["DISABLED_ACCOUNTS"] = "Compte d&eacute;sactiv&eacute;";
$LANG["LASTMAILSENTBY"] = "Derni&egrave;re d&eacute;p&ecirc;che envoy&eacute;e par";
$LANG["ON"] = "sur";
$LANG["WASSENT"] = "a &eacute;t&eacute; envoy&eacute;!";
$LANG["NOACOUNTINATIVE"] = "Pas de compte inactif pendant plus de";
$LANG["USURSINACTIVE"] = "Les utilisateurs inactifs";
$LANG["DAYS"] = "Jours";
module-Inactive susers.rar
Download
2019-11-17 14:38:46
can you post an english version for others to try? Thanks for sharing :)
TTv3 Micro Edition
Ubuntu 20.04.6 LTS Server
Mysql Version: 10.3.39-MariaDB-0ubuntu0.20.04.2
PHP Version: 7.4.3-4ubuntu2.20
Apache Version: Apache/2.4.59 (Ubuntu)
2019-12-06 16:06:26
Add this to your English language file >>

// INACTIVE USERS

$LANG["NUMBER0FDAYS"] = "Number of Days";
$LANG["JOINDATE"] = "Join Date";
$LANG["SENDMAIL"] = "Send an Email";
$LANG["DELETEUSERS"] = "Delete User";
$LANG["DISABLED_ACCOUNTS"] = "Disabled Accounts";
$LANG["LASTMAILSENTBY"] = "Last email has been sent by";
$LANG["ON"] = "On";
$LANG["WASSENT"] = "Was sent";
$LANG["NOACOUNTINATIVE"] = "No Inactive Accounts";
$LANG["USURSINACTIVE"] = "Inactive Users";
$LANG["DAYS"] = "Days";

If It Ain't Dutch, It Ain't Much!!
2021-11-22 16:35:06
This mod seems incomplete and is missing some code maybe

where do we insert into the avps table if anyone has mod and can search avps - in the admincp the table is used just for recording sent emails and doesn't look like its needed

we have select  
DB::run("SELECT inactive.value_s AS userid, inactive.value_i AS last_mail, inactive.value_u AS mails, users.username FROM inactive LEFT JOIN users ON inactive.value_s=users.id WHERE inactive.arg='inactivemail' LIMIT 1"); 


and update
DB::run("update inactive set value_i='$date', value_u='$count', value_s='$userid' WHERE arg='inactivemail' ");
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 9
  • Members: 0
  • Guests online: 9
  • Comments: 3
  • Messages: 1,728