Why don`t try to create your own MOD
I don`t know if TBDEV have a torrent age option (but u can create one running this code
PHP Code:
CREATE TABLE IF NOT EXISTS `torrentage` (
`id` int(10) unsigned NOT NULL auto_increment,
`name` varchar(30) NOT NULL default '',
`image` varchar(255) NOT NULL default '',
`sort_index` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=6 ;
INSERT INTO `torrentage` (`id`, `name`, `image`, `sort_index`) VALUES
(1, '3', '3.png', 1),
(2, '6', '6.png', 1),
(3, '12', '12.png', 1),
(4, '16', '16.png', 1),
(5, '18', '18.png', 1);
, then u must alter your torrents table something like this:
PHP Code:
ALTER TABLE `torrents` ADD `torrentage` int(10) unsigned NOT NULL default '1';
edit your torrent upload & u must add a option where the uploader can insert the 'age` of torrent),or user when register is forced to insert birtday to calcalute the age of user & after some modification of user details & torrent_upload files is very simple to restrict torrent if the user age is under 18 .
ex:
PHP Code:
if ($CURUSER["age"] < $row["age_name"]){
$torrentage = "<a href=\"" . $site_config['SITEURL'] . "/images/torrents/novideo.jpg\" rel=\"ibox\"><img border=\"0\"src=\"" . $site_config['SITEURL'] . "/images/torrents/age/" . $row["age_image"] . "\" alt=\"Age Required :" . $row["age_name"] . " + \" /></a>";
}else{
$torrentage = "<a href=\"download.php?id=$id&name=" . rawurlencode($row["filename"]) . "\"><img border=\"0\"src=\"" . $site_config['SITEURL'] . "/images/torrents/age/" . $row["age_image"] . "\" alt=\"Age Required :" . $row["age_name"] . " + \" /></a>";
}
If u try to create this MOD i will help you, if not u must wait until
i will find some free time to create this MOD, but u must give me the link from where u have downloaded your source .
P.S. this is a part imported from my source;
Best Regards