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

0 Members and 1 Guest are viewing this topic.

Offline THC-Lollipop

  • Pre-Newbie
  • Posts: 7
    • View Profile
Integration 4images 1.7 / phpBB
« Reply #45 on: September 15, 2002, 02:24:46 PM »
Du bist ein Gott ... danke. Lag echt daran *doohhh*

Mach bloß weiter so ... will noch ein paar Plugins bzw. Mods haben :-)

Wie wäre es eigentlich mal, wenn Du 4images als PostNuke-Plugin machen würdest?

Weil die Seite an sich ist ja relativ eigenständig und es ist ziemlich kompliziert, neue Sections einzufügen. Mit PostNuke ist das effektiver... wenn man jetzt dafür noch nen 4images-Mod hätte .... *träum*

Naja, jetzt funktinoiert auf jeden Fall alles ... riesengroßes Dankeschön nochmal für die schnelle und helfende Hilfe  :lol:

Offline dabri

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
    • http://www.12geschworene.de
Integration 4images 1.7 / phpBB
« Reply #46 on: September 22, 2002, 11:06:40 PM »
Hallo,

auf meiner Homepage funktioniert die Kombination einwandfrei, man kann sich problemlos einloggen usw.

Nur ich habe ein Problem, ich habe in 4images einen Bereich auf privat gestellt. Nun will ich auf diesen Bereich nur eine festgelgte Usergruppe zugreifen lassen. Im Prinzip funktioniert es auch. Nur wenn sich Jemand bei mir neu anmeldet ist er automatisch in der Usergruppe!

Also funktioniert der Schutz nicht.

Hab mich erstmal damit geholfen, das nicht auf Gruppen sondern User-weise freizuschalten, ist dann aber später bei mehreren Bereichen doch anstrengend.

Mach ich was falsch, ist das ein Bug? Also habe die Usergruppe im CP von 4images angelegt.

Gruß Daniel

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Integration 4images 1.7 / phpBB
« Reply #47 on: September 23, 2002, 10:12:15 AM »
Das kann eigentlich nicht sein. User können ja nur per Hand einer bestimmtem Usergruppe zugeordnet werden. Beschreibe nochmal Schritt für Schritt wie Du genau vorgegangen bist, wahrscheinlich hast Du was falsch gemacht.

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

Offline dabri

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
    • http://www.12geschworene.de
Integration 4images 1.7 / phpBB
« Reply #48 on: September 23, 2002, 11:09:35 AM »
Ich habe vor der Umstellung unter 4images eine Usergruppe erstellt, und diese dann einigen Usern unter 4images zugeteilt.

Danach habe ich die 4images/phpBB Integration drübergespielt. Danach habe ich im Forum einige neue User angemeldet und habe dann im CP von 4images festgestellt, das die User automatisch in der vorher angelegten Gruppe angemeldet waren.

Nun habe ich gerade die Gruppe gelöscht und sie einfach wieder neu angelegt und einen neuen User angemeldet. Jetzt ging es, der neue User war nicht in der Usergruppe angemeldet.

Also alles ist gut, vielleicht ist bei meiner Umstellung irgendetwas falsch gelaufen. Nun klappt es prima.

Danke für Deine Antwort.

Gruß Daniel

Offline WhiteFang

  • Pre-Newbie
  • Posts: 1
    • View Profile
    • http://whitefang.myip.org/
Integration 4images 1.7 / phpBB
« Reply #49 on: September 28, 2002, 08:51:31 AM »
I'm having problem on changing my web's domain name in the 4image/phpbb intergration system.
I can only change domain name settings on phpbb system, not on 4images.
what can I do to chang the domain name setting in 4images?

thanks in advance!

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Integration 4images 1.7 / phpBB
« Reply #50 on: September 28, 2002, 09:09:33 AM »
Normally 4images detects the domain atuomatically. If this does'nt work, set the domain in "includes/constants.php":
Code: [Select]
define('SCRIPT_URL', 'http://www.yourdomain.com/4images');
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline Poptard

  • Pre-Newbie
  • Posts: 5
    • View Profile
problem
« Reply #51 on: October 04, 2002, 07:39:52 PM »
the integration is working well for me, 4images detects all of my phpbb users and the sessions are working properly. My problem is when I goto do group management.. I attempt to add ANY of my 98 users to a 4images group and I get these errors:

Code: [Select]

DB Error: Bad SQL Query: DELETE FROM 4images_groupmatch WHERE user_id = AND group_id IN (1, 2, 3, 6)
You have an error in your SQL syntax near 'AND group_id IN (1, 2, 3, 6)' at line 2

DB Error: Bad SQL Query: INSERT INTO 4images_groupmatch (group_id, user_id, groupmatch_startdate, groupmatch_enddate) VALUES (1, , UNIX_TIMESTAMP('2002-10-04 10:43:05'), 0)
You have an error in your SQL syntax near ' UNIX_TIMESTAMP('2002-10-04 10:43:05'), 0)' at line 4

DB Error: Bad SQL Query: INSERT INTO 4images_groupmatch (group_id, user_id, groupmatch_startdate, groupmatch_enddate) VALUES (2, , UNIX_TIMESTAMP('2002-10-04 12:38:36'), 0)
You have an error in your SQL syntax near ' UNIX_TIMESTAMP('2002-10-04 12:38:36'), 0)' at line 4
User edited


for whatever reason it's not seeing my user_id's and is just trying to insert them into the database as a blank.

in my includes/constants.php I have defined:

Code: [Select]
define('USERS_TABLE', 'phpbb_users');

to point to my users directory, and it seems to work for everything but group management. Thanks for any input!

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Integration 4images 1.7 / phpBB
« Reply #52 on: October 05, 2002, 09:25:26 AM »
Maybe this will help:

Search in "admin/usergroups.php" for
Code: [Select]
$user_groups = (isset($HTTP_POST_VARS['user_groups'])) ? $HTTP_POST_VARS['user_groups'] : "";
and add after
Code: [Select]
$user_id = intval($HTTP_POST_VARS['user_id']);

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

Offline Poptard

  • Pre-Newbie
  • Posts: 5
    • View Profile
Integration 4images 1.7 / phpBB
« Reply #53 on: October 05, 2002, 07:00:57 PM »
that works, thanks!

Offline claw

  • Pre-Newbie
  • Posts: 2
    • View Profile
Integration 4images 1.7 / phpBB
« Reply #54 on: October 08, 2002, 08:03:43 PM »
The user level is hard to control with your existing mod. Would you take another approche that you will mod the phpbb2 instead? Say you register in the phpbb2 and automatically insert the user name and password into 4images? That will be better to handle the picture group that has access control.

Offline Poptard

  • Pre-Newbie
  • Posts: 5
    • View Profile
Integration 4images 1.7 / phpBB
« Reply #55 on: October 09, 2002, 06:35:27 AM »
just in case this comes up for anyone else, I had a similar problem with deleting groups from my database.. the error I was receiving was:

Code: [Select]
DB Error: Bad SQL Query: DELETE FROM 4images_groups WHERE group_id =
You have an error in your SQL syntax near '' at line 2

DB Error: Bad SQL Query: DELETE FROM 4images_groupaccess WHERE group_id =
You have an error in your SQL syntax near '' at line 2

DB Error: Bad SQL Query: DELETE FROM 4images_groupmatch WHERE group_id =
You have an error in your SQL syntax near '' at line 2
Error while deleting User Group


once again for whatever reason the program was not reading the $group_id variable so it was attempting to insert it as a blank, which resulted in an SQL error.

my resolution was to look for:
Code: [Select]
if ($action == "deletegroup") {


and add this on the next line:
Code: [Select]

$group_id = intval($HTTP_POST_VARS['group_id']);


just a heads up..

Offline Term

  • Newbie
  • *
  • Posts: 31
    • View Profile
Integration 4images 1.7 / phpBB
« Reply #56 on: October 14, 2002, 09:45:02 PM »
OK... I got a wierd proplem..

If I log in my phpbb forum then i also log in on 4images but when i try to log out on 4 images...

the url is...

http://www.4homepages.de

instead of my domain name...

What went wrong?
What do I need to do?

Offline Term

  • Newbie
  • *
  • Posts: 31
    • View Profile
Integration 4images 1.7 / phpBB
« Reply #57 on: October 14, 2002, 09:47:14 PM »
Nevermind... i didnt configure the sessions.php

Offline Term

  • Newbie
  • *
  • Posts: 31
    • View Profile
problems
« Reply #58 on: October 17, 2002, 07:25:34 AM »
When i log out of 4images Im taking to the phpbb board... this shouldnt be.... ???

And.. ever since I added this modification nothing works in the admin center... all the pages load but no functions will work... I can edit images.. add images... validated images.. etc. it all says 0 entries found etc..

HELP!!! Anyone?

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Integration 4images 1.7 / phpBB
« Reply #59 on: October 17, 2002, 08:21:15 AM »
Do you use version 1.7?

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