forum.coppermine-gallery.net
Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: epit on October 26, 2003, 03:56:10 am
-
I have 2 completely different coppermine galleries on 2 different hosts. when I download and 'install' the .reg file from either page, it overwrites the other coppermine gallery's info on my XP machine.
the culprit is on line 553 of xp_publish.php (1.2.0 RC2):
$lines[] = '[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\PublishingWizard\PublishingWizard\Providers\CopperminePhotoGallery]';
if you change the line to
$lines[] = '[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\PublishingWizard\PublishingWizard\Providers\\'. $CONFIG['gallery_name'] .']';
this will give the registry entry a 'unique' entry (well, more unique than the current method), rather than overwrite the entry each time. Oh, and the line needs the \\' in it (an extra \) cause PHP thinks its escaping the ', and therefore screws everything up :)
Hope that helps.
Thanks for the software, it rocks
-
Thanks - will test and fix in CVS
BTW would you have the info on creating XP wizards? a tutorial perhaps the one mentioned by the origianl author is no longer available
-
probably not, but what do you mean by 'wizards'? (I know what wizards are, but tying to web or php or whatnot? please clarify)
-
An XP web publishing wizard which allows upload just like the current one we have in CPG...
I want to understand how the client side image resizing is done....
-
tarique, the xp publishing wizard used by coppermine is built-in in windows XP, not created by the author.
What the author created was a login interface for the wizard that links it to coppermine (the xp_publish.php file).
It is only the question of having the correct parameters in the windows registry.
as far as I know, client side image resizing is done by windows, and not the xp_publish file...
-
tarique, the xp publishing wizard used by coppermine is built-in in windows XP, not created by the author.
I know
as far as I know, client side image resizing is done by windows, and not the xp_publish file...
Since I say client side it obviously means Windows OR something in Windows :)
All I wanted to know was is it just selecting an Image brings up the needed resize interface OR something else is required...
-
in other words: could someone using win xp make some screenshots to show the xp_publsihing wizard "in action" for those who do not have win xp?
GauGau :wink:
-
Screenshots can be found on http://alberg.dk/screenshots/
They are in danish so tell me if you need anything explained :D
-
I have just found the same problem as discussed at the start of this thread by epit .
I installed xp_pub_wizard from a 1.2.1 gallery, and it overwrote my original account. I fixed it for myself, but think it should be dynamic, as many users will not know how.
CPG is very popular now, and many users will have the same problem with xp_publish overwriting their other cpg xp_publish account.