Picasa albums

General questions on how to do things using Photonic

Picasa albums

Postby vera » 13 Oct 2011, 12:05

Helo,

Thank you for this plugin. I have installed it, and after some time figuring the various IDs and codes - got it to work.

For a while I couldn't figure out why it does not show the Picasa album at all, but then it occurred to me that perhaps it must be public - and yes, it shows the public albums perfectly, on multisite. (BTW, it is the only one I got to work with multisites).

But I need the albums limited only for those with direct link, as my websites are of a school, and there are galleries which are to be closed to the public.

How can I display those? Please help.

Thank you,
Vera
vera
 
Posts: 5
Joined: 13 Oct 2011, 11:59

Re: Picasa albums

Postby sayontan » 13 Oct 2011, 13:05

Those need authentication. You could try this:
1. Open the file Photonic_Picasa_Processor.php. You can do so by browsing to Plugins -> Editor, then picking "Photonic" from the drop-down in the top right.
2. You will see this line (line 94):
Code: Select all
      $query_url .= $crop_str;

3. Change it to:
Code: Select all
      $query_url .= $crop_str."&access=private";


I have a hunch that this will not work. If it does work, however, let me know and I will make it a part of the core code. If it doesn't work then there is no solution at the moment.
Sayontan Sinha | http://mynethome.net/blog | http://www.aquoid.com/news
I don't do freelance work (for Suffusion or otherwise), so please don't contact me for quotes or offers.
sayontan
Site Admin
 
Posts: 10159
Joined: 15 Sep 2009, 16:39
Location: Houston, Texas

Re: Picasa albums

Postby vera » 13 Oct 2011, 13:19

sayontan,

Your hunch was right. It doesn't work and the album disappears.

Can't you please find a solution? I have tried every plugin which is supposed to make a Picasa gallery on Wordpress that I could find, and yours appears the only one which works on multisite.

Vera
vera
 
Posts: 5
Joined: 13 Oct 2011, 11:59

Re: Picasa albums

Postby sayontan » 13 Oct 2011, 13:22

Are you signed in to Picasa on the same browser where you are testing the change?
Sayontan Sinha | http://mynethome.net/blog | http://www.aquoid.com/news
I don't do freelance work (for Suffusion or otherwise), so please don't contact me for quotes or offers.
sayontan
Site Admin
 
Posts: 10159
Joined: 15 Sep 2009, 16:39
Location: Houston, Texas

Re: Picasa albums

Postby vera » 13 Oct 2011, 13:48

Yes, I am. I use Chrome of late.
vera
 
Posts: 5
Joined: 13 Oct 2011, 11:59

Re: Picasa albums

Postby vera » 18 Oct 2011, 02:23

Sayontan? Are you considering this or have you abandoned this thread? :?
vera
 
Posts: 5
Joined: 13 Oct 2011, 11:59

Re: Picasa albums

Postby sayontan » 18 Oct 2011, 02:28

I did mention it in a response above - since my suggestion did not work, I have no solution at the moment (and I doubt if an easy solution exists). I will take a look at this in the next version of the plugin, but I cannot promise a solution.
Sayontan Sinha | http://mynethome.net/blog | http://www.aquoid.com/news
I don't do freelance work (for Suffusion or otherwise), so please don't contact me for quotes or offers.
sayontan
Site Admin
 
Posts: 10159
Joined: 15 Sep 2009, 16:39
Location: Houston, Texas

Re: Picasa albums

Postby vera » 18 Oct 2011, 17:16

Thank you, for the intention at the very least :).

I was unsure, because you asked a question, and then - nothing.

BTW, for anyone who may be interested, today I have finally managed to make one other plugin work in multisite with non-public albums. Their solution is a shortcode (I think it is called that) such as
authkey="xxx"

in the parameters. Perhaps it will help you with your work on the next version, as well.

Thanks again,
Vera
vera
 
Posts: 5
Joined: 13 Oct 2011, 11:59

Re: Picasa albums

Postby xavier33 » 22 Oct 2011, 09:57

Hi sayontan,

Here is a simple way to add this feature to your (great) plugin :

In Photonic_Picasa_Processor.php

Line 94 add

Code: Select all
if (isset($authkey) && trim($authkey) != '')  {
         $query_url .='authkey='.$authkey.'&';
         
}


To display a restricted album just add the authkey parameter to the short code :
Code: Select all
[gallery type='picasa' user_id='yourid' album='thealubum' authkey='theauthkey']


That's it :)

Hope it helps.
Xavier
xavier33
 
Posts: 1
Joined: 22 Oct 2011, 09:25

Re: Picasa albums

Postby sayontan » 22 Oct 2011, 10:15

Cool. Thanks!
Sayontan Sinha | http://mynethome.net/blog | http://www.aquoid.com/news
I don't do freelance work (for Suffusion or otherwise), so please don't contact me for quotes or offers.
sayontan
Site Admin
 
Posts: 10159
Joined: 15 Sep 2009, 16:39
Location: Houston, Texas

Next

Return to Support Requests

Who is online

Users browsing this forum: No registered users and 2 guests