phpBB 2.2 / 3.0 / OCBB + G2

Einstein
Einstein's picture

Joined: 2003-10-13
Posts: 105
Posted: Sat, 2005-01-15 21:01

I start my own thread with issues and problems about the integration of G2 into phpBB. Feel free to give comments, improvements suggestion and code changes/corrections.

For information check out this page:
http://devarea.mtb-o.net/viewtopic.php?t=2

Please, give your feedback in this thread or at my discussion forum.

-----

1. Syncing userbases
How is this meant to be? Lets say we have both users in Gallery and phpBB and we want to integrate them. How do we get a list of users with mail address passwords from G2? How do I get in sync, mapping old usernames in Gallery?

The syncing is plan to work with the following rules:
- If user exist in both and has same mail address or password then phpBB user will override Gallery user.
- If user exist in Gallery but not in phpBB then user is added to phpBB
- If user exist in phpBB but not in Gallery then user is added to Gallery
- If user name is same but either mail address or password does match then Gallery username will be renamed with a suffix or prefix. And a list of usernames will be provided.

2. Disable footer
Could it be possible to disable the footer (with GalleryCapabilities) and implement the footer code in phpBBs own footer. I don't like two footers. Changing the template will also do the trick ... but GalleryCapabilites is a beter solution.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2005-01-16 13:02

@1. sync'ing userbases:
I'm doing the initial user import/export the same way, but I don't check the email address, for me, the email address is just another user data field which has to be updated in the sync' process. Plus, I synchronize groups, but the benefit of that isn't very big.
So, point "- If user name is same but either mail address or password does match then Gallery username will be renamed with a suffix or prefix. And a list of usernames will be provided. " doesn't apply for my user import/export, but it's a good idea.
To your question:
See how I do it in xaraya, in my download in xargallery2helper.php in function g2xarUserGroupImportExport().
1. Synchronize special users (and groups), i.e. the anonymous user with nearly hardcoded mappings (i.e. the anonymous user has a constant ID in G2 and in most other applications, synchronize it based on this ids).
2. Import G2 users to other application
note that i compare user names in a case insensitive manner.
note: @password. you can only import the hased passwords, if they use the same hash mechanism, that is MD5.

// Load a list of all G2 userNames
    list($ret, $g2UserNames) = GalleryCoreApi::fetchUsernames();
    if (!$ret->isSuccess()) {
      // put in some error code for the other application
      return false;
    }

// get a list of already mapped users (see my function)
    list($ret, $mapsbyentityid, $mapsbyexternalid) = xarGallery2Helper::g2getallexternalIdmappings();
    if (!$ret) {
      return false;
    }

// I handle group memberships too, so the whole code might be shorter, i just removed anything that has something to do with group memberships

    // for G2 users that don't exist in xaraya, we need the userdata
    // load the G2 user object
    $g2Users = array(); // array('user' => $g2UserObject)
    foreach ($g2UserNames as $g2UserName) {
      // Load the user Object
      list($ret, $g2User) = GalleryCoreApi::fetchUserByUserName($g2UserName);
      if (!$ret->isSuccess()) {
	// raise some error for other application
	return false;
      }
      $g2Users[strtolower($g2UserName)] = array('user' => $g2User, 'memberships' => $g2MemberShips);
    }

    // Foreach user: create if nonexistent
    foreach ($g2UserNames as $g2UserName) {
      $g2User = $g2Users[strtolower($g2UserName)]['user'];
      // check if we already mapped this user
      if (!isset($mapsbyentityid[$g2User->getId()])) {
	// check if a user with this name already exists
	if (!xarGallery2Helper::in_array_cin($g2UserName, array_keys($xarUsers))) {
	  // add user to xaraya if there wasn't such a user
	  // create xar user
// change this appropriately 
	  $uid = xarmodapifunc('roles','admin','create',
			       array('uname' => $g2UserName,
				     'realname' => $g2User->getfullName(), 'email' => $g2User->getemail(),
				     'cryptpass' => $g2User->gethashedPassword(), 'date' => $g2User->getcreationTimestamp(),
				     'state' => ROLES_STATE_ACTIVE, 'valcode' => xarModAPIFunc('roles', 'user', 'makepass')));
	  // check if the user was created successfully
	    return false;
	  }
	} else {
	  // get the $uid of the existing xar role
	  $uid = $xarUsers[strtolower($g2UserName)]['uid'];
	}
	
	// and add the map entry in G2
	if (!xarGallery2Helper::g2addexternalMapEntry($uid, $g2User->getId(), 0)) {
	  return false;
	}
      }
   }
}

3. Import users from other application to G2:


// after step 2. and before step 3. you'll have to update the existing mappings array. 
// xarUsers is a list like g2Users, which I build before step 2. 
      foreach ($xarUsers as $xarUser) {
      // if the map exists, just update the user data
      if (isset($mapsbyexternalid[$xarUser['uid']])) {
	if (!xarGallery2Helper::g2updateUser($xarUser['uid'], $xarUser)) {
	  return false;
	}
	continue;
      } else {
	// if the user already exists in G2, create a mapping and update the data
	if (xarGallery2Helper::in_array_cin($xarUser['uname'], $g2UserNames)) {
	  $g2User = $g2Users[strtolower($xarUser['uname'])]['user'];
	  
	  // and add the map entry 
	  if (!xarGallery2Helper::g2addexternalMapEntry($xarUser['uid'], $g2User->getId(), 0)) {
	    return false;
	  }
	  // update the user data
// uses the xaraya user data to update the G2 user based on the existing mapping
	  if (!xarGallery2Helper::g2updateUser($xarUser['uid'], $xarUser)) {
	    return false;
	  }
	} else { // create user in G2
// basically uses the xaraya user data and the G2 API to create a G2 user
	  if (!xarGallery2Helper::g2createUser($xarUser['uid'], $xarUser)) {
	    return false;
	  }
	}
      }
    }

A better documentation / guide is on my todo list, sorry.

note @ mindless:
perhaps we should add my function
function g2getallexternalIdmappings()
to G2 somewhere, as we don't want people to query the G2 db directly, they should use an API call for this.

 
Einstein
Einstein's picture

Joined: 2003-10-13
Posts: 105
Posted: Mon, 2005-02-07 22:10

Here's version 0.3.1: http://devarea.mtb-o.net/code/Gallery%202%20Integration%20MOD%200.3.1.zip

Thank you valiant for your explanations ... I will soon give you some more feedback about the External/Entity mapping.

 
Einstein
Einstein's picture

Joined: 2003-10-13
Posts: 105
Posted: Mon, 2005-02-07 22:32

Grr ... I didn't like when the phpBB moderators shut my mounth, thread closed at area51.phpbb.com. Somehow it's not allowed to discuss modifications for a development version at phpBB. I'm happy ;) that Gallery is different, here's development more open.

Anyway, if someone want to discuss the current status of my integration, you have to do it here.

 
Einstein
Einstein's picture

Joined: 2003-10-13
Posts: 105
Posted: Sat, 2005-02-12 12:45

I did put out Version 0.4 in the first post ... it's much more stable then the earlier ones.

This version tests that Gallery is really installed on the place configured. And also basic test is be done to check that the "bridge" to Gallery is OK. Nice thing ;)

User syncronization is not yet in phpBB admin panel.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sat, 2005-02-12 12:58

Einstein, could you give me some more background information about modding in phpbb 2.2 aka 3.0?

I thought or hoped phpbb would have real modules instead of hacking style modifications.
How do you install/uninstall modifications/modules in phpbb 3? I know the hacking style of phpbb 2, has anything changed?

I hoped you could most of the things with an ordinary phpbb 3.0 module. For the user create/update/delete synchronization, you'd have to hack the existing files.
That's what I thought. I don't know the codebase of phpbb 3, but i know phpbb 2.

I'm also looking forward to adding your integration to the cvs of G2 integrations.

 
Einstein
Einstein's picture

Joined: 2003-10-13
Posts: 105
Posted: Sat, 2005-02-12 13:05

It's the phpBB way-of-working .. to "hack the code". I don't like it .. but it's the only choose. Nothing has really changed. And 2.2 is the old version number of 3.0. The only change is that the "hacks" can be installed automaticly with EasyMOD. Note that phpBB hasn't yet reached beta ... so things can still change.

It came to my mind if it's possible to a make phpBB modifications that are able use hooks and such.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sat, 2005-02-12 13:19

phpbb 3.0 is very near if you follow the announcements on phpbb.com. how does this easyMod work? heard of it. does it use shell commands like "patch" and do all files need to be writeable by the webserver user? or does it just take care of the sql part of the mods?

 
Einstein
Einstein's picture

Joined: 2003-10-13
Posts: 105
Posted: Sat, 2005-02-12 13:31

I don't really know ... I've never used it. I prefer to see what changes I do to the code. That way I can also do some extra changes for my own needs.

 
ymmotrojam

Joined: 2005-03-13
Posts: 8
Posted: Mon, 2005-03-14 20:59

Your version 4 mod doesn't download...

 
Anonymous

Posted: Tue, 2005-03-15 08:45

Take a look here:
http://devarea.mtb-o.net/code/

How's progress of the integration by the way? Anything new? ;)

 
Einstein
Einstein's picture

Joined: 2003-10-13
Posts: 105
Posted: Tue, 2005-03-15 15:49
[Cipher wrote:
"]
How's progress of the integration by the way? Anything new? ;)

Still 0.4 is the latest diff file.

Integration currently work for newly created users. Syncronization of user bases is still not implemented.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-03-15 15:55

Einstein, i plan to make a class for the synchronization. a integration like phpbb could extend this class and implement its functions like "function getAllUsers", etc.
the class would have a method which does the synchronization (import/export).
you'd only have to implement a number of phpbb specific methods. the whole logic and G2 specific things would already be implemented in the G2 class. of course, you could override the default synchronization method.

what do you think about that?

 
Einstein
Einstein's picture

Joined: 2003-10-13
Posts: 105
Posted: Tue, 2005-03-15 21:49
valiant wrote:
what do you think about that?

I was thinking about the same when we discussed about how to syncronze users. Yes, I think it's a good idea ...

But, I think the documentation how-to do integration is more important.

 
Einstein
Einstein's picture

Joined: 2003-10-13
Posts: 105
Posted: Wed, 2005-03-16 20:50
Einstein wrote:
Integration currently work for newly created users. Syncronization of user bases is still not implemented.

I will finalize the functionality when phpBB 3.0 beta comes out.

 
Fhajad

Joined: 2005-04-03
Posts: 4
Posted: Sun, 2005-04-03 23:55

How do I use a .diff? How do I use it? I'm a little confused.

 
eyesonly

Joined: 2005-04-05
Posts: 1
Posted: Tue, 2005-04-05 10:56

I try to intagrate gallery with phpBB 2.0.13 but
i dont know if it make a difference but there is no includes/ucp/ucp_profile.php
it has includes/usercp_viewprofile.php that the files that maybe it or maybe it is not intended to work with this phpbb version.

 
Einstein
Einstein's picture

Joined: 2003-10-13
Posts: 105
Posted: Tue, 2005-04-05 13:38
Fhajad wrote:
How do I use a .diff? How do I use it? I'm a little confused.

Go into your phpBB (2.1.x) root and write:
patch -p1 -o g2int.diff

For windows tools .. download the files from here: http://unxutils.sourceforge.net/
You can place the patch.exe and the diff file in the root directory and run the command. Please let me know if you get any warnings. There may be changes that have broken my diff.

Patch is standard on most *nix platforms.

Patching is much easier then modding by hand.

eyesonly wrote:
I try to intagrate gallery with phpBB 2.0.13 but

This diff (MOD) will only work for the version phpBB 2.1.x. That will be named phpBB 3.0 Olympus when ready. I think there exist some Gallery 1.x integration for phpBB 2.0.x (try search).

 
globo
globo's picture

Joined: 2005-02-07
Posts: 37
Posted: Tue, 2005-05-03 09:41

It seems that Olympus won't be out in for a while - I can't count the postponements anymore -

How much do the altered files differ from 2.0.x to 3.0? In other words, can one make a 2.0.x integration rather easily?

 
Heraclio

Joined: 2003-03-05
Posts: 11
Posted: Sat, 2005-06-04 18:17

Also, some phpBB admins won't be upgrading to Olympus as phpBB may separate 2.0.x and 3.0 into different products. If this is the case, then shouldn't an integration be prepared for 2.0 as well?

Needless to say, I would also like to see an integration with 2.0.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sat, 2005-06-04 18:26

Heraclio, could you post a link where this rumour is discussed?
phpbb 3.x is so similar to 2.x, why shouldn't they want to upgrade? the 1.x tree is also dead (in the sense that 99% use the 2.x versions now).

 
Einstein
Einstein's picture

Joined: 2003-10-13
Posts: 105
Posted: Sun, 2005-06-05 17:47

Heraclio, The modifacation I'm doing is for phpBB3 or/and some it's forks (for example ocBB). A guy named Joe7 have been in contact with me about porting my modification to phpBB2.

The reason why some users will stay with phpBB2 is because they don't want all the features that comes with phpBB3.

I give out my latest information on this page from now on:
http://devarea.mtb-o.net/viewtopic.php?t=2

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2005-06-05 18:21

aha :)

i've updated the phpbb section in the Embedding & Integration with that link, thanks.

 
MetalHellsAngel

Joined: 2005-04-21
Posts: 13
Posted: Sun, 2005-07-10 12:04

Is this still being worked on? If so i cant wait to get my hands on it I really like g2 and would love to have it integrated into my forum.

 
globo
globo's picture

Joined: 2005-02-07
Posts: 37
Posted: Mon, 2005-07-11 10:46

As it seems the server is down:

Quote:
NIC · Meta-Whois - Universal International WHOIS Server

Domain "Not Found" in whois system: mtb-o.net/

mtb.o.com as a likely typo seems to be a finish site.

Since it may still take months (years) until Olympus will be released a port to 2.x is defenitly welcomed. So any current information on that port is probably welcome.

 
Lakys

Joined: 2005-06-26
Posts: 55
Posted: Thu, 2005-07-14 13:30

any idea where can those project files could be downloaded right now?

Thanks!

 
joe7rocks
joe7rocks's picture

Joined: 2004-10-07
Posts: 560
Posted: Sun, 2005-07-17 01:55
Lakys wrote:
any idea where can those project files could be downloaded right now?

Thanks!

well.. i guess nowhere.

the code was not a stable, working, neither in complete state when i saw it last time.
Einstein (The Developer), was (and i guess, is still) waiting for next main phpbb release..

Note to Einstein: hey Man, if Ya read Us, pls msg or mail me..we (i mean definitely You, and anybody else who is willing to help) should complete the code for the available phpbb version.

 
dmolavi
dmolavi's picture

Joined: 2002-12-05
Posts: 573
Posted: Tue, 2005-07-19 15:22

seeing as how all the releases of phpBB 2.0.x are just maintainance and security releases (no serious DB changes, etc), I don't know why he's waiting for phpBB3 (Olympus) to be released, esp since there is no firm date for even beta releases of it yet.

it would be nice if he could check this code into CVS. Einstein, PM/email me and I can check in the code for you, that way there is some sort of version control.

 
Lakys

Joined: 2005-06-26
Posts: 55
Posted: Wed, 2005-07-20 11:22
joe7rocks wrote:
Lakys wrote:
any idea where can those project files could be downloaded right now?

Thanks!

well.. i guess nowhere.

the code was not a stable, working, neither in complete state when i saw it last time.
Einstein (The Developer), was (and i guess, is still) waiting for next main phpbb release..

Note to Einstein: hey Man, if Ya read Us, pls msg or mail me..we (i mean definitely You, and anybody else who is willing to help) should complete the code for the available phpbb version.

I finally went to Mambo Plus (which includes the last phpBB) and G2. It seems that the integration with Mambo interests lots of people. ;)

 
WebSnail

Joined: 2002-08-15
Posts: 34
Posted: Fri, 2005-07-22 15:16

Given that I did sort of get the whole phpbb2 integration thing started I'm pretty sure that people over on Snailsource would appreciate any news on the status of the integration for gallery beta and for the phpBB3.0... So, if you could head over and let people know what you've done then it would be much appreciated..

I'd be more than happy for you to use the existing space to support people as well.. makes life easier for me that's for sure :)

Cheers and good work..

 
WebSnail

Joined: 2002-08-15
Posts: 34
Posted: Fri, 2005-07-22 15:20

Just to note that none of the links for this project are actually working...

mtb-o.net is not resolving for me and things appear to have gone a little quiet...

 
dmolavi
dmolavi's picture

Joined: 2002-12-05
Posts: 573
Posted: Fri, 2005-07-22 15:22

WebSnail, it seems like Einstein has gone AWOL and development has ceased.

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Sun, 2005-07-24 13:09

Ok depending on any big WPG2 Beta 2 issues (none so far fingers crossed) I may have some time to port some elments over the WPG2 plug in to phpbb 2.0.xx since 3.x development seems bogged down and delayed until god knows when..

What we looking for in terms of functionality here?? Just generic login / create / update the phpbb users to Gallery2..

The actual embedded page will be straight forward, linking images back into phpbb posts will be problematic..

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2005-07-24 13:14

that would be cool. i'd also look at the existing code from einstein. just to know where phpbb2 needs to be modded.

i'd start with a basic integration. things like linking images in phpbb etc. should be a nice to have feature. a good configuration / installation and basic functionality is far more important.

 
Einstein
Einstein's picture

Joined: 2003-10-13
Posts: 105
Posted: Sun, 2005-07-24 13:39
dmolavi wrote:
WebSnail, it seems like Einstein has gone AWOL and development has ceased.

Sorry for taking the page temporary down. I was in a big hurry of creating my own consulting company e-mail and did run out of domains on my hosting plan. I will soon upgrade my hosting plan to get all my webpages accessable.

About the phpBB development slowing down ... OCBB has taken the development in their own hands. And ... I think I will concentrate on integrating G2 to OCBB first. Read more here: http://ocbb.montecarlohosting.net/

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2005-07-24 13:44

Einstein, great to hear from you!

But what the heck, why did they fork phpBB 3? Are these some phpbb devs that disagree with other phpbb devs? I really hope phpbb hasn't lost some core devs due to this fork.
And why do you support the fork and not the original?

from the project website

Quote:
phpBB "Olympus" Fork which will strive to continue the honoured phpBB traditions of easy modification, freedom, and useablity, and also to improve upon development speed.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2005-07-24 14:30

i'm not quite sure if i understand the announcements correctly.
this is the fork announcement:
http://ocbb.montecarlohosting.net/board/viewtopic.php?sid=&f=6&t=15

so, how many of the core phpbb devs are working on ocbb? and are there now 2 phpbb 3 projects or moved all phpbb 3.0 devs to ocbb?

 
Einstein
Einstein's picture

Joined: 2003-10-13
Posts: 105
Posted: Sun, 2005-07-24 14:50
valiant wrote:
But what the heck, why did they fork phpBB 3? Are these some phpbb devs that disagree with other phpbb devs? I really hope phpbb hasn't lost some core devs due to this fork.
And why do you support the fork and not the original?

Why ... the development was to slow. These OCBB guys want the phpBB version out faster.

I think I will support both the orginal and the fork. I will concentrate first on OCBB 1.0 because it will come out sooner then phpBB 3.0.

I don't know the exact effect on phpBB dev team. But at least one team member (not a developer) started the fork. There is a lot of people that wanted to contribute to phpBB but they wasn't accepted. OCBB has bit more open deveoper policy then phpBB had.

 
Einstein
Einstein's picture

Joined: 2003-10-13
Posts: 105
Posted: Sun, 2005-07-24 14:58

My understanding is that OCBB has 3 active developers and phpBB has 2 active devleopers,

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2005-07-24 15:01

Einstein, thanks for the answers. it's sad to see this happening. hope they'll merge again once phpbb 3.0 is out.
meanwhile, there are good alternatives to phpbb. a fork of phpbb will only split up the resources and they'll lose momentum.

 
A_Jelly_Doughnut

Joined: 2005-07-25
Posts: 1
Posted: Mon, 2005-07-25 21:06

Good day everyone,

I saw this topic in the referrer logs and was curious :) I don't particularly care to start any sort of debate; this is not the place for that.

No members of our team are or ever have been part of any phpBB team, development or otherwise.

We do indeed have three developers, although I do most of the actual development at this time.

As far as remerging, I'm not entirely sure that there is even a remote chance of that happening. I'm open to the idea, but I don't really see phpBB as such.

I was quite reluctant to fork phpBB, but after nearly two years of delays, I thought phpBB would begin to lose momentum soon anyway, so a fork wouldn't be quite as damaging as if it had been done in mid-2003 :)

I probably won't check back here for a while, if you have questions for me, feel free to visit the site previously linked :)

A_Jelly_Doughnut,
OCbb Founder and Administrator

 
ekendra
ekendra's picture

Joined: 2004-11-11
Posts: 8
Posted: Sun, 2005-08-07 23:22

so does this mean I won't be able to integrate G2 into my PHPBB2.0.?? install ?

would be nice.

any ideas????

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2005-08-08 00:34

ekendra, noone's working on it.

 
ekendra
ekendra's picture

Joined: 2004-11-11
Posts: 8
Posted: Mon, 2005-08-08 00:38

oh well.... it looks like I'll have to make a custom skin for g2 to operate within my site. thanks for the info.

 
KnightShade

Joined: 2004-03-22
Posts: 13
Posted: Sun, 2005-08-14 00:34

Hey Guys -

I've just started to read up on G2. With the fact that phpBB3 doesn't look to be around the corner - I too was hoping to see work toward a 2.0.XX integration.

I have only just started to look into things - but am considering working on an integration of the two. I was hoping that there might be some lessons that could be learned from from the phpBB2.1 integration that could be leveraged.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2005-08-14 11:36

KnightShade, are the links in this thread not working anymore? there's also a link in the first post of the sticky embedding and integrations topic.

and you can learn things not only from the phpbb integration, but from the other integrations too.

 
KnightShade

Joined: 2004-03-22
Posts: 13
Posted: Sun, 2005-08-14 14:46

Valiant -

All of the links to http://devarea.mtb-o.net appear to be broken.
(And there are comments in this thread about that dating back into mid July.)

The links in the embedding and integrations topic also link to this same down host.

You are right that I can learn from other integrations - and will plan on doing such.

Thanks!

 
dmolavi
dmolavi's picture

Joined: 2002-12-05
Posts: 573
Posted: Tue, 2005-08-16 19:07

i'm planning on migrating nukedgallery.net away from phpnuke and towards being powered by phpbb (as most of the site is dedicated to support in the forums). however, a launch blocker for me is the lack of G2/phpBB2 integration. i will attempt to cobble something together once the rest of my site is prepared. if it works well enough, i can commit to CVS.

 
edro

Joined: 2005-08-19
Posts: 7
Posted: Fri, 2005-08-19 12:08

Just finished reading this thread. I have PHPBB 2.0.11 highly customized, not just mods, but some personal hacks. I'd really rather not go through all that again.

I have Gallery 1.5 integrated with PHPBB and it works great. I guess I'll have to stick with 1.5 if no one integrates Gallery 2 with the most widely used PHPBB bulletin board in history. (I don't actually know that. I just thought it would give someone some incentive to help me out.)

Of course, I'm not in so bad shape with Gallery 1.5, it's wonderful. I have a few things on my wish-list.

Thanks, Edro

 
dmolavi
dmolavi's picture

Joined: 2002-12-05
Posts: 573
Posted: Fri, 2005-08-19 12:13

i've got a basic G2 integration w/ phpBB2 right now in the works. user sync is done, as is export of all existing phpbb2 users. i'm working on getting the groups synched now.

 
edro

Joined: 2005-08-19
Posts: 7
Posted: Fri, 2005-08-19 16:48

Woo hoo! I had thought that integration to PHPBB2 was dead due to the PHPBB3 coming out. Thanks!

I did figure out this little trick to safeguard direct URL access to the photos (taking my que from Gallery 2 install)

cd www/gallery
mv albums $HOME
ln -s $HOME/albums albums

The above worked for Gallery 1.5. Since I'm hosted by somewhere and can't chown, the move did the trick preserving the NOBODY owner and perms.

So, I'll start getting better acquainted with Gallery 2 now and see what all it can do!

Don't we live in an amazing and enjoyable age?

Edro