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
[Mod] Manage Inactive Users 2.08
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / v2.08 / v2.08 Mods Completed

Unknown User
2013-01-01 05:10:26
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]
inactiveusers.png
inactiveusers.png
inactiveusers.php
Download
Unknown User
2013-01-02 21:35:36
hello all

sorry not working for my tt-svn

Sans titre.png
Sans titre.png
Unknown User
2013-01-02 23:37:40
weird my guess you dont have short-tag support or something.. I know works fine I tested it on my dev 2.08 site...

Either that or you trying to view it threw some debugger and not an browser, DONT know WHAT DW is LOL!!!

anyway re-download the file from the 1st post once it says NEW
Unknown User
2013-01-03 00:29:49
it works on mine
Unknown User
2013-01-03 10:37:27
ok i test tks
Unknown User
2013-01-05 20:21:36
Thanks a lot, works perfectly
Unknown User
2013-01-10 11:45:58
Thanks, works perfectly :)
Unknown User
2013-01-10 22:45:27
Thank you

[url="https://www.torrenttrader.org/user/33545-arcticwolf/"]ArcticWolf[/url] and bigmax1
Unknown User
2013-01-16 03:47:44
it work for me but i have a question

how and from where i have inactive users only with download:0gb and upload:2gb
Unknown User
2013-01-16 05:00:27
you might have free leech turned on and you prob give 2GB free to new users or something lol.. Or they might have people that never downloaded an thing and you had 2GB free to new users.
Unknown User
2013-02-17 07:15:34
on the send mail option i got this error try again
Unknown User
2013-02-17 21:26:58
OK stupid question time, where abouts do you place this in the admincp.php

add in admincp.php

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


Please be nice as I am slowly learning this software
Unknown User
2013-02-17 22:12:17
on my dev site i did something like this



<tr>

   <td colspan="5">&nbsp;</td>

</tr>

<tr>

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

</tr>

after




<tr>

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

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

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

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

   <td align="center"><a href="admincp.php?action=users"><img src="images/admin/simple_user_search.png" border="0" width="32" height="32" alt="" /><br />Simple User Search<br /></a></td>  

</tr>




so I have room to add stuff without messing up layout.

Just remeber to keep those blocks in max of 5 for best layout.

like



<tr>

<td>

<td>

<td>

<td>

<td>

</tr>


you should get my drift.

they all located in the top ish in function navmenu()
Unknown User
2013-02-18 06:17:10
That work a treat, thank you very much
Unknown User
2013-02-18 13:26:15
the send mailer on that it dosent work it will say try again
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