Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2007
    Location
    Italy
    Posts
    50
    Tokens
    0

    Default PHPBB as User System....

    I have heard that you can use PhpBB as an User System for your website and protect your pages just like a normal user system...
    who knows something about it??????

  2. #2
    Join Date
    Jul 2005
    Location
    Bristol
    Posts
    2,054
    Tokens
    -10

    Latest Awards:

    Default

    Why not just get a user system ?

  3. #3
    Join Date
    Oct 2006
    Location
    London
    Posts
    342
    Tokens
    0

    Default

    I don't use PHBB but i could take a look. Try this or simular

    Following is coded to work with most forums

    <?php
    chdir('forums');
    require './global.php'; // Path to either global or member page. for example this is http://www.example.com/forums/global.php
    ?>

    <!Doctype...>
    <html>
    <head>
    </head>
    <body>
    <?php

    if($variable_for_the_current_Session)
    {
    // The user is logged in content here for logged in users to see.
    echo "HTML here, or to show nothing leave blank. Only use ' in here and not double quotes. If you have to use double quotes write like this \". When you have put the HTML here close like this";
    }
    else // else, well work it out. Not logged in. I've included a login form
    {

    echo "<form action='forums/member.php' method='post' target='logintarget' onsubmit='submitted()'>

    <input type='hidden' name='url' value='http://www.habbohalaxy.com/en.php' />
    <input type='hidden' name='action' value='do_login'>
    <table border='0' cellpadding='0' style='border-collapse: collapse' width='100&#37;' id='table1'>
    <tr>
    <td style='padding-bottom: 4px'>Username</td>
    <td style='padding-bottom: 4px'><input type='text' name='username' size='17' maxlength='30' style='font-family: Verdana; font-size: 8pt; border: 1px solid #000000' tabindex='1' /></td>
    </tr>
    <tr>
    <td>Password</td>
    <td><input type='password' name='password' size='17' style='font-family: Verdana; font-size: 8pt; border: 1px solid #000000' /></td>
    </tr>
    </table>";
    ?>
    </body>
    </html>

    Change username to whatever the var is for your forum.

    This will only help if you are very good at php

    If you can change to MYBB and i will be able to help you fully.
    Last edited by Nether$; 30-03-2007 at 03:54 PM.

Posting Permissions

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