Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > TBDev
Reply
  #1  
Old 6th December 2012, 22:20
Lolle Lolle is offline
Senior Member
 
Join Date: Mar 2011
Denmark
Posts: 25
Red face Help Shoutbox
I have a problem with my shoutbox. How do I change www.peerspy.net to my own url?
Attached Thumbnails
Unavngivet.jpg  
Reply With Quote
  #2  
Old 7th December 2012, 00:17
firefly's Avatar
firefly firefly is offline
Senior Member
 
Join Date: Dec 2009
P2P
Posts: 74
Default
edit and replace similar code in your takeupload.php



PHP Code:
$text "Torrent: [url=$site_url/details.php?id=$id] ".$torrent."[/url] was just uploaded.";
$date=time();
mysql_query("INSERT INTO shoutbox (id, date, text) VALUES ('id', $date, " sqlesc($text) . ")") or sqlerr(__FILE____LINE__); 
__________________
Can install Gazelle
Reply With Quote
  #3  
Old 7th December 2012, 01:43
aeon-design's Avatar
aeon-design aeon-design is offline
Senior Member
 
Join Date: Dec 2012
P2P
Posts: 128
Default
change http://www.peerspy.net/ with the name of your site of takeupload.php on line 409

Quote:
////////new torrent upload detail sent to shoutbox//////////
$text = "
New Torrent -> http://www.peerspy.net/details.php?id=$id ".htmlspecialchars($torrent)."
was just uploaded by " .$CURUSER['username'];
$userid = "2";
$username = "System";
$ti = gmtime();
$date=sqlesc(get_date_time($ti));
mysql_query("INSERT INTO shoutbox (id, userid, username, date, text) VALUES ('id'," . sqlesc($userid) . ", " . sqlesc($username) . ", $date, " . sqlesc($text) . ")") or sqlerr(__FILE__, __LINE__);
Reply With Quote
  #4  
Old 7th December 2012, 02:16
wMan wMan is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 1,433
Default
lol
Reply With Quote
  #5  
Old 7th December 2012, 05:08
firefly's Avatar
firefly firefly is offline
Senior Member
 
Join Date: Dec 2009
P2P
Posts: 74
Default
Quote:
Originally Posted by aeon-design View Post
change http://www.peerspy.net/ with the name of your site of takeupload.php on line 409
Why don't you using the sites url variable
__________________
Can install Gazelle

Last edited by firefly; 7th December 2012 at 08:23.
Reply With Quote
Reply

Tags
shoutbox

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 12:22. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.