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

0 Members and 2 Guests are viewing this topic.

Offline BartAfterDark

  • Hero Member
  • *****
  • Posts: 520
    • View Profile
Re: Integration 4images 1.7 / phpBB
« Reply #375 on: December 08, 2005, 10:46:31 PM »
It works just fine with 1.7.1 :)
Did you edit the sessions.php file?

Will this work with 4images 1.7.1 and phpBB 2.0.18?

Both of those versions are the newest versions. I have been googleing and searching this forum translated in english and i still can not find that anser. also i tryed to do the intergration anyways and every time i went to log in it sent me to a link like this

http://www.example.com/phpbb2/http://www.example.com/phpbb2/login.php='123451235187258917823891

or something along those lines.

if i pressed refresh it would log me in but whenever i did it thats what happend. Any clue?
would it be better if i used a older version of phpbb? or if i used 4images 1.7 since it doesnt seem there are any mods for 1.7.1? Thanks a ton!

Offline maziggy

  • Newbie
  • *
  • Posts: 38
    • View Profile
Re: Integration 4images 1.7 / phpBB
« Reply #376 on: December 21, 2005, 02:09:55 PM »
Is there any way to intergrate 4images and phpBB when using different databases which will run also on different hosts ? I would like to achieve that the user login information from phpBB will also be used for 4images which will run on a different host/domain.

Thanks, Martin

Offline BartAfterDark

  • Hero Member
  • *****
  • Posts: 520
    • View Profile
Re: Integration 4images 1.7 / phpBB
« Reply #377 on: December 22, 2005, 12:12:50 AM »
I've got a new problem :/
When I sellect Log me on automatically next visit?
Close the browser window and opens the site again, it is not logged in.
you can see for your self here www.bran.dk (try and register)
Hope someone can help me out

 - lars

Offline maziggy

  • Newbie
  • *
  • Posts: 38
    • View Profile
Re: Integration 4images 1.7 / phpBB
« Reply #378 on: December 22, 2005, 10:00:35 AM »
Is there any way to intergrate 4images and phpBB when using different databases which will run also on different hosts ? I would like to achieve that the user login information from phpBB will also be used for 4images which will run on a different host/domain.

Thanks, Martin


Can someone please let me know ? Thanks in advance.

Offline R2Pre2

  • Pre-Newbie
  • Posts: 4
    • View Profile
Re: Integration 4images 1.7 / phpBB
« Reply #379 on: December 22, 2005, 11:49:42 AM »
Hi! Folgendes: Habs geschafft, das Album ins forum zu integrieren. Funtzt alles bestens. Bis auf die Tatsache, dass ich im Album keinen Zugriff mehr aufs Control Panel hab. Sprich das Album akzeptiert mich nicht mehr als Admin. Einloggen übers Album geht ja nicht mehr.

Was muss ich tun? Bitte um Hilfe!

MFG Matthias!

Offline BartAfterDark

  • Hero Member
  • *****
  • Posts: 520
    • View Profile
Re: Integration 4images 1.7 / phpBB
« Reply #380 on: December 22, 2005, 01:22:53 PM »
did you edit the level things?

Hi! Folgendes: Habs geschafft, das Album ins forum zu integrieren. Funtzt alles bestens. Bis auf die Tatsache, dass ich im Album keinen Zugriff mehr aufs Control Panel hab. Sprich das Album akzeptiert mich nicht mehr als Admin. Einloggen übers Album geht ja nicht mehr.

Was muss ich tun? Bitte um Hilfe!

MFG Matthias!

Offline Scotty

  • Pre-Newbie
  • Posts: 1
    • View Profile
    • www.e-hahn.de
Re: Integration 4images 1.7 / phpBB
« Reply #381 on: December 22, 2005, 07:08:25 PM »
Welche Tabellen kann man denn nun nach der Integration ins phpBB wieder löschen? Ich hab jetzt nur "4images_sessions" und "4images_users" gelöscht, die sind dann ja überflüssig, war da noch was?

Das Stubentiger Forum
Die Community rund um unseren Stubentiger
www.stubentiger-forum.de

Offline R2Pre2

  • Pre-Newbie
  • Posts: 4
    • View Profile
Re: Integration 4images 1.7 / phpBB
« Reply #382 on: December 22, 2005, 07:18:51 PM »
i edited the usre levels how it's described in the integration guide

user levels in gallery:

// User levels
define('GUEST', -1);
define('USER_AWAITING', -1);
define('USER', 0);
define('ADMIN', 1);

Offline BartAfterDark

  • Hero Member
  • *****
  • Posts: 520
    • View Profile
Re: Integration 4images 1.7 / phpBB
« Reply #383 on: December 22, 2005, 09:34:05 PM »
And the admins userlevel is level 1 when you check it with phpMyAdmin?

i edited the usre levels how it's described in the integration guide

user levels in gallery:

// User levels
define('GUEST', -1);
define('USER_AWAITING', -1);
define('USER', 0);
define('ADMIN', 1);

Offline R2Pre2

  • Pre-Newbie
  • Posts: 4
    • View Profile
Re: Integration 4images 1.7 / phpBB
« Reply #384 on: December 23, 2005, 12:25:45 PM »
Quote
And the admins userlevel is level 1 when you check it with phpMyAdmin?

yes

Offline BartAfterDark

  • Hero Member
  • *****
  • Posts: 520
    • View Profile
Re: Integration 4images 1.7 / phpBB
« Reply #385 on: December 23, 2005, 07:03:41 PM »
Strange.
And what does it exatly say?
and did you try to add another user with admin rights?

Quote
And the admins userlevel is level 1 when you check it with phpMyAdmin?

yes

Offline R2Pre2

  • Pre-Newbie
  • Posts: 4
    • View Profile
Re: Integration 4images 1.7 / phpBB
« Reply #386 on: December 24, 2005, 10:22:51 AM »
ok, i solved the Problem. I added a new user in the forum with admin rights, then i deleted my old username and changed the new username into the old one. Now I've got access to the control Panel from the gallery.

MFG Matthias!

Offline gordonzworld

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: Integration 4images 1.7 / phpBB
« Reply #387 on: December 26, 2005, 05:40:05 AM »
Not sure if this has been answered, but theres a bug when attempting to logout via 4images in phpbb 2.0.+..
This can be resolved by opening includes/sessions.php in your 4images folder.
Find "$url_logout"

In line find:

?logout=true

After inline add:

&sid=".$_COOKIE["phpbb2mysql_sid"]."

It should look like this when your done:
$url_logout        = $url_app."login.php?logout=true&sid=".$_COOKIE["phpbb2mysql_sid"]."";

What where doing is pulling the cookie SID for phpbb2 and placeing it in the logout link in 4image.
There was also another method which would be to modify the phpbb2 login.php page which removes the sid check,
this is not recomended, and can create a security hole..

Hope this helps,
Gordon

Offline gordonzworld

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: Integration 4images 1.7 / phpBB
« Reply #388 on: December 26, 2005, 05:42:28 AM »
Note on last post:
If that does not pull the sid, create a new php file
in this file post this code:
Code: [Select]
<?PHP
phpinfo();
?>
and search for phpbb
you will see something like phpbb2mysql_sid.
That will be the cookie code..

L8r,
Gordon
--
http://www.gordonzworld.com

Offline maziggy

  • Newbie
  • *
  • Posts: 38
    • View Profile
Re: Integration 4images 1.7 / phpBB
« Reply #389 on: December 29, 2005, 01:16:22 PM »
Is there any way to intergrate 4images and phpBB when using different databases which will run also on different hosts ? I would like to achieve that the user login information from phpBB will also be used for 4images which will run on a different host/domain.

Thanks, Martin


Can someone please let me know ? Thanks in advance.

No answer to my question so far. Can someone please ?

Thanks, Martin