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

0 Members and 1 Guest are viewing this topic.

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Integration 4images 1.7.x / phpBB
« on: August 29, 2002, 05:32:54 PM »
Hier sind nun die angekündigten Dateien für die Integration von 4images 1.7 und phpBB. Eine Installationsanleitung ist im Zip enthalten (Wichtig: Die Installations-Hinweise lesen!).
Die Integration ist experimentell. Bugs bitte hier posten.
-----
Here are the files for the integration of 4images 1.7 and phpBB. Instructions for installation are included (Important: Please read the installation notes!).
The integration experimental. Please post Bugs here.

Download: integration_phpbb.zip

----

If you have problems with redirecting back to the gallery after login (404 Error), try this:
http://www.4homepages.de/forum/index.php?topic=1658.msg31328#msg31328
« Last Edit: December 06, 2007, 02:01:08 PM by kai »
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline bag53

  • Jr. Member
  • **
  • Posts: 62
    • View Profile
Integration 4images 1.7 / phpBB
« Reply #1 on: August 30, 2002, 09:27:11 AM »
You changed:

Code: [Select]

define('GUEST', -1);
define('USER_AWAITING', 1);
define('USER', 2);
define('ADMIN', 9);


to

Code: [Select]

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


In the installation notes you said:

Quote
We recommend you to use integration only with fresh new installations of 4images because of the following reason: In the 4images user-table User A has the User-ID "1". After integration 4images will use the user-table of phpBB. There, the User A has the User-ID "2" and User B the User-ID "1". All images, comments and usergroup memberships are now "owned" by User B.


If I created a user and set it to "User (Not Activated)" before I installed the mod, that user will have User-ID "1". After the mod install, that same user will still be User-ID "1" which is admin rights. Correct? Then I could go through the users and set them to the correct level.

This won't solve the comment and image ownership problems, but I would rather delete all comments then force everyone to reregister. I only have two images uploaded by someone else also.

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Integration 4images 1.7 / phpBB
« Reply #2 on: August 30, 2002, 09:42:46 AM »
No, User-ID is not User-Level. User-ID is the unique ID generated in the database. See the tabe 4images_user -> user_id.

Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline bag53

  • Jr. Member
  • **
  • Posts: 62
    • View Profile
Integration 4images 1.7 / phpBB
« Reply #3 on: August 30, 2002, 09:56:39 AM »
Ahh. Ok, I get it now. I didn't think it would be that simple.

Offline dabri

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
    • http://www.12geschworene.de
Integration 4images 1.7 / phpBB
« Reply #4 on: August 30, 2002, 10:35:19 AM »
Hallo Jan,

wollte mich nur bedanken! Es klappt prima mit der Integration!

Selbst automatisches Login wird von beiden System erkannt. Mehr als ich erwartet habe.  :wink:  Respekt für Deine Arbeit!!


Danke & Gruß Daniel

Offline mahou

  • Newbie
  • *
  • Posts: 29
    • View Profile
    • http://www.tina-sommer.de
Integration 4images 1.7 / phpBB
« Reply #5 on: August 30, 2002, 02:54:53 PM »
Das täte mich auch interessieren. Mein 4images ist relativ neu. Die meisten User sind eh aus dem Board. Die könnte ich alle löschen und anschließend wären sie ja wieder da. Was aber ist mit mir als Admin. Ich meine ich bin Admin im Board und im Fotoalbum, allerdings mit verschiedenen Passwörtern ?

Tina

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Integration 4images 1.7 / phpBB
« Reply #6 on: August 30, 2002, 03:06:50 PM »
4images nutzt nach der Integration die Usertabelle vom phpBB. Das heisst Du kannst Dich also in 4images mit Username/Passwort vom phpBB einloggen.

Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline mahou

  • Newbie
  • *
  • Posts: 29
    • View Profile
    • http://www.tina-sommer.de
Integration 4images 1.7 / phpBB
« Reply #7 on: August 30, 2002, 03:08:43 PM »
Aha, demnach lösche ich mich auch im Fotoalbum und erscheine anschließend wieder.
Danke für die schnelle Antwort.

Tina

Warhead

  • Guest
Integration 4images 1.7 / phpBB
« Reply #8 on: August 31, 2002, 09:26:33 AM »
HipHipHurra!!!
Danke Jan, es klappt und alle Benutzer im Forum sind mehr als zufrieden, vorallem weil es Kinder sind, die mein Forum besuchen, hat es gefreut, dass sie sich jetzt nur einmal registrieren müssen!!! :D  :D

Offline giffy007

  • Full Member
  • ***
  • Posts: 119
    • View Profile
Help with phpBB MOD
« Reply #9 on: August 31, 2002, 03:56:45 PM »
Integration works only if the tables of 4images and
     phpBB are on the same database.

How do i do this please , can i just install the both of them using the same  database ? Install one and then the other ? using the same data base name.

Giffy

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Re: Help with phpBB MOD
« Reply #10 on: August 31, 2002, 04:02:30 PM »
Quote from: giffy007
How do i do this please , can i just install the both of them using the same  database ? Install one and then the other ? using the same data base name.

Yes

Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline giffy007

  • Full Member
  • ***
  • Posts: 119
    • View Profile
Integration 4images 1.7 / phpBB
« Reply #11 on: August 31, 2002, 04:07:29 PM »
Is there any way of keeping the old members ? or will they be lost ?

giffy

Offline Cabbage

  • Newbie
  • *
  • Posts: 12
    • View Profile
    • http://www.jimmieschickenshack.net
Integration 4images 1.7 / phpBB
« Reply #12 on: August 31, 2002, 04:35:10 PM »
You'll probably need another script that adds the users in the current 4images table to the phpbb_users table.  Then you can run the integration script.  Luckily I'm just getting my 4images database populated so i only have one user - the administrator which is the same as the one in phpBB.

I hope this works, I'll try it out later this weekend

Offline giffy007

  • Full Member
  • ***
  • Posts: 119
    • View Profile
Integration 4images 1.7 / phpBB
« Reply #13 on: August 31, 2002, 04:41:51 PM »
Hi thanks Cabbage

I just took a look at your web site what is this (message bored ) hmmm

nice site

giffy

Offline Cabbage

  • Newbie
  • *
  • Posts: 12
    • View Profile
    • http://www.jimmieschickenshack.net
Integration 4images 1.7 / phpBB
« Reply #14 on: August 31, 2002, 07:21:36 PM »
Jimmie's Chicken Shack is a rock band from Annapolis, Maryland, USA.  Their last album Bring Your Own Stereo was released in Germany also and they did a very short tour their in 2000.

I'm going to attempt the integration right now.
The board is here
http://www.jimmieschickenshack.net/phpBB2

The gallery is here
http://www.jimmieschickenshack.net/4images