Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Torrent Trader (http://www.bvlist.com/forumdisplay.php?f=29)
-   -   Torrent filename wrong... (http://www.bvlist.com/showthread.php?t=5110)

Pessbolt 22nd June 2010 10:10

Torrent filename wrong...
 
When i download a .torrent file from my tracker its always named: trader].torrent

Anyone know how to fix this so it shows name of the torrent in filename.
I'm using v. 2.06

EDIT:
I figured it out.. it was because i had the source in a subfolder..
But how to i remove the torrentbranding with trackername in torrentfile name..

ex: HDTV.XviD-2HD[blahblah.net].torrent

Nightcrawler 28th June 2010 10:42

doesnt make any difference if you are in a subfolder unless you had the baseurl wrong you can change the branding in download.php...

PHP Code:

$name $row['filename'];
$friendlyurl str_replace("http://","",$site_config[SITEURL]);
$friendlyname str_replace(".torrent","",$name);
$friendlyext ".torrent";
$name $friendlyname ."["$friendlyurl ."]"$friendlyext


Pessbolt 29th June 2010 14:37

thank you
 
Thank you so much.. that did it.. :ok:


All times are GMT +2. The time now is 00:19.

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