Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > BT.Manager (phpMyBitTorrent)
Reply
  #21  
Old 3rd April 2011, 17:39
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
Quote:
Originally Posted by Mahmoud View Post
ok sir

this is ok
i fix language error and there is no more error
I'm happy you got it

Quote:
Originally Posted by Mahmoud View Post
i have just one question
how to enable and disable the menus
i mean main menu and new videos and information etc
how to disable it ?
This well need to be edited in the theme

Quote:
Originally Posted by Mahmoud View Post
and how to control invitations for my members ?
you can turn it on and off in admin panel to edit the amount given is done in include/cleanup.php
PHP Code:
autoinvites(10,1,4,.90,1);
autoinvites(10,4,7,.95,2);
autoinvites(10,7,10,1.00,3);
autoinvites(10,10,100000,1.05,4); 
You can also give extra invites from edit user
Quote:
Originally Posted by Mahmoud View Post
and can i use smtp server for mail service ?
thanks
You well need to set your php.ini to do this.
__________________
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/
Reply With Quote
  #22  
Old 3rd April 2011, 18:06
Mahmoud Mahmoud is offline
Senior Member
 
Join Date: Nov 2009
Andorra
Posts: 72
Default
Quote:
Originally Posted by joeroberts View Post
I'm happy you got it


This well need to be edited in the theme


you can turn it on and off in admin panel to edit the amount given is done in include/cleanup.php
PHP Code:
autoinvites(10,1,4,.90,1);
autoinvites(10,4,7,.95,2);
autoinvites(10,7,10,1.00,3);
autoinvites(10,10,100000,1.05,4); 
You can also give extra invites from edit user

You well need to set your php.ini to do this.
what a bad luck !!!
sql error while uploading torrent

Quote:
Error Executing SQL Query INSERT INTO torrent_torrents (info_hash, name, filename, save_as, md5sum, search_text, descr, size, ratiobuild, plen, category, type, numfiles, added, exeem, dht, backup_tracker, views, downloaded, completed, banned, password, visible, evidence, owner, ownertype, uploader_host, numratings, ratingsum, seeders, leechers, tot_peer, speed, comments, complaints, tracker, tracker_list, tracker_update, last_action) VALUES ('���1�[d��� !��ؓ�u', 'Wamp Server ', 'WampServer2.1a-x32.exe', 'WampServer2.1a-x32.exe', 'e701a7525271d003a9f8ae97f00e69bc', 'WampServer2.1a-x32.exe WampServer2.1a-x32.exe ********************* WampServer2.1a-x32.exe 59569116 ', '*************************', '59569116', 'yes', '65536', '5', 'single', '1', NOW(), NULL, 'no', 'false', '0', '0', '0', 'no', NULL, 'no', '1', '1', '0', '41.178.208.209', '0', '0', '0', '0', '0', '0', '0', '0,0', NULL, NULL, NOW(), NOW());
Error ID: 1364
Error Message: Field 'torrent_descr' doesn't have a default value
and thanks for ur help
Reply With Quote
  #23  
Old 3rd April 2011, 18:20
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
what did you put for description?
__________________
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/
Reply With Quote
  #24  
Old 3rd April 2011, 20:51
Mahmoud Mahmoud is offline
Senior Member
 
Join Date: Nov 2009
Andorra
Posts: 72
Default
Quote:
Originally Posted by joeroberts View Post
what did you put for description?
few words about the file
Reply With Quote
  #25  
Old 3rd April 2011, 22:58
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
in upload/taketorrent.php find
PHP Code:
$torrentfields[] = "descr";
$torrentvalues[] = "'".$descr."'"
and add before
PHP Code:
$torrentfields[] = "torrent_descr";
$torrentvalues[] = "'".$descr."'"
__________________
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/
Reply With Quote
  #26  
Old 4th April 2011, 00:11
Mahmoud Mahmoud is offline
Senior Member
 
Join Date: Nov 2009
Andorra
Posts: 72
Default
Quote:
Originally Posted by joeroberts View Post
in upload/taketorrent.php find
PHP Code:
$torrentfields[] = "descr";
$torrentvalues[] = "'".$descr."'"
and add before
PHP Code:
$torrentfields[] = "torrent_descr";
$torrentvalues[] = "'".$descr."'"
upload successfully but i got this error in torrent client :
in the log :
Quote:
[2011-04-03 23:55:37] Sent WM_SETTINGCHANGE return = 1
and this in the tracker status see the attached image
thanks
Attached Thumbnails
tracker status error.PNG  
Reply With Quote
  #27  
Old 4th April 2011, 02:08
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
I can not see the full sql in that pic.
in announce.php find
PHP Code:
                        $updateset[] = "leechers = leechers + 1";
                
$updateset[] = "tot_peer = tot_peer + 1";
        } else 
err("SQL Error = $sql_insert"); 
and replace it with
PHP Code:
                        $updateset[] = "leechers = leechers + 1";
                
$updateset[] = "tot_peer = tot_peer + 1";
        } else 
err(mysql_error()); 
then show me what your client says
__________________
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/
Reply With Quote
  #28  
Old 4th April 2011, 20:36
Mahmoud Mahmoud is offline
Senior Member
 
Join Date: Nov 2009
Andorra
Posts: 72
Default
Quote:
Originally Posted by joeroberts View Post
I can not see the full sql in that pic.
in announce.php find
PHP Code:
                        $updateset[] = "leechers = leechers + 1";
                
$updateset[] = "tot_peer = tot_peer + 1";
        } else 
err("SQL Error = $sql_insert"); 
and replace it with
PHP Code:
                        $updateset[] = "leechers = leechers + 1";
                
$updateset[] = "tot_peer = tot_peer + 1";
        } else 
err(mysql_error()); 
then show me what your client says
ok
i edited the announce.php file and i got this erro in my client :

Quote:
HTTP ERROR 401
and this error while sending PM :

Quote:
Warning: mail() [function.mail]: Failed to connect to mailserver at "75.126.193.146" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in G:\*******\*****.*****\*****\*******\include\class .email.php on line 69
thanks
Reply With Quote
  #29  
Old 5th April 2011, 06:23
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
Please recheck the edit as it should give a sql error not a 401 and for the second one its a mail function error from the server.
__________________
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/
Reply With Quote
  #30  
Old 5th April 2011, 20:07
Mahmoud Mahmoud is offline
Senior Member
 
Join Date: Nov 2009
Andorra
Posts: 72
Default
Quote:
Originally Posted by joeroberts View Post
Please recheck the edit as it should give a sql error not a 401 and for the second one its a mail function error from the server.
that error appear suddenly before edit the announce.php file
Reply With Quote
Reply

Tags
error , setup

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 10:40. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.