Author Topic: Integration 4images 1.7.x / phpBB  (Read 656519 times)

0 Members and 1 Guest are viewing this topic.

Offline medo007

  • Newbie
  • *
  • Posts: 29
  • Internet addict
    • View Profile
Re: Integration 4images 1.7.x / phpBB
« Reply #465 on: September 17, 2006, 03:47:24 PM »
The integration works!

But! I have a big problem! My 4images gallery don't recognize GD library installed on server and phpBB is!

Somebody knows where is the problem?  :cry:
mEDO

Offline knsin0

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
Re: Integration 4images 1.7.x / phpBB
« Reply #466 on: September 20, 2006, 08:41:15 PM »
yes, that was a concern however.

The user password link still works the only problems I have are with the session management in 4images and the login link that redirects to a url with an extra http://sitename.com/

I know its a minor change required I just cant remember what it was, and since the link isn't working a cant look it up...

i have the same problem, help please  :(

Offline Mahonni

  • Newbie
  • *
  • Posts: 11
    • View Profile
    • Forum Boher.cat
Re: Integration 4images 1.7.x / phpBB
« Reply #467 on: September 20, 2006, 10:52:43 PM »
I use 4images version 1.7.3 and phpbb version 2.0.21
Everything is fine but it seems as if no cookies are set. Every time I close the page and reopen it I stay logged in (seems like) but as soon as I go away from the main page I am suddenly logged out.

Can somebody help me?

I have the same problem!


Can somebody help us?

Same problem with me, surely someone reading this can help out, I get the feeling it should be a simple fix but for those of us with little php knowledge it's impossible.

I'm another one with that problem, doesn't anyone know how to solve it?? Thank you!

By the way, for the ones that have the redirect problem when login, I know I had the same problem and the solution was in this thread, I'm pretty sure.

EDIT: If it helps, I have 4images 1.7.2 and phpBB 2.0.20

Offline knsin0

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
Re: Integration 4images 1.7.x / phpBB
« Reply #468 on: September 20, 2006, 11:54:46 PM »
Quote

By the way, for the ones that have the redirect problem when login, I know I had the same problem and the solution was in this thread, I'm pretty sure.

EDIT: If it helps, I have 4images 1.7.2 and phpBB 2.0.20

thanks!! i have found it, over here:
http://www.4homepages.de/forum/index.php?topic=9917.msg31328#msg31328   :D :D

Offline Mahonni

  • Newbie
  • *
  • Posts: 11
    • View Profile
    • Forum Boher.cat
Re: Integration 4images 1.7.x / phpBB
« Reply #469 on: September 21, 2006, 12:01:51 AM »
Quote

By the way, for the ones that have the redirect problem when login, I know I had the same problem and the solution was in this thread, I'm pretty sure.

EDIT: If it helps, I have 4images 1.7.2 and phpBB 2.0.20

thanks!! i have found it, over here:
http://www.4homepages.de/forum/index.php?topic=9917.msg31328#msg31328   :D :D

You're welcome, although you're the one who found it ;). Maybe we should put a post with the links to the solutions since it's really hard to search for a solution in all the 31 pages...:P

Offline Xaser

  • Pre-Newbie
  • Posts: 9
  • 3D CG FreeLancer
    • View Profile
Re: Integration 4images 1.7.x / phpBB
« Reply #470 on: September 23, 2006, 07:10:08 PM »
Hi. I install new PHPBB Forum 3.0 Beta.  :D Today this is the most contemporary forum in the world.  :lol: But I must note that “phpbb_sessions” table structure is changed.  :(
I made some changes for these variables in sessions.php  :wink:

$url_register      = $url_app."ucp.php?mode=register";
$url_lost_password = $url_app."ucp.php?mode=sendpassword";
$url_control_panel = $url_app."ucp.php?mode=editprofile";
$url_mailform      = $url_app."ucp.php?mode=email&u={user_id}";
$url_show_profile  = $url_app."ucp.php?mode=viewprofile&u={user_id}";
$url_login         = $url_app."ucp.php?mode=login";
$url_logout        = $url_app."ucp.php?mode=login?logout=true";

sessions.php needs some modification, when it create or update session data in "phpbb_sessions table".  8O  

   //
     // Create or update the session
     //
     $sql = "UPDATE " . SESSIONS_TABLE . "
        SET session_user_id = $user_id, session_start = $this->current_time, session_time = $this->current_time, session_page = $page_id, session_logged_in = $login
        WHERE session_id = '" . $this->session_id . "'
           AND session_ip = '$user_ip'";
     if ( !$site_db->query($sql) || !$site_db->affected_rows() )
     {
        $this->session_id = md5(uniqid($user_ip));

        $sql = "INSERT INTO " . SESSIONS_TABLE . "
           (session_id, session_user_id, session_start, session_time, session_ip, session_page, session_logged_in)
           VALUES ('$this->session_id', $user_id, $this->current_time, $this->current_time, '$user_ip', $page_id, $login)";
        $site_db->query($sql);
     }
If someone can help with this problem it will be grate!!! For many users this Mod is very necessary.
I’m using 4image Gallery 1.72 + Modes and PHPBB 3.0 Beta2.
I tried to correct it itself, but it did not come out.   Please, help someone!!! :cry:
« Last Edit: September 23, 2006, 07:21:13 PM by Xaser »
3D MONSTER

Offline medo007

  • Newbie
  • *
  • Posts: 29
  • Internet addict
    • View Profile
Re: Integration 4images 1.7.x / phpBB
« Reply #471 on: September 25, 2006, 10:05:53 AM »
The integration works!

But! I have a big problem! My 4images gallery don't recognize GD library installed on server and phpBB is!

Somebody knows where is the problem?  :cry:

That happen after integration!  :D

Can anyone help me?
mEDO

Offline Mahonni

  • Newbie
  • *
  • Posts: 11
    • View Profile
    • Forum Boher.cat
Re: Integration 4images 1.7.x / phpBB
« Reply #472 on: September 26, 2006, 07:12:57 PM »
I use 4images version 1.7.3 and phpbb version 2.0.21
Everything is fine but it seems as if no cookies are set. Every time I close the page and reopen it I stay logged in (seems like) but as soon as I go away from the main page I am suddenly logged out.

Can somebody help me?

I have the same problem!


Can somebody help us?

Same problem with me, surely someone reading this can help out, I get the feeling it should be a simple fix but for those of us with little php knowledge it's impossible.

Can anybody help us with our problem?  I'm afraid we'll have to wait until people move to the final phpBB 3.0 release... :S

Offline Mahonni

  • Newbie
  • *
  • Posts: 11
    • View Profile
    • Forum Boher.cat
Re: Integration 4images 1.7 / phpBB
« Reply #473 on: September 27, 2006, 07:47:13 PM »
Ok, I've tried what Jan said in a post in the page 9, but also didn't work. I don't know if something has improved since I always entered first in the gallery and I don't know if I didn't notice the following or if the solution in page 9 worked: If I login, close the navigator, open again and go to the gallery it seems like I'm logged in BUT if I refresh the page or just click a link I get logged out. However, if after opening the navigator I go to the forum everything works fine, I don't get logged out.

I've seen that once I'm logged in I've got a cookie called xxxx@yyyy[1].txt BUT when I go to the gallery after closing the navigator the cookie changes its name and its content (slightly) to xxxx@yyyy[2].txt (checked in IE).

Any idea would be really appreciated.

Offline highde

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: Login problem in 4images (phpBB integrated)
« Reply #474 on: September 29, 2006, 01:25:37 PM »
same problem....

Offline highde

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: Integration 4images 1.7.x / phpBB
« Reply #475 on: September 29, 2006, 01:30:37 PM »
Bekomme bei 4images beim einloggen 404 fehler.
was tun.
Lind vom ersten Post tut nicht mehr.

Offline medo007

  • Newbie
  • *
  • Posts: 29
  • Internet addict
    • View Profile
Re: Integration 4images 1.7.x / phpBB
« Reply #476 on: October 03, 2006, 09:30:45 PM »
I have a big problem! My 4images gallery don't recognize GD library installed on server and phpBB is!

Somebody knows where is the problem? Can someone help me? Please!  :cry:
mEDO

Offline Xaser

  • Pre-Newbie
  • Posts: 9
  • 3D CG FreeLancer
    • View Profile
Re: Integration 4images 1.7.x / phpBB
« Reply #477 on: October 03, 2006, 10:39:04 PM »
Hi. I install new PHPBB Forum 3.0 Beta.  :D Today this is the most contemporary forum in the world.  :lol: But I must note that “phpbb_sessions” table structure is changed.  :(
I made some changes for these variables in sessions.php  :wink:

$url_register      = $url_app."ucp.php?mode=register";
$url_lost_password = $url_app."ucp.php?mode=sendpassword";
$url_control_panel = $url_app."ucp.php?mode=editprofile";
$url_mailform      = $url_app."ucp.php?mode=email&u={user_id}";
$url_show_profile  = $url_app."ucp.php?mode=viewprofile&u={user_id}";
$url_login         = $url_app."ucp.php?mode=login";
$url_logout        = $url_app."ucp.php?mode=login?logout=true";

sessions.php needs some modification, when it create or update session data in "phpbb_sessions table".  8O  

   //
     // Create or update the session
     //
     $sql = "UPDATE " . SESSIONS_TABLE . "
        SET session_user_id = $user_id, session_start = $this->current_time, session_time = $this->current_time, session_page = $page_id, session_logged_in = $login
        WHERE session_id = '" . $this->session_id . "'
           AND session_ip = '$user_ip'";
     if ( !$site_db->query($sql) || !$site_db->affected_rows() )
     {
        $this->session_id = md5(uniqid($user_ip));

        $sql = "INSERT INTO " . SESSIONS_TABLE . "
           (session_id, session_user_id, session_start, session_time, session_ip, session_page, session_logged_in)
           VALUES ('$this->session_id', $user_id, $this->current_time, $this->current_time, '$user_ip', $page_id, $login)";
        $site_db->query($sql);
     }
If someone can help with this problem it will be grate!!! For many users this Mod is very necessary.
I’m using 4image Gallery 1.72 + Modes and PHPBB 3.0 Beta2.
I tried to correct it itself, but it did not come out.   Please, help someone!!! :cry:
3D MONSTER

Offline knsin0

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
Re: Integration 4images 1.7.x / phpBB [logout redirect]
« Reply #478 on: October 08, 2006, 12:50:27 AM »
i have perfectly integrated this mod and work great but when you are in the 4image zone and you click the logout link it goes to the forum index, how can i change that?

i want that when you click the logout link it goes to de index of 4image, not to the forum  :? 8O

Offline dennist

  • Pre-Newbie
  • Posts: 6
    • View Profile
Re: Integration 4images 1.7.x / phpBB
« Reply #479 on: October 11, 2006, 05:17:52 PM »
I use 4images version 1.7.3 and phpbb version 2.0.21
Everything is fine but it seems as if no cookies are set. Every time I close the page and reopen it I stay logged in (seems like) but as soon as I go away from the main page I am suddenly logged out.

Can somebody help me?

I have the same problem!


Can somebody help us?

Same problem with me, surely someone reading this can help out, I get the feeling it should be a simple fix but for those of us with little php knowledge it's impossible.

Can anybody help us with our problem?  I'm afraid we'll have to wait until people move to the final phpBB 3.0 release... :S

Isn´t anybody able to help us with our problem?

With the firefox browser everything works perfect, but with Internet Explorer we have the problems which are described above.

It would be very kind.


Dennis