- e-mail

 

 -

   FladeX

 -

 LiveInternet.ru:
: 23.02.2007
:
:
: 209

:

(0)

phpBB danneo cms,

, 28 2008 . 01:58 +
- Gvozdodr -
phpBB 2 danneo cms.
, - . 2 , ( ).
:
includes/usercp_register.php

PHP:

$unhtml_specialchars_replace 
= array('>''<''"''&');
font>



PHP:

// for integration with danneo
$dncms_prefix "dn052";
font>



( 657)
PHP:

$group_id 
$db->sql_nextid();
font>



PHP:

// for integration with danneo
            
$sql "INSERT INTO " $dncms_prefix "_users    (userid, uname, upass, umail, regdate, lastvisit, icq, msn, www, newpass, activate, active, blocked)
                VALUES (
$user_id, '" str_replace("'""''"$username) . "', '" str_replace("'""''"$new_password) . "', '" str_replace("'""''"$email) . "',  " time() . ",  " time() . ", '" str_replace("'""''"$icq) . "', '" str_replace("'""''"$msn) . "', '" str_replace("'""''"$website) . "', '', 0, 1, 0);
            if ( !(
$result = $db->sql_query($sql)) )
            {
                message_die(GENERAL_ERROR, 'Could not insert data into danneo cms users table', '', __LINE__, __FILE__, 
$sql);
         &nb


.

.
1. id . , id.
2. dn052 .
phpBB / Slaed / danneo

:  
(0)

phpBB danneo cms,

, 01 2008 . 00:06 +
- Spatorna - NuclearDevice
Danneo cms phpBB 3.0.x. , - -. _users , . ? , phpBB , cms md5. , .
. , . , .
, . danneo .
includes/ucp/ucp_register.php
( 327-328)
PHP:

'user_inactive_time'    => $user_inactive_time,
);
font>


, :
PHP:

// for danneo's table [by FladeX]
$user_cmspass md5($data['new_password']);
font>


( 331)
PHP:

$user_id 
user_add($user_row$cp_data);
font>


,
PHP:

// Duplicate user in cms database [by FladeX]
cmsuser_add($user_row$user_id$user_cmspass);
font>


includes/functions_user.php
( 296-297):
PHP:

return $user_id;
}
font>


,
PHP:

function cmsuser_add($user_row$user_id$user_cmspass)
{
global 
$db$user$auth$config$phpbb_root_path$phpEx;
$username $user_row['username'];
$user_email strtolower($user_row['user_email']);
$user_regdate $user_row['user_regdate'];
$sql "INSERT INTO danneo_users (userid, uname, upass, umail, regdate, activate) VALUES ('$user_id', '$username', '$user_cmspass', '$user_email', '$user_regdate', 1)";
$db->sql_query($sql);
}
font>


.

.
1. "danneo" danneo.
2. id . id phpBB id danneo. id .
3. utf-8 (unicode)
phpBB / Slaed / danneo

:  
(7)

Danneo cms

, 01 2008 . 22:52 +
- Spatorna -
cms, slaed'a. danneo cms. , . :
* open source ( ), ,
* gpl2,
* , phpBB 3
* , , -
* + "" .

, , ( ) . - , - , xhtml 1.0 strict.

- danneo cms 0.52

, .
- http://danneo.com/
- http://danneo.com/forum/
, ( FladeX).
phpBB / Slaed / danneo

:  

 : [1]