Kayıttan Sonra Otomatik Login - Autologin Upon Registration

Eklentiler ile ilgili gelişmeler. Yeni modlar, güncellemeler.

Kayıttan Sonra Otomatik Login - Autologin Upon Registration

İleti CeNK 10.05.2006, 09:44

Tanımı : Kayıttan Sonra Otomatik Login - Autologin Upon Registration


Kod: Tümünü seç
##############################################################
## MOD Title: Autologin Upon Registration
## MOD Author: battye < cricketmx@hotmail.com > (N/A) http://www.online-scrabble.com
## MOD Description: Users get automatically logged in upon registration
## MOD Version: 0.0.2
##
## Installation Level: Easy
## Installation Time: 1 Minute
##
## Files To Edit:       usercp_register.php
##                  usercp_activate.php
##
## Included Files:    -
##
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
##############################################################
## For security purposes, please check: http://www.phpbb.com/mods/
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpbb.com/mods/
##############################################################
## Author Notes: Enjoy :-)
##############################################################
## MOD History:
##
##   2005-12-03 - Version 0.0.1
##      - Easier than I thought :)
##
##   2005-12-08 - Version 0.0.2
##      - Now for email activation too.
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################

#
#---[ OPEN ]-----------------------------
#
includes/usercp_activate.php

#
#---[ FIND ]-----------------------------
# About line 94

         $template->assign_vars(array(
            'META' => '<meta http-equiv="refresh" content="10;url=' . append_sid("index.$phpEx") . '">')
         );

         $message = ( $sql_update_pass == '' ) ? $lang['Account_active'] : $lang['Password_activated'];
         message_die(GENERAL_MESSAGE, $message);
         
#
#---[ REPLACE WITH ]-------------------
#

         $al_session_id = session_begin($row['user_id'], $user_ip, PAGE_INDEX, FALSE, 0, 0);

            if( $al_session_id )
            {
               $meta_redirect_al = '<meta http-equiv="refresh" content="5;url=' . append_sid("index.$phpEx", true) . '">';
            }
               
            else
            {
               $meta_redirect_al = '';
            }
            
         $message = ( $sql_update_pass == '' ) ? $lang['Account_active'] : $lang['Password_activated'];             
         message_die(GENERAL_MESSAGE, $message . $meta_redirect_al);
      
#
#---[ OPEN ]-----------------------------
#
includes/usercp_register.php

#
#---[ FIND ]-----------------------------
# About line 722

         message_die(GENERAL_MESSAGE, $message);
      } // if mode == register

#
#---[ REPLACE WITH ]-------------------
#

               if( $board_config['require_activation'] == USER_ACTIVATION_NONE )
               {
                  $al_session_id = session_begin($user_id, $user_ip, PAGE_INDEX, FALSE, 0, 0);

                  if( $al_session_id )
                  {
                     $meta_redirect_al = '<meta http-equiv="refresh" content="5;url=' . append_sid("index.$phpEx", true) . '">';
                  }
               }
               
               else
               {
               $meta_redirect_al = '';
               }
               
         message_die(GENERAL_MESSAGE, $message . $meta_redirect_al);
      } // if mode == register

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
Kullanıcı avatarı
CeNK
Üye
Üye
 
İleti: 584
Kayıt: 01.11.2005, 15:21
Konum: İstanbul

İleti Pluton 11.05.2006, 10:17

ben kurdum çalışıyo güzelce :d
No CommEnT
Pluton
Üye
Üye
 
İleti: 555
Kayıt: 09.10.2005, 18:51
Konum: Antalya

İleti murtaza 18.05.2006, 12:27

peki aktivasyon maili e-maile gidiyosa
aktive olur olmaz giris yapmismi sayiliyo bu?

Sevgiyle
Ögretmenim canim benim , canim benim...
Seni ben pek cok , pek cok severim.
Sen bir anaaaa , sen bir baabaaaaaa
Kalani neyyydiii yaaa unuttum , bu siirin sözlerini ariyorum...
Kullanıcı avatarı
murtaza
Üye
Üye
 
İleti: 1187
Kayıt: 15.11.2005, 17:15
Konum: Yurt Dışı

Cvp: Kayıttan Sonra Otomatik Login - Autologin Upon Registration

İleti EFE03 21.06.2006, 08:31

aktivasyon kodu kalkarsa güvenlik açısından bir zarar olurmu?
EFE03
Üye
Üye
 
İleti: 302
Kayıt: 09.06.2006, 07:37

Re: Kayıttan Sonra Otomatik Login - Autologin Upon Registration

İleti bluetooth 22.04.2007, 18:23

aktivasyon kodu aslında e-mail adresini doğrulamak içindir güvenlik açısından birşey olmaz
bluetooth
Üye
Üye
 
İleti: 13
Kayıt: 20.06.2006, 15:36

Re:

İleti TheScorpion 17.05.2007, 19:16

murtaza yazdı:peki aktivasyon maili e-maile gidiyosa
aktive olur olmaz giris yapmismi sayiliyo bu?

Sevgiyle

Güzel bir soru ama cevap gelmemiş.
Kullanıcı avatarı
TheScorpion
Üye
Üye
 
İleti: 152
Kayıt: 02.12.2005, 16:45


Duyurular & Güncellemeler



Kimler çevrimiçi

Bu forumu görüntüleyenler: Kayıtlı kullanıcı yok ve 0 misafir

cron