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

0 Members and 2 Guests are viewing this topic.

Offline 4faster

  • Pre-Newbie
  • Posts: 7
    • View Profile
Re: Integration 4images 1.7 / phpBB
« Reply #345 on: October 04, 2005, 05:54:08 PM »
Hallo  :)

...also die MysQL von 4images nicht löschen? phpbb und 4images hab ich ja jeweils eine angelegt...

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Re: Integration 4images 1.7 / phpBB
« Reply #346 on: October 04, 2005, 05:56:11 PM »
Oh, das hatte ich überlesen. Doch, Du musst 4images und phpBB in derselben Datenbank installieren. Also, 4images löschen und in der Datenbank von phpBB installieren.
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline stevoboy

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: Integration 4images 1.7 / phpBB
« Reply #347 on: October 24, 2005, 01:25:47 AM »
Hi,

ist es möglich die Gallery in einem Webspace tu speichern und auf die Datenbank eines anderen Webspaces (mit den Gallery Tabellen) zu verweisen. Ich würde dann die Integration von PHPbb versuchen. Leider kann ich aufgrund von Scriptbeschränkungen den eigentlichen Webspace nicht benutzen.

Wenn einer helfen kann wäre ich echt delighted

Gruss Steffen

Offline BartAfterDark

  • Hero Member
  • *****
  • Posts: 520
    • View Profile
Re: Integration 4images 1.7 / phpBB
« Reply #348 on: October 24, 2005, 09:15:34 AM »
Yea. Normaly you can add the host that you want to access from to your mySql database. So it allows access to the database from that host :)

Hi,

ist es möglich die Gallery in einem Webspace tu speichern und auf die Datenbank eines anderen Webspaces (mit den Gallery Tabellen) zu verweisen. Ich würde dann die Integration von PHPbb versuchen. Leider kann ich aufgrund von Scriptbeschränkungen den eigentlichen Webspace nicht benutzen.

Wenn einer helfen kann wäre ich echt delighted

Gruss Steffen

Offline stevoboy

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: Integration 4images 1.7 / phpBB
« Reply #349 on: October 24, 2005, 01:11:03 PM »
So that means,

I install the gallery on one space, export the database tables and transfer it to the sql database where the phpbb tables are stored to?
So what do I have to punch in in the config.php of the gallery then where localhost stands now?
something like http://www.site.com or how do I do it?

Offline BartAfterDark

  • Hero Member
  • *****
  • Posts: 520
    • View Profile
Re: Integration 4images 1.7 / phpBB
« Reply #350 on: October 24, 2005, 04:01:40 PM »
I would guess so.
But you first need to add a Access Host If your host allows it

Offline T0MPA

  • Pre-Newbie
  • Posts: 1
    • View Profile
Re: Integration 4images 1.7 / phpBB
« Reply #351 on: October 29, 2005, 01:53:43 AM »
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

These link doesn't work....

"An Error Has Occurred!
The topic or board you are looking for appears to be either missing or off limits to you.  "
HELP ME"""

Offline BartAfterDark

  • Hero Member
  • *****
  • Posts: 520
    • View Profile
Re: Integration 4images 1.7 / phpBB
« Reply #352 on: October 29, 2005, 08:38:22 PM »
dude look here
http://www.4homepages.de/forum/index.php?topic=9917.msg31328#msg31328

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

These link doesn't work....

"An Error Has Occurred!
The topic or board you are looking for appears to be either missing or off limits to you. "
HELP ME"""

Offline Murat

  • Jr. Member
  • **
  • Posts: 97
    • View Profile
    • Lavinya
Re: Integration 4images 1.7 / phpBB
« Reply #353 on: November 01, 2005, 05:22:57 PM »
31 oct 2005 phpbb 2.0.18 released.
session.php changed.

I'm logout my gallery . : Invalid_session

pls help.
<?php echo 'Hello, World!'; ?>

Offline Murat

  • Jr. Member
  • **
  • Posts: 97
    • View Profile
    • Lavinya
Re: Integration 4images 1.7 / phpBB
« Reply #354 on: November 03, 2005, 05:22:58 PM »
 :(
<?php echo 'Hello, World!'; ?>

Offline BartAfterDark

  • Hero Member
  • *****
  • Posts: 520
    • View Profile
Re: Integration 4images 1.7 / phpBB
« Reply #355 on: November 05, 2005, 04:56:52 PM »
You have to do this again
http://www.4homepages.de/forum/index.php?topic=9917.msg31328#msg31328

but we still have the problem with logout

hi!
Sorry if I don't searched but 24 pages are a lot to search through...

However, I have a very small problem with the integration!

In sessions.php I changed $url_app = "http://www.volke.biz/forum/"; into my website adress. Now, if I want to login, it redirects to the page "http://volke.biz/forum/http://www.volke.biz/fotos/index.php". And if I change the $url_app = "http://www.volke.biz/forum/"; into e.g. $url_app = "http://www.volke.de/forum/"; the adress bar in the browser shows the correct url (www.volke.de/forum/login.php). That seems more than strange to me and I hope to be helped.

Bye RKS

PS: www.volke.biz is my correct adress.

Offline matimer

  • Pre-Newbie
  • Posts: 7
    • View Profile
Re: Integration 4images 1.7 / phpBB
« Reply #356 on: November 05, 2005, 05:12:09 PM »
Is there a moderator for this site????

I can't to find the broken down version of this article that seperates it into english vs german?

If someone can point me to that instead of this run on sentence.... that would be super helpful.

Matt

PS... if someone can integrate phpbb forum / 4images gallery for me (or at least giev me some CLEAR INSTRUCTIONS) for how to do it
and save the back up files of both let me know... i'll pay some cash

PPS. .... if you guys don't have any mods to moderate... let me know

Offline BartAfterDark

  • Hero Member
  • *****
  • Posts: 520
    • View Profile
Re: Integration 4images 1.7 / phpBB
« Reply #357 on: November 05, 2005, 05:14:46 PM »
Matt what do you need?
I don't quite understand your question

Is there a moderator for this site????

I can't to find the broken down version of this article that seperates it into english vs german?

If someone can point me to that instead of this run on sentence.... that would be super helpful.

PS. .... if you guys don't have any mods to moderate... let me know

Matt

Offline BartAfterDark

  • Hero Member
  • *****
  • Posts: 520
    • View Profile
Re: Integration 4images 1.7 / phpBB
« Reply #358 on: November 05, 2005, 05:43:08 PM »
I found a temp fix for the invalid_session problem after upgrade to .18

Open /board/login.php
find
Code: [Select]
if ($sid == '' || $sid != $userdata['session_id'])
{
message_die(GENERAL_ERROR, 'Invalid_session');
}
Comment it or remove the code:)
BUT beware. This could be a security breach

Offline Shadowstorm

  • Pre-Newbie
  • Posts: 1
    • View Profile
Re: Integration 4images 1.7 / phpBB
« Reply #359 on: November 12, 2005, 03:05:35 PM »
I have a solution !
The problem is that 4Images doesn't send the sid to phpBB when we want to loggout

So :

Open your /4images/includes/session.php

At the begining of the file you have :

Code: [Select]
// Set here different URL's to your phpBB forum.
// Normally no need to change.
$url_register      = $url_app."profile.php?mode=register";
$url_lost_password = $url_app."profile.php?mode=sendpassword";
$url_control_panel = $url_app."profile.php?mode=editprofile";
$url_mailform      = $url_app."profile.php?mode=email&u={user_id}";
$url_show_profile  = $url_app."profile.php?mode=viewprofile&u={user_id}";
$url_login         = $url_app.'login.php?redirect=anbum_redir.php';
$url_logout        = $url_app.'login.php?logout=true&redirect=anbum_redir.php';

So deplace this code at the end of the file just after :

Code: [Select]
//-----------------------------------------------------
//--- Start Session -----------------------------------
//-----------------------------------------------------
$board_config = array();
$sql = "SELECT * FROM " . PHPBB_CONFIG_TABLE;
$result = $site_db->query($sql);
while($row = $site_db->fetch_array($result)) {
  $board_config[$row['config_name']] = $row['config_value'];
}

//Start Session
$site_sess = new Session();

// Get Userinfo
$session_info = $site_sess->return_session_info();
$user_info = $site_sess->return_user_info();

and modify this line :

Code: [Select]
$url_logout        = $url_app.'login.php?logout=true&redirect=anbum_redir.php';
with :

Code: [Select]
$url_logout        = $url_app.'login.php?logout=true&redirect=anbum_redir.php&sid='.$session_info['session_id'];
And it will be good  :lol:

I don't know if my Patch will be understand be all of you as my english is so bad ! :roll: