Hi, I have added it into feature request list but no idea when I find time for implementing it
Jan
Picasaweb albums not loaded
- Jan
- Phoca Hero
- Posts: 48416
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Picasaweb albums not loaded
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 4
- Joined: 09 Jul 2008, 20:13
Re: Picasaweb albums not loaded
Matczar, could you explain or add .sql here for the authkey add.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.
Are the code changes you mentioned all we need to update or is there UI still missing?
Thanks
-
- Phoca Newbie
- Posts: 2
- Joined: 29 Apr 2010, 14:32
Re: Picasaweb albums not loaded
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:
That looks screenshot of adding/editing a category:
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
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
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` ;
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
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
- Jan
- Phoca Hero
- Posts: 48416
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Picasaweb albums not loaded
Hi, thank you for this guide.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 1
- Joined: 16 Sep 2013, 21:10
- Location: Czech Republic
Re: Picasaweb albums not loaded
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?
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?
- Jan
- Phoca Hero
- Posts: 48416
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Picasaweb albums not loaded
Hi, this feature works for a long time.
Jan
Jan
If you find Phoca extensions useful, please support the project