"cursed, post: 38239":thank you cursedhave a look here they allow p2p and have some in stock now ..you should get one with in a few hours
[url="https://secure.vectoral.info/order.php"]https://secure.vectoral.info/order.php[/url]
root access you add all the apache ,phpmyadmin and mysql yourself
"dodez, post: 37086":thank you for this modthere is an error after clicking the thanks button
Warning: Cannot modify header information - headers already sent by (output started at /home/sites/maroctorrent.net/public_html/thanks.php:2) in /home/sites/maroctorrent.net/public_html/thanks.php on line 22
Warning: Cannot modify header information - headers already sent by (output started at /home/sites/maroctorrent.net/public_html/thanks.php:2) in /home/sites/maroctorrent.net/public_html/thanks.php on line 22 }else{ //email confirmation is off
header("Refresh: 0; url=account-confirm-ok.php?type=noconf");
}replace it with :}else{ //email confirmation is off
$query = "INSERT INTO shoutbox (msgid, user, message, date, userid) VALUES (NULL, 'System', 'New User: [url=".$site_config['SITEURL']."/account-details.php?id=".$id."]".$wantusername."[/url]', now(), '0')";
mysql_query($query);
header("Refresh: 0; url=account-confirm-ok.php?type=noconf");
}
and in account-confirm.php, find
if (!mysql_affected_rows())
show_error_msg("Error","Unable to activate account please contact a admin",1);
replace it with :
if (!mysql_affected_rows()) {
show_error_msg("Error","Unable to activate account please contact a admin",1);
}
else {
$query = "INSERT INTO shoutbox (msgid, user, message, date, userid) VALUES (NULL, 'System', 'New User: [url=".$site_config['SITEURL']."/account-details.php?id=".$id."]".$row["username"]."[/url]', now(), '0')";
mysql_query($query);
}write_log("Torrent $id ($torrent) was uploaded by " . $CURUSER["username"]);after, add :mysql_query("INSERT INTO shoutbox VALUES('', 'System', 'New Torrent: [url=".$site_config['SITEURL']."/torrents-details.php?id=".$id."]".$torrent."[/url] has been uploaded by [url=".$site_config['SITEURL']."/account-details.php?id=".$CURUSER['id']."]" .$CURUSER['username']. "[/url]', now(), '0')") or sqlerr(__FILE__,__LINE__);
and in shoutbox.php find:
$THEME = $ss_a["uri"];
$lng_a = mysql_fetch_array(mysql_query("select uri from languages where id='" . $site_config['default_language'] . "'")) or die(mysql_error());
if ($lng_a)
$LANGUAGE = $lng_a["uri"];
}
after, Add :
//replace [url] tags with a proper link
$msg = preg_replace("/\[url\]([^[]+)\[\/url\]/i","<a href=\"\\1\" target=\"_blank\">\\1</a>",$msg);