login with phpBB3

  • Bogey
  • Disturbed
  • Genius
  • User avatar
  • Joined: 14 Jul 2005
  • Posts: 6646
  • 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...
Matthew 7:12 - "Therefore all things whatsoever ye would that men should do to you, do ye even so to them: for this is the law and the prophets."
  • 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: 28 May 2003
  • Posts: 21849
  • Loc: Pittsburgh PA
  • Status: Online

Post July 8th, 2008, 9:47 pm

"The web is a dominatrix. Every where I turn, I see little buttons ordering me to Submit."
Boasting Rights Sports Forum || Nuclear Services - www.alaron-nuclear.com
  • Bogey
  • Disturbed
  • Genius
  • User avatar
  • Joined: 14 Jul 2005
  • Posts: 6646
  • 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
Matthew 7:12 - "Therefore all things whatsoever ye would that men should do to you, do ye even so to them: for this is the law and the prophets."
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: 28 May 2003
  • Posts: 21849
  • Loc: Pittsburgh PA
  • Status: Online

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."
Boasting Rights Sports Forum || Nuclear Services - www.alaron-nuclear.com
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: 28 May 2003
  • Posts: 21849
  • Loc: Pittsburgh PA
  • Status: Online

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."
Boasting Rights Sports Forum || Nuclear Services - www.alaron-nuclear.com
  • Bogey
  • Disturbed
  • Genius
  • User avatar
  • Joined: 14 Jul 2005
  • Posts: 6646
  • 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...
Matthew 7:12 - "Therefore all things whatsoever ye would that men should do to you, do ye even so to them: for this is the law and the prophets."
  • matts12290
  • Born
  • Born
  • No Avatar
  • Joined: 13 Jul 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: 14 Jul 2005
  • Posts: 6646
  • Loc: Ozzuland
  • Status: Offline

Post July 13th, 2008, 3:08 pm

  1.  
  2. <!-- IF not S_USER_LOGGED_IN -->
  3.     <h2>Log In</h2>
  4.     <form action="{S_LOGIN_ACTION}" method="post">
  5.      <p class="form"><label for="user2">{L_USERNAME}:</label> <br />
  6.      <label for="pass2">{L_PASSWORD}:</label> </p>
  7.      <p class="form"><input type="text" tabindex="1" name="username" id="user2" size="38" value="{USERNAME}" class="inputbox autowidth" /><br />
  8.      <input type="password" tabindex="2" id="pass2" name="password" size="38" class="inputbox autowidth" /></p>
  9.      <p style="clear: both;"><!-- IF S_AUTOLOGIN_ENABLED --><label for="autologin2">Remember Me <input type="checkbox" name="autologin" id="autologin2" tabindex="4" /></label><!-- ENDIF -->
  10.      <label for="viewonline2">Hide Status <input type="checkbox" name="viewonline" id="viewonline2" tabindex="5" /></label>
  11.      {S_HIDDEN_FIELDS}<input type="submit" name="login" tabindex="6" value="{L_LOGIN}" class="button1" /></p>
  12.     </form>
  13. <!-- ENDIF -->
  14.  
Matthew 7:12 - "Therefore all things whatsoever ye would that men should do to you, do ye even so to them: for this is the law and the prophets."
  • matts12290
  • Born
  • Born
  • No Avatar
  • Joined: 13 Jul 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: 14 Jul 2005
  • Posts: 6646
  • Loc: Ozzuland
  • Status: Offline

Post July 13th, 2008, 6:57 pm

place that in my_template.html
Matthew 7:12 - "Therefore all things whatsoever ye would that men should do to you, do ye even so to them: for this is the law and the prophets."
  • matts12290
  • Born
  • Born
  • No Avatar
  • Joined: 13 Jul 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: 14 Jul 2005
  • Posts: 6646
  • Loc: Ozzuland
  • Status: Offline

Post July 14th, 2008, 11:23 am

Try this... check if it changes anything...
  1.  
  2. <!-- IF not S_USER_LOGGED_IN and not S_IS_BOT -->
  3.     <form method="post" action="{S_LOGIN_ACTION}" class="headerspace">
  4.     <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>
  5.         <fieldset class="quick-login">
  6.             <label for="username">{L_USERNAME}:</label>&nbsp;<input type="text" name="username" id="username" size="10" class="inputbox" title="{L_USERNAME}" />  
  7.             <label for="password">{L_PASSWORD}:</label>&nbsp;<input type="password" name="password" id="password" size="10" class="inputbox" title="{L_PASSWORD}" />
  8.             <!-- IF S_AUTOLOGIN_ENABLED -->
  9.                 | <label for="autologin">{L_LOG_ME_IN} <input type="checkbox" name="autologin" id="autologin" /></label>
  10.             <!-- ENDIF -->
  11.             <input type="submit" name="login" value="{L_LOGIN}" class="button2" />
  12.         </fieldset>
  13.     </form>
  14. <!-- ENDIF -->
  15.  
Matthew 7:12 - "Therefore all things whatsoever ye would that men should do to you, do ye even so to them: for this is the law and the prophets."

Post Information

  • Total Posts in this topic: 12 posts
  • Moderator: Moderator Team
  • Users browsing this forum: No registered users and 78 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.