Hello
I've been trying to see if anyone has created a custom install of gallery remote. By this I mean when you install gallery it will have your site and preferences already setup for the user.
I've found the GalleryRemote.properties file and If I copy it into the proper location after install it works just fine. I'm just wanting to see if there is an easier way or if someone has already done this.
Thanks guys,
Andy
Posts: 1479
There's that possibility.
Or you can use the "Quick Config". Take a look at the Quick Config preference panel in GR 1.1 or later.
Posts: 6
What is the format/options for the mentioned "properties file". I don't see this in the documentation.
Thanks,
Michael
Posts: 1479
I've added a section on QuickConfig in the manual.
Posts: 6
Hi,
Did you upload the new page?
The URL you referenced has no mention of "QuickConfig".
Thanks,
Michael
Posts: 16
Paour,
I want to set up a Quick Config file, but frankly, I'm not sure what to put in it. I think a sample file in the documentation would be nice. I assumed from your documentation that I would want to put the following in for my gallery:
pnGalleryUrl.99=http\://pics.pingbot.com\:8002/modules.php?op\=modload&name\=gallery&file\=index&include\=$GALLERYFILE$
pnLoginUrl.99=http\://pics.pingbot.com\:8002/user.php?uname\=$USERNAME$&pass\=$PASSWORD$&module\=NS-User&op\=login
url.99=http\://pics.pingbot.com\:8002/gallery/
type.99=Standalone
I don't actually know what the pnGalleryUrl and pnLoginUrl are, but they were in the default properties file (and they had .0 on them like the other things that demarcated the first entry). However, after hitting "setup", what was actually imported into my Gallery Remote properties were the following:
url.1=http\://pics.pingbot.com\:8002/gallery/
type.99=Standalone
pnGalleryUrl.1=http\://pics.pingbot.com\:8002/modules.php?op\=modload&name\=gallery&file\=index&include\=$GALLERYFILE$
pnLoginUrl.1=http\://pics.pingbot.com\:8002/user.php?uname\=$USERNAME$&pass\=$PASSWORD$&module\=NS-User&op\=login
Why did type import as type.99 instead of type.1? Is Standalone the default so I can leave this out? Do I need the "pm" URLs at all?
Shouldn't it have asked me for my user name and password? Is there a way I can force it to ask? I certainly can't hard-code a user name and password in there because everyone's will be different.
I think it would be clearer to *not* put any number on the entries (instead of url.99 just use url). Since this is a special properties file there is no name conflict. This file is for one specific server anyway since you wouldn't be able to identify multiple servers if they were all .99 either.
I have a bunch of other enhancement suggestions. Is this the right forum for those, or should I submit them in SourceForge?
Thanks in advance,
Scott
Posts: 1378
Actually if you do not mind I also would love to see some clarification on this aspect of Gallery remote as the quick config documentation is thin ;)
Scott you should post all your enhancements here and if approved they will be added to sf.net trackers.
Posts: 1479
Scott,
The behavior you noted is indeed a bug, which is corrected in the next beta.
I am using .99 for convenience in the code, so I don't have to handle separate cases for property.index and property.
pnGalleryUrl and pnLoginUrl are for PostNuke-embedded galleries. You should just use the URL property.
If username and password are not set, GR will ask the user for them when he tries to log in.
Also, you can post your suggestions on SF.net or here, at your convenience. SF.net will allow me to track them more easily (one suggestion per post, please). Posting them here will encourage other people to comment on your suggestions.
Posts: 16
OK. I'll post them here en mass and post them in SF.net individually after getting other user's comments. Thanks for the reply.
Scott
Posts: 1378
Ok I have created a complete Gallery Remote Configuration file and setup a URL to handle this requirement.. Gallery successfully loads the new settings however it does appear not to be reflecting those new settings in 1.2 B11 (This feature actually does not work at all in 1.1).
Guessing I believe that gallery remote needs a "refresh" to reflect the updated properties (restart when updating the new preferences??) as it is still reflecting the outdated values..
Posts: 98
ok, i m using gallery remote 1.1. and i tried quick-configuration file.
When trying to fetch the file from server, it will display error "cant find configuration file" When if i look in the preferences, the URL is already added fine! And it will prompt for username and password as it should!
Only thng is how i can disable the confusing error message when it is actually working fine?
thanks!!
Posts: 1479
iwantmyphoto, can you send me the URL to your quick-config file? Which version of GR is this happening on?
Posts: 98
Hi, there........thanks so much for reply..
I have managed to solve the problem by deleting the the configure and its back up file and creating a totally new one. then uploading to the server.. What i did wrong i guess, was i dumped the config file right off the GR I had already configured and I just changed some settings...
Turns out that you need a clean one, otherwise, it may have strange behavior even if it works ok..
thanks again for the great work and support!