login with phpBB3

  • Bogey
  • Disturbed
  • Genius
  • User avatar
  • Joined: Jul 14, 2005
  • Posts: 7127
  • Loc: Ozzuland
  • Status: Offline

Post July 8th, 2008, 9:00 pm

Alright... I decided to drop the nonsense of creating my own forum and try to integrate my site into phpBB3 somehow... all I need is so, when I register to my site, I register to the forum as well, and if I log-in to my site, I log-in to the forum as well...
Learn PHP | I got 10 PHP tutorials! Check them out!
Dreamtale - Farewell
Just a note... I've giving up on web development and that stuff... Just lost all interest in it.
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post July 8th, 2008, 9:00 pm

  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 22498
  • Loc: Pittsburgh PA
  • Status: Offline

Post July 8th, 2008, 9:47 pm

http://olympuswiki.naderman.de/Adding_pages
"The web is a dominatrix. Every where I turn, I see little buttons ordering me to Submit."
Play sports pools and discuss sports topics at Boasting Rights Sports Forum
Get paid to write articles - www.associatedcontent.com
  • Bogey
  • Disturbed
  • Genius
  • User avatar
  • Joined: Jul 14, 2005
  • Posts: 7127
  • Loc: Ozzuland
  • Status: Offline

Post July 8th, 2008, 9:53 pm

ATNO/TW wrote:
http://olympuswiki.naderman.de/Adding_pages

Awesome ATNO/TW... once again I stepped into territory I should have inhabited a long time ago :D

Thanks so much... saved me a ton of time... bookmarked that page... :D
Learn PHP | I got 10 PHP tutorials! Check them out!
Dreamtale - Farewell
Just a note... I've giving up on web development and that stuff... Just lost all interest in it.
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 22498
  • Loc: Pittsburgh PA
  • Status: Offline

Post July 8th, 2008, 9:55 pm

*smiles
"The web is a dominatrix. Every where I turn, I see little buttons ordering me to Submit."
Play sports pools and discuss sports topics at Boasting Rights Sports Forum
Get paid to write articles - www.associatedcontent.com
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 22498
  • Loc: Pittsburgh PA
  • Status: Offline

Post July 8th, 2008, 9:59 pm

For what it's worth, my Google Search was: phpbb3 site integration

That was the first result.

//You did know that 80% of the answers that I provide here I find on google, right? *wink
"The web is a dominatrix. Every where I turn, I see little buttons ordering me to Submit."
Play sports pools and discuss sports topics at Boasting Rights Sports Forum
Get paid to write articles - www.associatedcontent.com
  • Bogey
  • Disturbed
  • Genius
  • User avatar
  • Joined: Jul 14, 2005
  • Posts: 7127
  • Loc: Ozzuland
  • Status: Offline

Post July 8th, 2008, 10:16 pm

ATNO/TW wrote:
For what it's worth, my Google Search was: phpbb3 site integration

That was the first result.

//You did know that 80% of the answers that I provide here I find on google, right? *wink

lol, I guess I should stop using OZZU as my first stop for answers on all of my questions...
Learn PHP | I got 10 PHP tutorials! Check them out!
Dreamtale - Farewell
Just a note... I've giving up on web development and that stuff... Just lost all interest in it.
  • matts12290
  • Born
  • Born
  • No Avatar
  • Joined: Jul 13, 2008
  • Posts: 3
  • Status: Offline

Post July 13th, 2008, 2:56 pm

hi. i followed the tutorial, but still need some help :/
i wanted to add the login box to my page, but cant figure which variable needs to be defined, or what to put into my template/new_page pages
  • Bogey
  • Disturbed
  • Genius
  • User avatar
  • Joined: Jul 14, 2005
  • Posts: 7127
  • Loc: Ozzuland
  • Status: Offline

Post July 13th, 2008, 3:08 pm

Code: [ Download ] [ Select ]
<!-- IF not S_USER_LOGGED_IN -->
    <h2>Log In</h2>
    <form action="{S_LOGIN_ACTION}" method="post">
    <p class="form"><label for="user2">{L_USERNAME}:</label> <br />
    <label for="pass2">{L_PASSWORD}:</label> </p>
    <p class="form"><input type="text" tabindex="1" name="username" id="user2" size="38" value="{USERNAME}" class="inputbox autowidth" /><br />
    <input type="password" tabindex="2" id="pass2" name="password" size="38" class="inputbox autowidth" /></p>
    <p style="clear: both;"><!-- IF S_AUTOLOGIN_ENABLED --><label for="autologin2">Remember Me <input type="checkbox" name="autologin" id="autologin2" tabindex="4" /></label><!-- ENDIF -->
    <label for="viewonline2">Hide Status <input type="checkbox" name="viewonline" id="viewonline2" tabindex="5" /></label>
    {S_HIDDEN_FIELDS}<input type="submit" name="login" tabindex="6" value="{L_LOGIN}" class="button1" /></p>
    </form>
<!-- ENDIF -->
  1. <!-- IF not S_USER_LOGGED_IN -->
  2.     <h2>Log In</h2>
  3.     <form action="{S_LOGIN_ACTION}" method="post">
  4.     <p class="form"><label for="user2">{L_USERNAME}:</label> <br />
  5.     <label for="pass2">{L_PASSWORD}:</label> </p>
  6.     <p class="form"><input type="text" tabindex="1" name="username" id="user2" size="38" value="{USERNAME}" class="inputbox autowidth" /><br />
  7.     <input type="password" tabindex="2" id="pass2" name="password" size="38" class="inputbox autowidth" /></p>
  8.     <p style="clear: both;"><!-- IF S_AUTOLOGIN_ENABLED --><label for="autologin2">Remember Me <input type="checkbox" name="autologin" id="autologin2" tabindex="4" /></label><!-- ENDIF -->
  9.     <label for="viewonline2">Hide Status <input type="checkbox" name="viewonline" id="viewonline2" tabindex="5" /></label>
  10.     {S_HIDDEN_FIELDS}<input type="submit" name="login" tabindex="6" value="{L_LOGIN}" class="button1" /></p>
  11.     </form>
  12. <!-- ENDIF -->
Learn PHP | I got 10 PHP tutorials! Check them out!
Dreamtale - Farewell
Just a note... I've giving up on web development and that stuff... Just lost all interest in it.
  • matts12290
  • Born
  • Born
  • No Avatar
  • Joined: Jul 13, 2008
  • Posts: 3
  • Status: Offline

Post July 13th, 2008, 3:16 pm

do i place this in my new_page.php or my_template.html??

thansk for the help and quick response :D
  • Bogey
  • Disturbed
  • Genius
  • User avatar
  • Joined: Jul 14, 2005
  • Posts: 7127
  • Loc: Ozzuland
  • Status: Offline

Post July 13th, 2008, 6:57 pm

place that in my_template.html
Learn PHP | I got 10 PHP tutorials! Check them out!
Dreamtale - Farewell
Just a note... I've giving up on web development and that stuff... Just lost all interest in it.
  • matts12290
  • Born
  • Born
  • No Avatar
  • Joined: Jul 13, 2008
  • Posts: 3
  • Status: Offline

Post July 13th, 2008, 8:01 pm

hmm. when i try to login it will not login. just reload the page.
  • Bogey
  • Disturbed
  • Genius
  • User avatar
  • Joined: Jul 14, 2005
  • Posts: 7127
  • Loc: Ozzuland
  • Status: Offline

Post July 14th, 2008, 11:23 am

Try this... check if it changes anything...
Code: [ Download ] [ Select ]
<!-- IF not S_USER_LOGGED_IN and not S_IS_BOT -->
    <form method="post" action="{S_LOGIN_ACTION}" class="headerspace">
    <h3><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a><!-- IF S_REGISTER_ENABLED -->&nbsp; &bull; &nbsp;<a href="{U_REGISTER}">{L_REGISTER}</a><!-- ENDIF --></h3>
        <fieldset class="quick-login">
            <label for="username">{L_USERNAME}:</label>&nbsp;<input type="text" name="username" id="username" size="10" class="inputbox" title="{L_USERNAME}" />
            <label for="password">{L_PASSWORD}:</label>&nbsp;<input type="password" name="password" id="password" size="10" class="inputbox" title="{L_PASSWORD}" />
            <!-- IF S_AUTOLOGIN_ENABLED -->
                | <label for="autologin">{L_LOG_ME_IN} <input type="checkbox" name="autologin" id="autologin" /></label>
            <!-- ENDIF -->
            <input type="submit" name="login" value="{L_LOGIN}" class="button2" />
        </fieldset>
    </form>
<!-- ENDIF -->
  1. <!-- IF not S_USER_LOGGED_IN and not S_IS_BOT -->
  2.     <form method="post" action="{S_LOGIN_ACTION}" class="headerspace">
  3.     <h3><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a><!-- IF S_REGISTER_ENABLED -->&nbsp; &bull; &nbsp;<a href="{U_REGISTER}">{L_REGISTER}</a><!-- ENDIF --></h3>
  4.         <fieldset class="quick-login">
  5.             <label for="username">{L_USERNAME}:</label>&nbsp;<input type="text" name="username" id="username" size="10" class="inputbox" title="{L_USERNAME}" />
  6.             <label for="password">{L_PASSWORD}:</label>&nbsp;<input type="password" name="password" id="password" size="10" class="inputbox" title="{L_PASSWORD}" />
  7.             <!-- IF S_AUTOLOGIN_ENABLED -->
  8.                 | <label for="autologin">{L_LOG_ME_IN} <input type="checkbox" name="autologin" id="autologin" /></label>
  9.             <!-- ENDIF -->
  10.             <input type="submit" name="login" value="{L_LOGIN}" class="button2" />
  11.         </fieldset>
  12.     </form>
  13. <!-- ENDIF -->
Learn PHP | I got 10 PHP tutorials! Check them out!
Dreamtale - Farewell
Just a note... I've giving up on web development and that stuff... Just lost all interest in it.

Post Information

  • Total Posts in this topic: 12 posts
  • Users browsing this forum: No registered users and 172 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© Unmelted Enterprises 1998-2009. Driven by phpBB © 2001-2009 phpBB Group.