Page 2 of 2

Re: Picasaweb albums not loaded

Posted: 29 Apr 2010, 21:47
by Jan
Hi, I have added it into feature request list but no idea when I find time for implementing it :-(

Jan

Re: Picasaweb albums not loaded

Posted: 04 May 2010, 18:03
by emagin
matczar wrote: This approach simplifies the matter somewhat. We do not select the album from the list of public ones, but select a specific album. The album is unlisted, but we use the authkey, and the google server return a json data.
Of course, I added new column holding the authkey to the database, and input in category form. I did some tests and this method seems to work.
Matczar, could you explain or add .sql here for the authkey add.
Are the code changes you mentioned all we need to update or is there UI still missing?
Thanks

Re: Picasaweb albums not loaded

Posted: 04 May 2010, 23:24
by matczar
Hi.
So, here is an archive of files with my changes, which are based on version 2.6.2 : phocagallery_v2.6.2_mod_v2.zip
To illustrate the changes, there are also patch files.
UPDATE:
- In the first version I forgot about the file: \administrator\components\com_phocagallery\tables\phocagalleryc.php, and the authkey was not saved to the database

In the database I added only one field:

Code: Select all

ALTER TABLE `jos_phocagallery_categories` ADD `extauth` VARCHAR( 255 ) NOT NULL AFTER `exta` ;
That looks screenshot of adding/editing a category:
Image

If a 'Auth key' field is blank, then the component is behaving the same.
If a 'Auth key' field contains the any string, then the gallery is considered as unlisted and the component tries to get its data using the authkey.

One thing more: USE THIS MOD AT YOUR OWN RISK, AND I SUGGEST TO DO SOME BACKUPS FIRST :wink:

BTW:
In general, the component uses urls contains .com (to get albums data), but for example I'm from Poland, and when I use google albums, url contains .pl. .com is default in the component, but this can cause problems

Re: Picasaweb albums not loaded

Posted: 12 May 2010, 21:25
by Jan
Hi, thank you for this guide.

Jan

Re: Picasaweb albums not loaded

Posted: 16 Sep 2013, 21:25
by Venca
Hi Honzo,

This is great idea to have option to access gallery with authkey. You mentioned it is on wish list. Is it still on wish list?

Re: Picasaweb albums not loaded

Posted: 20 Sep 2013, 20:40
by Jan
Hi, this feature works for a long time.

Jan