Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   BT.Manager (phpMyBitTorrent) (http://www.bvlist.com/forumdisplay.php?f=23)
-   -   user active ? (http://www.bvlist.com/showthread.php?t=3237)

wMan 20th August 2009 06:12

user active ?
 
since i coudn't get to work mod who was suppose to set user active and don't send confirm mail (error was it never registred user at all ) so i wanted to ask if someone can make mod what add litle image ater username in memberslist if user is inactive ? :sos:

joeroberts 20th August 2009 13:37

here is takeregister.php to set user active with out email
[php] /*
*----------------------------phpMyBitTorrent V 2.0.3---------------------------*
*--- The Ultimate BitTorrent Tracker and BMS (Bittorrent Management System) ---*
*-------------- Created By Antonio Anzivino (aka DJ Echelon) --------------*
*------------- http://www.p2pmania.it -------------*
*------------ Based on the Bit Torrent Protocol made by Bram Cohen ------------*
*------------- http://www.bittorrent.com -------------*
*------------------------------------------------------------------------------*
*------------------------------------------------------------------------------*
*-- This program is free software; you can redistribute it and/or modify --*
*-- it under the terms of the GNU General Public License as published by --*
*-- the Free Software Foundation; either version 2 of the License, or --*
*-- (at your option) any later version. --*
*-- --*
*-- This program is distributed in the hope that it will be useful, --*
*-- but WITHOUT ANY WARRANTY; without even the implied warranty of --*
*-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the --*
*-- GNU General Public License for more details. --*
*-- --*
*-- You should have received a copy of the GNU General Public License --*
*-- along with this program; if not, write to the Free Software --*
*-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA --*
*-- --*
*------------------------------------------------------------------------------*
*------

wMan 20th August 2009 14:59

vierd but now it says dublicate ip in use but before i puted this code i coud register 100 times if i wan't but now i can't test if code works

joeroberts 20th August 2009 15:02

that is a new security feature
coment out
PHP Code:

if ($db->sql_numrows($db->sql_query("SELECT * FROM ".$db_prefix."_users WHERE lastip = '".sprintf("%u",ip2long(getip()))."';")) != 0)
                
$errmsg[] = "Duplicate Ip In use"


wMan 20th August 2009 15:12

more security sweet btw code works only need a redirect to index after succsesful register(will try to make it but i usualy screw up things :wallbash: )any way thanks


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

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