Quote:
Originally Posted by mtha
Yes, you can do it. Install seperate copy of 4images, indifferentfolder, with different prefixes for 4images database (forexample4images1_, 4images2_ ...)
|
mtha, I installed three 4images Galleries and integrated them with my forum following your mod instructions. In the early stage (I have not uploaded any pictures or made any categories yet). Everything seems to work fine so far except one little thing. When I log out of any of the three galleries or the forum, then go back to Gallery 2 or Gallery 3, the ?Registered users? box on the left is empty. So, I can not log into Gallery 2 or Galley 3. However I can log back into Gallery 1 and the forum. After that I am logged back into all the Galleries. Just a guess, I was looking over the code and wondering if the problem was with the "functions_online.php" edit below:
Original instructions:
Code:
<search for>
else
{
$userinfo['activity'] = 'modcp';
}
return $userinfo;
}
</search for>
<add after>
// Album user location
else if (strpos($token, "/album/") !== false)
{
{
$userinfo['activity'] = 'album';
}
return $userinfo;
}
</add after>
======================
* Change the ($token, "/album/") according to your album location defined as ALBUM_FOLDER in sessions.php
Since I have more than one "/album/" I was wondering if something should be added to reference my other two Galleries?
Right now this is how my edit looks:
Code:
else if (strpos($token, "/gallery1/") !== false)
How I set it up:
www.mydomain.com/forum
www.mydomain.com/gallery1
www.mydomain.com/gallery2
www.mydomain.com/gallery3
database
forum: no perfix
gallery1_
gallery2_
gallery3_
on server:
folder: forum
folder: gallery1
folder: gallery2
folder: gallery3
Thanks again,
Jason