Search found 16 matches

by Altutto
Wed Sep 04, 2013 6:17 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Login integration
Replies: 26
Views: 2824

Re: Login integration

Sorry again, I've got an other problem :roll: My script should extract a number from the column livello_ef into the table avphpbb_users and compare it with the column livello_ef into the table Fluent_english, display the matching sentence and checking if it's right. But it shows "error!". <!-- INCLU...
by Altutto
Mon Sep 02, 2013 8:32 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Login integration
Replies: 26
Views: 2824

Re: Login integration

Yes, you're right ;)
It works!!!!!!! :D
Finally! I tried to make it work for days!
Thank you very much!
by Altutto
Mon Sep 02, 2013 8:24 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Login integration
Replies: 26
Views: 2824

Re: Login integration

Thank you very much, I'm going to try it tomorrow :)
by Altutto
Mon Sep 02, 2013 8:11 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Login integration
Replies: 26
Views: 2824

Re: Login integration

Now it works, it shows me the text "please login" :)
thank you!
Please could you repeat the code that you used?
by Altutto
Mon Sep 02, 2013 7:59 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Login integration
Replies: 26
Views: 2824

Re: Login integration

It shows me this: [phpBB Debug] PHP Warning: in file [ROOT]/includes/session.php on line 1042: Cannot modify header information - headers already sent by (output started at /home/cyberosi/public_html/phpbbace.com/test/test/index.php:1) [phpBB Debug] PHP Warning: in file [ROOT]/includes/session.php o...
by Altutto
Mon Sep 02, 2013 7:45 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Login integration
Replies: 26
Views: 2824

Re: Login integration

Yes, I meant that, sorry, I'm not English.
Anyway, the code still doesn't work and it shows the same error :(
by Altutto
Mon Sep 02, 2013 5:52 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Login integration
Replies: 26
Views: 2824

Re: Login integration

But is maintaining it into the /test/test folder right?
by Altutto
Mon Sep 02, 2013 5:11 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Login integration
Replies: 26
Views: 2824

Re: Login integration

So I'm removing it.
phpBB is located in /f, my script is in /test/test, should I move the directory "test" into "f"?
by Altutto
Mon Sep 02, 2013 5:06 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Login integration
Replies: 26
Views: 2824

Re: Login integration

So

Code: Select all

  $phpbb_root_path = . './f';
Is correct?
by Altutto
Mon Sep 02, 2013 4:31 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Login integration
Replies: 26
Views: 2824

Re: Login integration

You're right, I corrected the code with

Code: Select all

    $phpbb_root_path = dirname(__FILE__) . '././f';
by Altutto
Mon Sep 02, 2013 4:27 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Login integration
Replies: 26
Views: 2824

Re: Login integration

I hadn't tought about that.
I modified the line of the root path as this:

Code: Select all

    $phpbb_root_path = dirname(__FILE__) . '.../.../f';
But it doesn't work anyway
by Altutto
Mon Sep 02, 2013 3:48 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Login integration
Replies: 26
Views: 2824

Re: Login integration

Sorry, I haven't understood what I have to do.
Please, can you explain it to me?
by Altutto
Mon Sep 02, 2013 3:36 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Login integration
Replies: 26
Views: 2824

Re: Login integration

I tried both, they give the same error on the line
$user->session_begin();
"Fatal error: Call to a member function session_begin() on a non-object" :cry:
by Altutto
Mon Sep 02, 2013 1:42 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Login integration
Replies: 26
Views: 2824

Login integration

I tried to integrate phpbb login with an other application developed by me with this code: <?php define('IN_PHPBB', true); $phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : 'http://altutto.altervista.org/f/'; $phpEx = substr(strrchr(__FILE__, '.'), 1); include($phpbb_root_path . 'c...
by Altutto
Sat Aug 24, 2013 1:37 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Encoding Password
Replies: 0
Views: 85

Encoding Password

Hello everybody, I'm a newbie and I tried to adapt this log-in code to my phpbb forum without success: <html> <head> <title>Login</title> </head> <body> <?php if(isset($_POST['username']) and isset($_POST['password'])){ $username = $_POST['username']; $password = $_POST['password']; } else{echo 'Ple...

Go to advanced search