View Single Post
  #41  
Old 5th August 2009, 05:24
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
first error with pass word
open edit.php and find
PHP Code:
                if ($password == ""$password "NULL";
                else 
$password htmlspecialchars($password); 
and replace it with
PHP Code:
                if ($password != "" AND $announce == "") {
                if (!
get_magic_quotes_gpc()) $password addslashes($password);
                
$password "'".$password."'";
                } else 
$password "NULL"
Quote:
Originally Posted by wolfman View Post
one more bug when i edit someones profile seting more upload it makes number like this 137986690.0 < makes upload not count so error
what are you entering for upload amount ?

it works in bytes so you can not enter a 1.1 you can do:

1024*1024*1024
or
137986690+10000000
or
137986690-10000000
or
137986690/2

as long as the end done come out to a 137986690.1

better yet to insure no decimals edit user/editprofile.php
PHP Code:
        processload("uploaded",$up); 
to
PHP Code:
        processload("uploaded",number_format($up,0)); 
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum
My Current Demo is here http://demo.btmanager.org/

Last edited by joeroberts; 5th August 2009 at 05:54.
Reply With Quote