Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   TBDev (http://www.bvlist.com/forumdisplay.php?f=20)
-   -   Help Shoutbox (http://www.bvlist.com/showthread.php?t=8579)

Lolle 6th December 2012 22:20

Help Shoutbox
 
1 Attachment(s)
I have a problem with my shoutbox. How do I change www.peerspy.net to my own url? :sad:

firefly 7th December 2012 00:17

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__); 


aeon-design 7th December 2012 01:43

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__);

wMan 7th December 2012 02:16

lol:drink:

firefly 7th December 2012 05:08

Quote:

Originally Posted by aeon-design (Post 37976)
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


All times are GMT +2. The time now is 14:41.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.