Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > BT.Manager (phpMyBitTorrent)
Reply
Thread Tools
  #1  
Old 19th January 2009, 22:12
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default remember me fix
Fix for remember me on login
open user.php
find
PHP Code:
                                if (isset($remember) AND $remember == "yes"$db->sql_query("UPDATE ".$db_prefix."_users SET rem = 'yes' WHERE username = '".addslashes($username)."';")or die("thats not fare"); 
and replace with
PHP Code:
                                if (isset($remember) AND $remember == "yes"){
                                 
$db->sql_query("UPDATE ".$db_prefix."_users SET rem = 'yes' WHERE username = '".addslashes($username)."';")or die("thats not fare");
                                
$autologin =true;
                                 } 
__________________
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
  #2  
Old 19th January 2009, 22:24
Azurious's Avatar
Azurious Azurious is offline
Senior Member
 
Join Date: Jan 2009
India
Posts: 60
Default
Thanks Boss its done
Reply With Quote
Reply

Tags
fix , remember


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to login TS 4.3 remember ohm2525 Template Shares 10 27th November 2008 04:19



All times are GMT +2. The time now is 10:41. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.