Project:phpBB2Drupal
Version:6.x-1.x-dev
Component:Miscellaneous
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

thanks for a great module!

So far I couldn't find a way to access phpBB 2.0 photo albums from drupal6.

Is this functionality within the possible scope of phpBB2Drupal at all?

thanks,
gue

Comments

#1

Status:active» postponed (maintainer needs more info)

This has been asked for before, but I am not aware of which MOD actually adds this capability to phpBB.

I (or whoever volunteers) will probably need to see that mod to make a decision on this.

e.g, does the mod just insert an image into the forums as nor al then use magic to make it into a photo album? or does it actually integrate an external forum album into the site? something else?

EDIT - either way, this will most likely not be considered until AFTER phpBB3 support has been completed.

#2

The original MOD came from a guy called smartor. PHPBBHacks lists the MOD but it is unavailable now.

Another guy from italy (Mighty Gorgon) has picked it up and kept working on it.
It is called Full Album Pack and has grown a lot.

It comes with a set of new mySQL tables to store the imagename and location, uploader, comments, rating, views, etc.

So those would have to get imported into drupal, probaly as nodes of some kind.
Ideally the comments and votes should be retained too.

All way beyond of what I could do, sorry

#3

[quote] EDIT - either way, this will most likely not be considered until AFTER phpBB3 support has been completed. [/quote]

understood, thanks for the reply. I realise this feature may be beyond the intended scope of this drupal module.

In general there seems no easy link from phpbb albums to drupal so far. I'd be happy to export phpBB -> gallery2 -> d6 module, but that hasn't been implemented.

These phpBB album mods require their own tables such as drupal modules do, their own php gallery and admin templates, etc. So its not just an injected image in a post, for instance like imgassist.

the best overall combiner of legacy phpBB album mods seems to be as Jan pointed out FAP.

cheers,
gue

PS: FYI- in case you dont have these already here's 2 phpBB links, one to smartor's mod in question, and a phpbb3 beta album mod by Handyman which is compatible with smartor's outdated photo album v2:

As Jan stated the mod in question is smartor's photo album v2 which is not maintained anymore:
http://www.phpbb.com/community/viewtopic.php?t=74772

as well as his suggested FAP all-in-one updater for previous album mods there's this specific one:

this is a port/integration of smartors album to phpbb3 by Handyman which is currently being developed (no release date)-> [BETA] Photo Gallery 0.1.0 (plus) smartors upgrade:
http://www.phpbb.com/community/viewtopic.php?f=70&t=544915&st=0&sk=t&sd=a

#4

Thanks for the info.

Not having had a look at the code of the mods, I do have a "feeling" that the easiest way to do this would be to integrate with image.module on the drupal side.

#5

Status:postponed (maintainer needs more info)» needs work

I have been working on this over the past few days due to some motivation from Jan (a bounty). It has turned into a lot more work than I had imagined.

Attached files are where I have got to so far.

The current bugs:

1. On the settings page, the theming displays many errors. No idea why. No idea how to fix.
2. the images do not have any terms associated with them - doing it the proper way (taxonomy_node_save) actually crashes the import, so I have replaced it with a normal database insert - I will need to look into this and fix it (probably need to do a few more things.)
3. Not sure, but I think I have just introduced some bugs in the ratings where it no longer imports properly. I will have to check again.

What does work:

1. The settings page. Any settings set will be kept.
2. Importing the taxonomy.
3. Importing the images (apart from the taxonomy association)
4. Comment import.
5. Ratings (unless i just introduced some bugs...)

This is for Drupal 5 and works with CCK and Imagefield (tested version 1.2rc-something). ratings go into votingapi.

AttachmentSize
phpbbalbum2drupal.zip 5.43 KB

#6

Update version which mostly works.

There are still display errors on the settings page. For some reason there are also import errors when using mysql, but not mysqli.

A couple of FIX ME's in the code:

1. the image field name must be "image".
2. For the taxonomy import, heirarchy is lost.

please test, hit me with a clue stick about these errors. (imagefield V 1.2-rc is what I am using.)

AttachmentSize
phpbbalbum2drupal.zip 5.58 KB

#7

Status:needs work» closed (fixed)

closing old issues that are probably no longer relevant.

nobody click here