This is an 2.08 version of [Mod] Manage Inactive Users that BigMax1 made.
With other modications people said and its for 2.08...
Not much in the attached file has changed from my one I attached in this post: [url="http://www.torrenttrader.org/topic/16411-mod-manage-inactive-users/#entry87714"]http://www.torrentt...ers/#entry87714[/url]
Its basically just all the stuff for this addon in 1 place and for 2.08
All credit goes to BigMax1, I just modified it to be truely 2.08 and to error out correct.
1st off languages:
English
// Inactive Users
$LANG["NUMBER0FDAYS"] = "Number of days";
$LANG["JOINDATE"] = "Join Date";
$LANG["SENDMAIL"] = "Send mail";
$LANG["DELETEUSERS"] = "Delete users";
$LANG["DISABLED_ACCOUNTS"] = "Disable accounts";
$LANG["LASTMAILSENTBY"] = "Last mail sent by";
$LANG["WASSENT"] = "was sent!";
$LANG["NOACOUNTINATIVE"] = "No account inactive for longer than";
$LANG["ON"] = "on";
$LANG["USURSINACTIVE"] = "Inactive Users";
$LANG["DAYS"] = "Days";
Français
// Inactive Users
$LANG["NUMBER0FDAYS"] = "Nombre de jours";
$LANG["JOINDATE"] = "Date d'inscription";
$LANG["SENDMAIL"] = "Envoyer un Email";
$LANG["DELETEUSERS"] = "Supprimer membres";
$LANG["DISABLED_ACCOUNTS"] = "Compte désactivé";
$LANG["LASTMAILSENTBY"] = "Dernière dépêche envoyée par";
$LANG["ON"] = "sur";
$LANG["WASSENT"] = "a été envoyé!";
$LANG["NOACOUNTINATIVE"] = "Pas de compte inactif pendant plus de";
$LANG["USURSINACTIVE"] = "Les utilisateurs inactifs";
$LANG["DAYS"] = "Jours";
then import to sql if you dont have it already
CREATE TABLE IF NOT EXISTS `avps` (
`arg` varchar(20) character set latin1 collate latin1_general_ci NOT NULL default '',
`value_s` text character set latin1 collate latin1_general_ci NOT NULL,
`value_i` int(11) NOT NULL default '0',
`value_u` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`arg`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
Upload attached file inactiveusers.png in: /images/admin

add in admincp.php
<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>
now upload the attached file to your site
NEW: [url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=6436"]inactiveusers.php[/url]
With other modications people said and its for 2.08...
Not much in the attached file has changed from my one I attached in this post: [url="http://www.torrenttrader.org/topic/16411-mod-manage-inactive-users/#entry87714"]http://www.torrentt...ers/#entry87714[/url]
Its basically just all the stuff for this addon in 1 place and for 2.08
All credit goes to BigMax1, I just modified it to be truely 2.08 and to error out correct.
1st off languages:
English
// Inactive Users
$LANG["NUMBER0FDAYS"] = "Number of days";
$LANG["JOINDATE"] = "Join Date";
$LANG["SENDMAIL"] = "Send mail";
$LANG["DELETEUSERS"] = "Delete users";
$LANG["DISABLED_ACCOUNTS"] = "Disable accounts";
$LANG["LASTMAILSENTBY"] = "Last mail sent by";
$LANG["WASSENT"] = "was sent!";
$LANG["NOACOUNTINATIVE"] = "No account inactive for longer than";
$LANG["ON"] = "on";
$LANG["USURSINACTIVE"] = "Inactive Users";
$LANG["DAYS"] = "Days";
Français
// Inactive Users
$LANG["NUMBER0FDAYS"] = "Nombre de jours";
$LANG["JOINDATE"] = "Date d'inscription";
$LANG["SENDMAIL"] = "Envoyer un Email";
$LANG["DELETEUSERS"] = "Supprimer membres";
$LANG["DISABLED_ACCOUNTS"] = "Compte désactivé";
$LANG["LASTMAILSENTBY"] = "Dernière dépêche envoyée par";
$LANG["ON"] = "sur";
$LANG["WASSENT"] = "a été envoyé!";
$LANG["NOACOUNTINATIVE"] = "Pas de compte inactif pendant plus de";
$LANG["USURSINACTIVE"] = "Les utilisateurs inactifs";
$LANG["DAYS"] = "Jours";
then import to sql if you dont have it already
CREATE TABLE IF NOT EXISTS `avps` (
`arg` varchar(20) character set latin1 collate latin1_general_ci NOT NULL default '',
`value_s` text character set latin1 collate latin1_general_ci NOT NULL,
`value_i` int(11) NOT NULL default '0',
`value_u` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`arg`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
Upload attached file inactiveusers.png in: /images/admin

add in admincp.php
<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>
now upload the attached file to your site
NEW: [url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=6436"]inactiveusers.php[/url]