|
#1
|
||||
|
||||
New torrent in shoutbox
New torrent showing in shoutbox:
In takeupload.php Above this : PHP Code:
PHP Code:
$text = "New Torrent: http://yourdomain.com/details.php?id=$id] ".$torrent."[/b]"; $userid = "System user ID"; $username = "Here goes SYSTEM username";
__________________
|
The Following User Says Thank You to Chez For This Useful Post: | ||
Marco (17th December 2014)
|
#2
|
|||
|
|||
i had to change the $date=() to the below and works great
$date=sqlesc(get_date_time($ti)); |
#3
|
|||
|
|||
just want to share.
if someone use NexusPHP. you can try this code, with same place paste the coding above. Code:
$text = "New Torrent Uploaded : CLICK HERE! ".$torrent.""; $userid = "putyoursystemID"; $username = "SYSTEM"; //$date=time(); $date=time()-6; mysql_query("INSERT INTO shoutbox (id, userid, date, text) VALUES ('id'," . sqlesc($userid) . ", $date, " . sqlesc($text) . ")") or sqlerr(__FILE__, __LINE__); |
Tags |
shoutbox , torrent |
|
|