Heya, Im on startup to use this great mod for a project where a shop system for picures is needet.
ATM I have 2 problems with the system, one is very simple, the other one might need more explanation
1) I found that there are some points in the language file (english & german) missing so the table in the mail has no header description.
fixed this by adding the following line to the $lang_photoshop array:
german.php:
'item_id_checkout' => 'Item ID',
'type_chckout' => 'Format',
'amount_checkout' => 'Anzahl',
'total_checkout' => 'Preis',
english.php:
'item_id_checkout' => 'item ID',
'type_chckout' => 'dimension',
'amount_checkout' => 'count',
'total_checkout' => 'price',
the 2. problem might be a little more complicated:
- the coppermine system is integrated with a special bridge from mehdi (
http://www.mehdiplugins.com/misc/index.htm) into a joomlaa 1.0.12 cms
- in the joomla cms i've installed the "User Extended" Component to integrate more user field on registration (like adress and so on)
the problem I now have, that by this plugin, a registration in the gallery (redirected to the cms) will stop at the point where the cms is generating an email.
the solution in this original mod, that the user wil be automatically "activated" and directed back to its basked wont work (deactivated by the bridge).
Does anyone have an idea how this could be reimplemented by using the bridged system?Another problem i have is, when an unregistered user wants to check out, the system redirects him to the register form.
Well with the bridge he will be directly redirected to the user_extended registration form of the cms. But i need another redirection so he has before to accept the "system rules" (AGB).
I think this could be done by a manipulation of the following lines in the phptoshop_register.php:
//if user isn't logged in redirect to shop register/login page
if(!USER_ID) {
photoshop_refresh($_SERVER['PHP_SELF'].'?file=photo_shop/photo_shop_register');
exit;
}
Dont know, but will try out

EDIT
well I found another thing, that relies on the usage of the bridged mode:
If the user logs out with a filles shopping cart this one will stay active for the guest...
But the most worst thing is:
If i want to change the amount of pictures in the shopping cart, i get the error Message:
Illegal variable _files or _env or _get or _post or _cookie or _server or _session or globals passed to script.
And I dont know where this comes from
Live site to check this:
http://www.pferdefotos-sh.de/coppermine