Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   BT.Manager (phpMyBitTorrent) (http://www.bvlist.com/forumdisplay.php?f=23)
-   -   [pmbt 2.0.4]problem with tracker settings (http://www.bvlist.com/showthread.php?t=3392)

ferdis 12th September 2009 14:58

[pmbt 2.0.4]problem with tracker settings
 
I have problem when editing tracker settings :

in tracker settings when enable Allow External torrents option and i save settings says the settings saved and option back to normal ...is not activated ...is still disabled and more many options do the same.But but when edited directly in the database everything goes perfectly

joeroberts 12th September 2009 15:02

Open admin/files/settings.php
add
PHP Code:

        if (!isset($sub_allow_external) OR $sub_allow_external != "true"$sub_allow_external "false"array_push($params,"allow_external"); array_push($values,$sub_allow_external); 

after
PHP Code:

        if (!isset($sub_free_dl) OR $sub_free_dl != "true"$sub_free_dl "false"array_push($params,"free_dl"); array_push($values,$sub_free_dl); 

and I need to know what others do not change

wMan 12th September 2009 15:02

i bet u use windows because on linux this kind of crap never happens basicly it's because admin.php can't find right file who edits configuration

ferdis 12th September 2009 15:10

Allow Multy Tracker Torrents
Give Upload on signup

joeroberts 12th September 2009 15:17

here add these after the last one
PHP Code:

        if (is_numeric($sub_give_sign_up_credit)) {array_push($params,"give_sign_up_credit"); array_push($values,$sub_give_sign_up_credit); }
        if (!isset(
$sub_allow_multy_tracker) OR $sub_allow_multy_tracker != "true"$sub_allow_multy_tracker "false"array_push($params,"allow_multy_tracker"); array_push($values,$sub_allow_multy_tracker); 



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

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