Results 1 to 6 of 6

Thread: anyone combine Indexu 5.0.1 and vbb3.5* well?

  1. #1
    Join Date
    Oct 2005
    Posts
    6

    Thumbs up anyone combine Indexu 5.0.1 and vbb3.5* well?

    hello
    does anyone combine Indexu 5.0.1 and vbb3.5* well?

    thx

  2. #2
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    3,732

    Default

    We're now working on it. It will become standart feature in next release which will be released this month.

    - Single login using in indexu page
    - Single user registration in indexu page
    - No need to change any vbulletin codes, we directly use vbulletin api in indexu codes

  3. #3
    Join Date
    Nov 2004
    Posts
    36

    Default

    Whats wrong with just changing the login functions in indexu to use the user table in vbulletin with the salt and md5? Thats what I did and works fine

  4. #4
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    3,732

    Default

    I'd prefer each have different database so because indexu userpanel is not the same with vbulletin userpanel.

    Perhaps you could help me. I could create script which handle new user registration, login, and logout out site vbulletin directory (it's inside indexu) called vbulletin.php

    PHP Code:
    <?php

    $forum_path 
    "/home/forumnet/www/";

    ///////////////////////////////////////
    chdir($forum_path);
    require_once(
    './global.php');

    //forum_create_newuser('dody1','1dody@nicecoder.com','aku',2);
    //forum_login('dody','aku');
    //forum_logout();

    ///////////////////////////////////////

    function forum_create_newuser($username$email$password$usergroupid=2) {
      global 
    $vbulletin;

      
    $newuser =& datamanager_init('User'$vbulletinERRTYPE_ARRAY);
      
    $newuser->set('username'$username);
      
    $newuser->set('email'$email);
      
    $newuser->set('password'$password);
      
    $newuser->set('usergroupid'$newuserid);
      
      foreach (
    $newuser->errors as $errors) {
        
    $error .= "<li>$errors</li>";
      }
      
      if(empty(
    $error)) {
        
    $newuserid $newuser->save();
        
    //return $newuserid;
      
    }
      else {
        
    //return $error;
      
    }
    }


    function 
    forum_login($username$password) {
      global 
    $vbulletin$forum_path;

      include(
    $forum_path."/includes/functions_login.php");

        
    $strikes verify_strike_status($username);
      if(!
    verify_authentication($username$passwordfalsefalsetruetrue)) { }
      
    exec_unstrike_user($username);
        
    process_new_login($vbulletin->GPC['logintype'], $vbulletin->GPC['cookieuser'], $vbulletin->GPC['cssprefs']);
    }


    function 
    forum_logout() {
      global 
    $vbulletin$forum_path;
      include(
    $forum_path."/includes/functions_login.php");
        
    process_logout();
    }

    ?>
    It work well when i'm running this script itself, but when i include it in indexu pages, it refuse to work. If you have any advice i'd be happy to hear it, i digged vbulletin.org forum and ask there but no one help me

  5. #5
    Join Date
    Oct 2005
    Posts
    6

    Default

    Quote Originally Posted by dody
    We're now working on it. It will become standart feature in next release which will be released this month.

    - Single login using in indexu page
    - Single user registration in indexu page
    - No need to change any vbulletin codes, we directly use vbulletin api in indexu codes
    hi,i have some question

    1.can i use Indexu 5.0.1 now and then update to new released version for combining with vbb well?

    2.vbb 3.5.* is use utf-8,but Indexu 5.0.1 isn't
    how should i do for the Indexu 5.0.1 now?

    thank you

  6. #6
    Join Date
    Oct 2005
    Posts
    6

    Default

    dody

    can you help me answer my question?

    thx

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •