Announcement

Collapse
No announcement yet.

what the vBulletindo to the password (integration)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • what the vBulletindo to the password (integration)

    I've been trying to use the VB forum user table in other script and I succeeded
    But every thing goes wrong when I try to use arabic password

    when I use Arabic user name and English password it's OK but I can't Use Arabic password
    even very simple password


    Is there any thing I missed any preparation for the password or is there any other problem ?

    here is the code I have used
    PHP Code:
                            //بداية الربط                        
                            
    function get_VB_Pass($pass$salt)
                                {
                                    
    $passhash md5("$pass"$salt");
                                    return 
    $passhash;
                                }
                            
    $query_salt $kernel->db->row"SELECT salt FROM user u WHERE u.username = '" $kernel->vars['username'] . "'" );
                            
    $row1=$query_salt;
                             
    //$_POST['password']=iconv("UTF-8", "windows-1256",  '$_POST['password']');
                            
    $_POST['password']=md5($_POST['password']);
                            
    $_POST['password']= get_VB_Pass($_POST['password'],$row1['salt']);
                            
    //نهاية الربط 
    I use windows-1256 in the forum and the script
    $salt=w+5.3n[aJT\fSf01c)he6U+L:Pq4kr
    VB-Password=اااااا
    VB-Hash=e00d09fa9be10cbb29dbddfd25c975e5
    as you see I have changed the salt to char(30)
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X