Seite 2 von 2

Verfasst: 15.05.2008 14:37
von DMX200
und wer nicht will das man nach der reg. ins forum sontern ins PORTAL weitergeleitet werden soll einfach so einbauen dann kommt der neue user automaitsch nach 5 sec ins PORTAL

Code: Alles auswählen

#
#---[ 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_PORTAL, FALSE, 0, 0);

				if( $al_session_id )
				{
					$meta_redirect_al = '<meta http-equiv="refresh" content="5;url=' . append_sid("portal.$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_PORTAL, FALSE, 0, 0);

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

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM