Mark is right, GauGau.
I'd be happy to work with y'all on it.
We (for some reason) had some issues with the database settings running it through the
custom bridge area of the bridge manager. So, since it's the SMF bridge that comes
with Coppermine, with a couple additional functions added, and Enigma 2 is already
integrated with SMF, we thought it would be easier for the time being from a users
perspective to just upload a new version of the file. Plus, if they already have an SMF
bridge, and then add E2, they can just replace the file and be done.
The additional functions were addded mainly to let E2/SMF control certain aspects in
regards to spitting out the source code to the browser, so that it would be W3C compliant.
What we ran into was being integrated with E2, the closing of the head, and opening of
the body, and the closing of the body and html tags. It would actually end up putting
things that should be in the head, just inside the body tag, which the validator at W3C
didn't like. As well as the closing tags having an issue as well.
So we add a custom header function and footer function, which are the same as the
coppermine functions without killing the tags mentioned previously, as well as we
also added the custom header and footer functions with the paths already coded to
save users having to go in and add each file inside the config section of Coppermine.
For E2 to be added in the bridge manager, it would be as simple as copying the existing
bridge manager stuff for the SMF area, generating another radio button, and then
renaming the bridge file included in our bridge package to Enimga vice SMF.
If it's something that you all would like done, that's fine.
Technically we could have went ahead and done it, but with all our bridges we
are trying to not impact any of the original application files if we don't have to.
So, we went the easy route. But like I said, if it's something y'all would like done,
we don't have any problems with it. In fact, I would even be willing to make the
changes needed and submit them back to you if you would like.
We've done a similar bridge with WordPress (it's my baby, lol), and the more I play with
it the more I'm amazed that I can do with it. This being the case, I think there is the possibility
of even more users finding the power of Coppermine as well as E2.