vBulletin Integration

AuveeAuvee BeginnerLink Clerk
I'm from vBulletin.org. I posted this thread : http://www.vbulletin.org/forum/showthread.php?t=75518. Can you explain how you did this, please?

Comments

  • PythonPython Forum Leader The Royal RAM
    ahh yes hello...
    firstly thanks for joining... now heres what you need to do to integrate your site with vbulletin members system:
    <?php
    // INCLUDE FORUM FILE
    require('forum/global.php');
    
    // check for user authentication
    if(!$bbuserinfo[id]){
      echo "Please login";
    die;
    }
    
    // put the rest of your site here
    
    ?>
    

    Ok thats it I think... I havent checked my code though. Basically if there is no user id present then it will display the message please login. If there is one present then that means that there is someone logged in and therefore you want to give them access

    The Royal Ram

Sign In or Register to comment.