Added: 2 years ago
From: phpacademy
Views: 58,513
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (62)

Sign In or Sign Up now to post a comment!
  • i kept getting undefined index, fixed by changing:

    if ($_POST['login'])

    to

    if (isset($_POST['login']))

  • Btw i also wanted to know, is the code up to date, because if i just run the code, i get a blank screen, no error. My database is connected correctly, but for some reason the code i got from your forum isnt doing anything.

  • Hi i need help! when i use the code my form dissapears! Please help!

  • I have a 100% solution of PHPBB login integration with PHPBB sessions and coocies. If anyone want to get it, just PM me, it's for free ;)

  • Sorry, i mean cookies :)

  • did you know "POST" in higer case is now deprecated, it is now "post"

  • for forms, not the $_POST variable

  • Because there should only be one person with the username in the forum, you don't need a while loop.

  • very helpful :) thank you good sire :)

  • I found a way of full session login integration of phpbb into any site. I based my solution on materials provided by the russian phpbb support team.

  • It should be mentioned that at 09:55 the proper approach would be to leave the file intact, and just do the following in the file before you require the functions.php

    define('IN_PHPBB', TRUE);

    that way phpbbs security is intact and you even utilise it in your script, neat!

  • If I type code for 30min and the power goes out and I have to redo it. I am TOTALLY PISSED OFF!!. this guy intentionally DELETES code and rewrites it LOL...

  • Hmm.. worked on my website.. talked to some people on Facebook... ate my dinner..

    AND THIS VIDEO IS STILL PLAYING..Wow.

  • Is this if you have already have an login system (so people do not have to register to PhpBB because you have already there username and password in the other system)?

  • Great tutorial but for some reason I can no longer stay logged in to my forum! Any ideas why?

  • Why we need a, latin bitch busizz4me.info

  • Comment removed

  • so nice can we also add a style to this*?

  • oh this is really great... thank you so much sir... :D

  • Cool vid, thanks

  • Hi alex, I followed your register & login: user login tutorial and want to know If I can integrate that script with this tutorial (phpbb login integration), or do I just replace it with this one?

  • Wow,You have so many videos.I have no time to see all the videos for my clan website.

  • Hi alex thax a lot for your vedio it is so Important for me but I have question for this :

    can we do it just like that :

    if ($password == $password_hash) echo "Success" ; or ...

    else echo "Incorrect Password" ; or ...

    I mean whith out phpbb functions ?

    and thax again

  • Comment removed

  • Can You integrate the script for Drupal ?

  • I love you accent! ;) No offense of course.

    Nice tutorial! I've always wanted to make one!

  • How do I use my login form to login to phpbb?

  • How do I use my login form to login to phpbb?

  • I keep getting errors, my newest one:

    Parse error: syntax error, unexpected T_STRING in /home/a1035081/public_html/log­in.php on line 60

  • @PlaystationTactics Pm me your code from line 59 to line 61

  • I get this error anyone help, If you need I will PM you the code. :)

    Error:

    Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/a1035081/public_html/log­in.php on line 29

  • @PlaystationTactics put echo mysql_error();

    after the mysql_query

    and see what error it returns.

  • Rather than commenting out the protection in the functions.php script, why not just define that var within your login script? I think modifying the libraries that come with PHPbb would be a big no-no.

    Otherwise, cool video.

  • How would i do this in visual basic 8

  • I have a basic question, how would you grab info from the database and randomly echo out a row and when the page is refreshed it echoes out another random row.

  • Alex b4 anything thank you very much for sharing your knowledge i really aprecitate it, you helped me a lot, but i have a question, could you share or explain the function.php part? thanks!

  • thanks

  • instead of commenting out the IN_PHPBB define section of functions.php wouldn't it be better to just define IN_PHPBB?

    This way when you update phpBB you wouldn't have to modify functions.php everytime?

  • I definitely agree on that one-

  • i need the function.php file on my server. you went right over it.

  • Good vid

  • Great tutorials! Although I have a problem with this, I am definately setting the sessions but when clicking back onto the forum, I still need to log in again, Could you please help me with this if you can find any time. Thanks.

  • strange ... it doesn't work for me :/

  • When i try and log-in, i get this php error:

    Fatal error: Call to undefined function mysql_qeury() in /home/rsunfair/public_html/log­in.php on line 23

  • Fixed it, just a spelling error.

  • You spelt query wrong :P

    Its wrong here: mysql_qeury()

    replace it with: mysql_query()

  • hi alex please tell me how can make i mail server

    Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\xampp\htdocs\login\register­.php on line 34

  • I have a question about the script,If you are logged in your web site and go to the forum do you have to log again.I folow the steps in the tutorial and after I go to the forum I am beeing asked to log in again.

    Thanks

  • @ludmil1 This tutorial only helps you tu use the phpbb user database to authenticicate users on your site. I'm workong on the same as you (probably), and after you do everything like in this tutor (actually it's perfect), you will have to manage your site to use the same coockies and session id's as the phpbb uses, and that's the next step i think :)

  • Will this work for MyBB?

  • Nice tutorial! And in HD!

    Can't get any beter! Keep it going.

    Fuck those: "OMGLOL FIRSTPOST" comments.

  • i like your videos ;)

    why dont you have a website to put all your tutorials on a page with the code? that would be great :]

  • I used to! This hopefully will be coming back soon...

  • first view + first comment :D

  • Comment removed

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more