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

0 Members and 1 Guest are viewing this topic.

Offline chrimp

  • Jr. Member
  • **
  • Posts: 58
    • View Profile
    • http://www.pixplace.net
Re: Integration 4images 1.7 / phpBB
« Reply #270 on: March 30, 2005, 02:34:35 PM »
@Jan

Vielen DAnk für deine Hilfe, auch wenn sich nicht direkt was mit 4images zu tun hatte.
Funzt alles wunderbar.
Nur kurz zum Verständnis:
Du überprüfst jetzt einfach nur, ob in der url ein "http://" vorkommt.
Falls nicht, normale Weiterleitung, falls doch, wird der Block übersprungen...

danke nochmals!
mfg
chrimp
piXplaCe.nEt

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Re: Integration 4images 1.7 / phpBB
« Reply #271 on: March 30, 2005, 02:45:15 PM »
Genau  :D
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline lux

  • Pre-Newbie
  • Posts: 1
    • View Profile
Re: Integration 4images 1.7 / phpBB
« Reply #272 on: April 01, 2005, 10:56:45 AM »
Hello :)
I've downloaded the version 1.7.1 and the integration_phpbb.zip script from this forum. But this zip file contains the file session.php for the version 1.7... Can I use this also for the 1.7.1 version? Or where can I download an update version of the integration script?
Thank you!

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Re: Integration 4images 1.7 / phpBB
« Reply #273 on: April 01, 2005, 01:10:10 PM »
Yes you can. But note the following thread (Section "Note for developers and users of "integrations" (phpBB, vBulletin): "):
http://www.4homepages.de/forum/index.php?topic=6728.0
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline Marquee

  • Pre-Newbie
  • Posts: 4
    • View Profile
Re: Integration 4images 1.7 / phpBB
« Reply #274 on: April 03, 2005, 07:59:31 PM »
Hallo,

ich habe nun auch die Integration dieser hervorragenden Gallerie versucht...

Ich meine auch, dass der Einbau soweit geklappt hat... dennoch bekomme ich in der Gallerie böse Fehlermeldungen :(

Quote
DB Error: Bad SQL Query: UPDATE 4images_sessions SET session_user_id = -1, session_start = 1112548932, session_time = 1112548932, session_page = 0, session_logged_in = 0 WHERE session_id = '277239ad3ba74bbe2e35b3687ac696fc' AND session_ip = 'd9bace96'
Unknown column 'session_start' in 'field list'

DB Error: Bad SQL Query: INSERT INTO 4images_sessions (session_id, session_user_id, session_start, session_time, session_ip, session_page, session_logged_in) VALUES ('59b4306de15efebf80a1c5c1a408ce02', -1, 1112548932, 1112548932, 'd9bace96', 0, 0)
Unknown column 'session_start' in 'field list'

Warning: Cannot modify header information - headers already sent by (output started at /home/g/gibsy.com/public_html/dim/4images/includes/db_mysql.php:188) in /home/g/gibsy.com/public_html/dim/4images/includes/sessions.php on line 325

Warning: Cannot modify header information - headers already sent by (output started at /home/g/gibsy.com/public_html/dim/4images/includes/db_mysql.php:188) in /home/g/gibsy.com/public_html/dim/4images/includes/sessions.php on line 326

DB Error: Bad SQL Query: SELECT u.user_id, u.user_level, u.username, u.user_allow_viewonline, s.session_user_id, s.session_time, s.session_ip FROM 4images_users u, 4images_sessions s WHERE u.user_id = s.session_user_id AND (s.session_time >= 1112548632 OR u.user_session_time >= 1112548632) ORDER BY u.user_id ASC, s.session_ip ASC
Unknown column 'u.username' in 'field list'

DB Error: Bad SQL Query: SELECT i.image_id, i.cat_id, i.user_id, i.image_name, i.image_description, i.image_keywords, i.image_date, i.image_active, i.image_media_file, i.image_thumb_file, i.image_download_url, i.image_allow_comments, i.image_comments, i.image_downloads, i.image_votes, i.image_rating, i.image_hits, c.cat_name, u.username FROM 4images_images i, 4images_categories c LEFT JOIN 4images_users u ON (u.user_id = i.user_id) WHERE i.image_active = 1 AND c.cat_id = i.cat_id AND i.cat_id NOT IN (0) ORDER BY i.image_date DESC LIMIT 3
Unknown column 'u.username' in 'field list'

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/g/gibsy.com/public_html/dim/4images/includes/db_mysql.php on line 116

Der Prefix von 4images ist ein anderer als vom Forum... kann es daran liegen?

In der Anleitung steht, man solle die session.php am Anfang abändern... dort steht etwas von session_name.. was ist damit gemeint? Der Cookie-Name?

Es handelt sich übrigens nicht um ein Standard-phpBB-Forum sondern um ein Premodded Board...

kann mir da jemand helfen bitte?

Gruß und Dank

Marquee

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Re: Integration 4images 1.7 / phpBB
« Reply #275 on: April 04, 2005, 09:49:51 AM »
Lies dir die Anleitung nochmal durch. Vermutlich hast Du vergessen in includes/constants.php die User-Tabelle von phpBB einzutragen.
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline m3zzr

  • Pre-Newbie
  • Posts: 6
    • View Profile
Re: Integration 4images 1.7 / phpBB
« Reply #276 on: April 04, 2005, 07:24:37 PM »
Hello.

I have run into some problems with this mod. I basically just get shown a "security violation" message on screen. I am using phpbb 2.0.13

First problem being this.

The code  i have to replace in my phpbb does not match the code found in the installation docs for the following

My Original File

Code: [Select]
define('DELETED', -1);
define('ANONYMOUS', -1);
define('USER', 0);
define('ADMIN', 1);
define('MOD', 2);

your file states to do this

Code: [Select]
Ändere/Change:
       define('GUEST', -1);
       define('USER_AWAITING', 1);
       define('USER', 2);
       define('ADMIN', 9);

     zu/to:
       define('GUEST', -1);
       define('USER_AWAITING', -1);
       define('USER', 0);
       define('ADMIN', 1);
     ---------

The following is not in the code at all...

Code: [Select]
Ändere/Change:
       define('ADMIN_SAFE_LOGIN', 1);

     zu/to:
       define('ADMIN_SAFE_LOGIN', 0);

Has there been a major change in phpbb 2.0.13?

Offline ruudvroon

  • Jr. Member
  • **
  • Posts: 79
    • View Profile
    • AFTERTHEPARTY.NL
Re: Integration 4images 1.7 / phpBB
« Reply #277 on: April 04, 2005, 08:38:40 PM »
You don't have to edit the phpbb files, you need to change the 4images files.

Offline m3zzr

  • Pre-Newbie
  • Posts: 6
    • View Profile
Re: Integration 4images 1.7 / phpBB
« Reply #278 on: April 04, 2005, 08:41:36 PM »
Thankyou for that, i did not see the sessions.php in the 4images directory, so i assumed it referred to the one in the phpbb directory

Offline soasuk

  • Pre-Newbie
  • Posts: 8
    • View Profile
    • Soasuk.com
Re: Integration 4images 1.7 / phpBB
« Reply #279 on: April 04, 2005, 08:43:11 PM »
I have the gallery page in a frame, when a link to the forum is accessed the forum also loads in the same frame. This leaves a title frame above it that i do not want to be seen in the forum. Is there anyway to break the forum links out of the frame ie,

Code: [Select]
target="_parent"
The problem can be seen at www.soasuk.com

thanks, soasuk

Offline Marquee

  • Pre-Newbie
  • Posts: 4
    • View Profile
Re: Integration 4images 1.7 / phpBB
« Reply #280 on: April 05, 2005, 05:56:27 PM »
Lies dir die Anleitung nochmal durch. Vermutlich hast Du vergessen in includes/constants.php die User-Tabelle von phpBB einzutragen.
man man.. bin ich blind... hast Recht...

Ich hatte die Datei bearbeitet, aber vergessen hochzuladen... wie bescheuert...

Danke trotzdem und Sorry :)

Offline LBL

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: Integration 4images 1.7 / phpBB
« Reply #281 on: April 10, 2005, 07:38:37 PM »
Quote from: Jan
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

Habe kleines Prob,

nach dem anmelden werde ich auf einen falschen link weitergeführt. Dieser sieht so aus:

http://model-voting.de/forum/http://www.model-vote.de/index.php?sid=186d550926a96c0febf6ac9f80aed67e

wie kann ich das ändern ?????

lg
Gabi

hello!
I think that I have the same problem as this friend, is anyone can please tell me how to fix it in english?

Offline chrimp

  • Jr. Member
  • **
  • Posts: 58
    • View Profile
    • http://www.pixplace.net
Re: Integration 4images 1.7 / phpBB
« Reply #282 on: April 10, 2005, 07:42:43 PM »
Quote from: Jan
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

Habe kleines Prob,

nach dem anmelden werde ich auf einen falschen link weitergeführt. Dieser sieht so aus:

http://model-voting.de/forum/http://www.model-vote.de/index.php?sid=186d550926a96c0febf6ac9f80aed67e

wie kann ich das ändern ?????

lg
Gabi

hello!
I think that I have the same problem as this friend, is anyone can please tell me how to fix it in english?

http://www.4homepages.de/forum/index.php?topic=1658.msg31328#msg31328
mfg
chrimp
piXplaCe.nEt

Offline LBL

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: Integration 4images 1.7 / phpBB
« Reply #283 on: April 10, 2005, 07:57:04 PM »
thx

Offline Murat

  • Jr. Member
  • **
  • Posts: 97
    • View Profile
    • Lavinya
Re: Integration 4images 1.7 / phpBB
« Reply #284 on: April 16, 2005, 09:37:17 AM »
hello all. I'm using phpBB 2.0.14 forum + 4images 1.7.1

my gallery is login .  www.nospamadressxxxx.com/galeri/?sid=feb40b128500843aa3931f806fc970e9
this sid "?sid=feb40b128500843aa3931f806fc970e9 " index.php where ? this problem ?

my forum is login. examples:  www.nospamadressxxxx.com/phpBB2/index.php?sid=feb40b128500843aa3931f806fc970e9

and other problem my gallery is wrong login : www.nospamadressxxxx.com/phpBB2/login.php?redirect=http://www.nospamadressxxxx.com/galeri/

now correct login (username and password) : www.nospamadressxxxx.com/phpBB2/http?sid=ff46de1ce6672443422f74ebc9fb7c24
this page 404 error page. But my site login.
Code: [Select]
if (strpos($url, 'http://') === false) {
    $server_protocol = ($board_config['cookie_secure']) ? 'https://' : 'http://';
    $server_name = preg_replace('#^\/?(.*?)\/?$#', '\1', trim($board_config['server_name']));
    $server_port = ($board_config['server_port'] <> 80) ? ':' . trim($board_config['server_port']) : '';
    $script_name = preg_replace('#^\/?(.*?)\/?$#', '\1', trim($board_config['script_path']));
    $script_name = ($script_name == '') ? $script_name : '/' . $script_name;
    $url = preg_replace('#^\/?(.*?)\/?$#', '/\1', trim($url));
}
this code anyway added my site.
HELP ME PLEASE . VERY THANKS.
<?php echo 'Hello, World!'; ?>