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.
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...
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)?
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?
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.
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!
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.
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.
@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 :)
i kept getting undefined index, fixed by changing:
if ($_POST['login'])
to
if (isset($_POST['login']))
lionhart3001 1 day ago
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.
GrimeUploads 1 month ago
Hi i need help! when i use the code my form dissapears! Please help!
GrimeUploads 1 month ago
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 ;)
Gabriell0684 2 months ago
Sorry, i mean cookies :)
Gabriell0684 2 months ago
did you know "POST" in higer case is now deprecated, it is now "post"
RyanTheMc 6 months ago
for forms, not the $_POST variable
RyanTheMc 6 months ago
Because there should only be one person with the username in the forum, you don't need a while loop.
killerpacdot 6 months ago
This has been flagged as spam show
Thanks alex, My personal thanks in a video for phpacademy!
watch?v=DTSooY8fqpw
SilverMagics 6 months ago
This has been flagged as spam show
Thanks alex, My personal thanks in a video for phpacademy!
watch?v=DTSooY8fqpw
SilverMagics 6 months ago
very helpful :) thank you good sire :)
puckoster 6 months ago
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.
Gabriell0684 7 months ago
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!
NordlinkMedia 8 months ago 2
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...
fight2Bfree 9 months ago
Hmm.. worked on my website.. talked to some people on Facebook... ate my dinner..
AND THIS VIDEO IS STILL PLAYING..Wow.
Acceptable76 9 months ago
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)?
TomYingel 10 months ago
Great tutorial but for some reason I can no longer stay logged in to my forum! Any ideas why?
coolcam262 10 months ago
This has been flagged as spam show
Hello. I wrote eveything as shown on these videos, now what do I do with it?
CandanosaManga 11 months ago
Why we need a, latin bitch busizz4me.info
DonsanUsake569 11 months ago
This has been flagged as spam show
Commentig out those lines in the functions.php does not create some possible security problems?
Gabriell0684 11 months ago
Comment removed
Gabriell0684 11 months ago
so nice can we also add a style to this*?
SilencioTR 1 year ago
oh this is really great... thank you so much sir... :D
ronnel4080 1 year ago
Cool vid, thanks
samiwistler 1 year ago
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?
onaQuest9 1 year ago
Wow,You have so many videos.I have no time to see all the videos for my clan website.
Runescapez1997 1 year ago
This has been flagged as spam show
My name is Mike from LA Although there busizz4me.info
adeliciaaddisyn 1 year ago
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
Samr3D 1 year ago
Comment removed
Samr3D 1 year ago
Can You integrate the script for Drupal ?
Leri66 1 year ago
I love you accent! ;) No offense of course.
Nice tutorial! I've always wanted to make one!
TheSecOrg 1 year ago
How do I use my login form to login to phpbb?
dllmartinez 1 year ago
How do I use my login form to login to phpbb?
dllmartinez 1 year ago
I keep getting errors, my newest one:
Parse error: syntax error, unexpected T_STRING in /home/a1035081/public_html/login.php on line 60
PlaystationTactics 1 year ago
@PlaystationTactics Pm me your code from line 59 to line 61
cheatonly2win 1 year ago
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/login.php on line 29
PlaystationTactics 1 year ago
@PlaystationTactics put echo mysql_error();
after the mysql_query
and see what error it returns.
cheatonly2win 1 year ago
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.
sawyerandjackfucking 1 year ago
How would i do this in visual basic 8
123thevideo 1 year ago
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.
CptRor 1 year ago
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!
werkeeyo 1 year ago
thanks
opishizzy 1 year ago
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?
flattery103 1 year ago
I definitely agree on that one-
asthma000 1 year ago
i need the function.php file on my server. you went right over it.
jhowel03 1 year ago
Good vid
RazorCCable 2 years ago
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.
TheSquiblo 2 years ago
strange ... it doesn't work for me :/
aspirinemaga 2 years ago
When i try and log-in, i get this php error:
Fatal error: Call to undefined function mysql_qeury() in /home/rsunfair/public_html/login.php on line 23
BasicCompHelp 2 years ago
Fixed it, just a spelling error.
BasicCompHelp 2 years ago
You spelt query wrong :P
Its wrong here: mysql_qeury()
replace it with: mysql_query()
wezrule 2 years ago
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
yamiraan 2 years ago
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 2 years ago 7
@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 :)
Gabriell0684 11 months ago
Will this work for MyBB?
GunskiMod 2 years ago
Nice tutorial! And in HD!
Can't get any beter! Keep it going.
Fuck those: "OMGLOL FIRSTPOST" comments.
lucas199400 2 years ago 13
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 :]
tubefan15 2 years ago 4
I used to! This hopefully will be coming back soon...
phpacademy 2 years ago
first view + first comment :D
nickvth2009 2 years ago
Comment removed
takkieman 2 years ago
This has been flagged as spam show
stfu urself
nickvth2009 2 years ago