|
#1
|
|||
|
|||
New Upload in shoutbox
Hi.
Someone knows how to appear a new torrent in the shoutbox automatically? |
#2
|
|||
|
|||
in takeupload.php add this shows new torrent uploaded in shoutbox plus gives the uploader 3 gigs every time to their account
////////new torrent upload detail sent to shoutbox////////// $text = "New Torrent Uploaded ".htmlspecialchars($torrent)." please thank the uploader!!"; $userid = "0"; $username = "shoutbot"; $date=time(); mysql_query("INSERT INTO shoutbox (userid, username, date, text) VALUES (" . sqlesc($userid) . ", " . sqlesc($username) . ", $date, " . sqlesc($text) . ")") or sqlerr(__FILE__, __LINE__); /////////////////////////////END/////////////////////////////////// mysql_query("UPDATE users SET uploaded = uploaded + 3221225472 WHERE id = ". $CURUSER['id']); header("Location: $BASEURL/details.php?id=$id&uploaded=1"); add it between this *******************/ code goes here header("Location: $BASEURL/details.php?id=$id&uploaded=1"); |
The Following User Says Thank You to wMan For This Useful Post: | ||
kolo (18th December 2009)
|
#3
|
|||
|
|||
thanks :D
How i can color "New Torrent Uploaded ".htmlspecialchars($torrent)." please thank the uploader!!"; ? |
Tags |
shoutbox , upload |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
shoutbox | kowalsky | Yuna Scatari Edition (YSE) | 2 | 6th January 2012 20:58 |
shoutbox | wMan | Mods & Themes | 0 | 26th June 2010 09:39 |
Shoutbox Bot | kp380lv | Yuna Scatari Edition (YSE) | 9 | 30th May 2010 15:41 |
Need a shoutbox on ySE pre 6 | evaldas40 | Yuna Scatari Edition (YSE) | 1 | 2nd November 2009 01:44 |
Shoutbox | ReNeJcEk | Torrent Strike | 8 | 16th July 2008 22:51 |