Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=1500)
*******************************
Picasa Gallery Browser Mod
*******************************
This mod allows you to browse the public albums of a Picasa Gallery account as part of your SMF forum.
Once installed this mod places a Picasa Gallery menu item on the default forum theme.
Before you can view your selected Picasa Album you need to go the Picasa Galley Browser admin settings which can be found...
In SMF 1.1 admin options are found in the Features and Settings admin page under "Layout and Options".
In SMF 2.0 admin options are found under Miscellaneous in Configuration, Modifications of your admin panel.
Set the server to your Picasa server i.e. http://picasaweb.google.com and user name to your Picasaweb user name. Make sure that there is no spaces after the username or server address when entering them into the relevant text boxes.
Admin options include...
1) The ability to restrict this gallery browser to display just one selected album.
2) An optional default Album. Leave blank if you wish, by default, to list the public albums.
3) Set the number of images to display per a row.
For more information about Picasa, check out picasaweb.google.com.
Disclaimer: This mod is provided "as is" without express or implied warranty.
Credits...
- This mod uses the Highslide JS view. The Highslide JS is licensed under a Creative Commons Attribution-NonCommercial 2.5 License. This means you need the author's permission to use Highslide JS on commercial websites. http://highslide.com/#licence
- The Snoopy PHP net client is distributed under the GNU Lesser General Public license. http://snoopy.sourceforge.net/
- The MagpieRSS, a simple RSS integration tool, is distributed under the GNU Lesser General Public license. http://magpierss.sourceforge.net/
- Picasa is a trademark of Google Inc. This product uses the Picasa Web Album API but is not endorsed or certified by Picasa.
The Picasa Gallery Browser should work with any theme.
However, if you're
not using the default theme under SMF1 you may need to add a 'Picasa Gallery' button, index.php?action=picasagallerybrowser, to your theme.
Changelog...
0.1 - November 2008 (First release)
0.2 - 08th November 2008
- Major rework of template and picasagallerybrowser.php files to make them more consistent with SMF guide lines.
- The introduction of a separate css file for highslide settings.
- Modifications to SMF2 install php script to use $smcFunc['db_insert'].
0.3 - 10th November, 2008
- Removed references to undefined variables from from picasagallerybrowser.template.ph,rss-functions-mod.php and picasagallerybrowser.php
0.4 - 1st December, 2008
- Removed some hard coded strings from picasagallerybrowser.template.php
SMF Versions: 1.1.6, 1.1.7 and 2.0 Beta 4
Beautiful mod mate!
Is there anyway to display only one album in the picasso users collection?
Meaning I have a martial arts album I would like to display, but by only being directed by my userID it also displays my family and holiday albums etc..
Do you think this would be able to be implemented?
Cheers mate, and congrats on another good mod :)
Yes. Simply go to the gallery's admin options and enter the album name that you wish to display as the default album. Then check the Default Picasa Album Only option.
Arrrrggg
Sorry mate, I tried that and couldnt get it to show.
It was then that I woke up and realised that I should be copying the albums browser name, instead of the written text.
eg. Autumn 2007 - Autumn 2008
is Autumn2007Autumn2008
Cheers buddy :)
EDIT
Is it possible to add tag searches?
Meaning each image tagged "martial" in all my folders would be displayed.
I ask this as I would like to use a martialschools images, but only those tagged martial.
If it isnt possible at the moment, do you see it being made so in another release?
Also Ive been trying to get the dimming effect darker, to no eval.
Is there more than one setting that needs to be altered for this?
Thank you
Sorry tags are not available in the current version.
However, I'll keep it in mind for a future update.
Sorry mate, my edit just missed your reply.
It is regards to the dimming effect, how would we make it appear darker?
I changed the value of "dimmingOpacity" many times, but no change occured.
What am I missing?
The documentation relating to the java script settings can be found on the highslide website.
The opacity option info can be found here..
http://highslide.com/ref/hs.dimmingOpacity
What is linking to that gonna do?
I mentioned I was changing the variables for it, which indicates I know what to look at. Nothing else is needed but to change the value.
All that needed mentioning was which template to edit, as it is mentioned in a few.
Anyways, I was looking at the wrong templates and js lol.
For anyone that wants to alter it, look for "hs.dimmingOpacity" in the picasagallerybrowser.template
Changing
hs.dimmingOpacity = 0.1;
to
hs.dimmingOpacity = 0.75;
Sorry about that Sabre, I thought you were enquiring about what values it takes not its location within he code.
Regarding the tag thing, you can make a manual edit to the picasagallerybrowser.php, found in the smf source folder to include the tag value.
Look for the lines...
function getPicasaPhotos($baseurl, $user, $album, $access = 'public') {
$feedURL = $baseurl.'/data/feed/api/user/'.$user.'/album/'.$album.'?kind=photo&alt=rss';
and add to the $feedURL string a tag value &tag=WHAT_TO_SEARCH_FOR
Hence if I wanted all photos with the martial tag the code would look like this..
$feedURL = $baseurl.'/data/feed/api/user/'.$user.'/album/'.$album.'?kind=photo&alt=rss&tag=martial';
Is there a way to make this gallery so only logged in members can see it?
Sorry no. I was kind of thinking that if the photos are public on Picasa then there was no point in restricting them in this mod.
The only method currently of stopping guests from browsing the gallery is the lock your forum down by not allowing guests to browse the forum.
If you know a bit of PHP you can edit your theme so that it only displays the gallery button to a person who has logged in by adding if (!$context['user']['is_guest']) above the gallery button code. Then add a similar check in the picasagallerybrowser.php file found in the source folder.
Just an FYI what I did so only logged in members can see the Picasa Gallery menu item. In Subs.php I changed:
'picasagallerybrowser' => array(
'title' => $txt['picasa_gallery'],
'href' => $scripturl . '?action=picasagallerybrowser',
'show' => true,
'sub_buttons' => array(
),
),
To this:
'picasagallerybrowser' => array(
'title' => $txt['picasa_gallery'],
'href' => $scripturl . '?action=picasagallerybrowser',
'show' => !$user_info['is_guest'],
'sub_buttons' => array(
),
),
Guests no longer can see the menu item for the Picasa Gallery.
Joec88, Thanks for the code and feedback.
I just want to add, for the other users of this forum, that the above code is for SMF2.
For SMF1 you need to check$context['user']['is_guest'] status and edit your theme template accordingly.
Joec88 are you using SMF 2.0 RC1 or Beta 2?
It's actually SMF 2.0 Beta 4.
hello.
help please add a button under the theme Babilon, smf ver 1.1.8
it's
// the [picasagallerybrowser] button
echo '
<a href="', $scripturl, '?action=picasagallerybrowser">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/picasagallery.gif" alt="' . $txt['picasa_gallery'] . '" style="margin: 2px 0;" border="0" />' : $txt['picasa_gallery'] , '</a>',' $context['menu_separator'];
here
// Is the user allowed to administrate at all? ([admin])
if ($context['allow_admin'])
echo '
<a href="', $scripturl, '?action=admin">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/admin.gif" alt="' . $txt[2] . '" style="margin: 2px 0;" border="0" />' : $txt[2]), '</a>', $context['menu_separator'];
// Edit Profile... [profile]
if ($context['allow_edit_profile'])
echo '
<a href="', $scripturl, '?action=profile">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/profile.gif" alt="' . $txt[79] . '" style="margin: 2px 0;" border="0" />' : $txt[467]), '</a>', $context['menu_separator'];
// The [calendar]!
if ($context['allow_calendar'])
echo '
<a href="', $scripturl, '?action=calendar">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/calendar.gif" alt="' . $txt['calendar24'] . '" style="margin: 2px 0;" border="0" />' : $txt['calendar24']), '</a>', $context['menu_separator'];
What is lacking?
tura_mdj,
I assume you just want to add a button to your current theme in version 1.1.8
Most themes use their own code for button menu control and display, so its most likely that you will have to copy one of the buttons in the 'template_menu' function and alter it so that it has the correct information.
A possible solution is to copy the 'Help' button, make a copy of the code for that button above the original code, and perform the changes below for the new code.
Find this code:
$txt[103]
Replace with this code:
$txt['picasa_gallery']
Find this code:
href="', $scripturl, '?action=help"
Replace with this code:
href="', $scripturl, '?action=picasagallerybrowser"
Find this code (It may occur more than once, or not at all):
$current_action=='help'
If you found it then replace it with this code:
$current_action=='picasagallerybrowser'
If your help button looked something like this:
// Show the [help] button.
echo ($current_action == 'help' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'help' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=help">' , $txt[119] , '</a>
</td>' , $current_action == 'help' ? '<td class="maintab_active_' . $last . '"> </td>' : '';
Then you final forum button should look something like this:
// Show the [help] button.
echo ($current_action == 'help' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'help' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=picasagallerybrowser">' , $txt['picasa_gallery'] , '</a>
</td>' , $current_action == 'picasagallerybrowser' ? '<td class="maintab_active_' . $last . '"> </td>' : '';
Adding the 'picasagallerybrowser' action:
These edits will be required for custom themes that use slightly different code or css for buttons that are currently active. If your theme doesn't do that, then you can ignore these edits.
Find this code:
$current_action = 'search';
Replace with this code:
$current_action = 'search';
$current_action = 'picasagallerybrowser';
Find this code:
, 'login', 'help', 'pm'
Replace with this code:
, 'login', 'help', 'pm', 'picasagallerybrowser'
2 PJLawrence:
hello, $txt[103] - This variable button "home", I do not want her to remove.
I would add to existing, this is real?
archive files theme.
Yes you should make a copy of your original theme code before editing it.
You should not change the code of any existing buttons. Only modify the new code you insert into your theme. The instruction relate to copying the code of an another button in the theme and then modifying this copied code to become the button for the Picasa gallery.
thanks, done
I have been trying to get this to work (great app), I have put in my (what I think is my ID) in the "Enter Picasa Account ID" and I have the Picsa public gallery setup and my URL is correct, but I still don't get the gallery in SMF. What am I doing wrong.
public gallery (just one photo now): http://picasaweb.google.com/PSMVCC (http://picasaweb.google.com/PSMVCC)
Quote from: topmmc on April 28, 2009, 02:33:17 PM
I have been trying to get this to work (great app), I have put in my (what I think is my ID) in the "Enter Picasa Account ID" and I have the Picsa public gallery setup and my URL is correct, but I still don't get the gallery in SMF. What am I doing wrong.
public gallery (just one photo now): http://picasaweb.google.com/PSMVCC (http://picasaweb.google.com/PSMVCC)
Remove the /PSMVCC from the Picasa Server URL so it is just http://picasaweb.google.com
ahh, that did the trick
Thanks, this is a great mod, love it.
top
Hello,
Great mod!
How can I change the menu tab text to read only "Gallery" ?
Thank you.
You need to edit your language file.
The name of this file depends on what language and character set you are using.
For example for English this file could be Modifications.english.php which is found in /Themes/default/languages/
find the code
$txt['picasa_gallery'] = 'Picasa Gallery';
and change the text in quotes to whatever you want.
P.S.
Please backup your files before modifying.
Hi PJ,
This looks like a great mod, and it's getting rave review here in the thread. I'm wondering if there's any possibility of linking a demosite, though. The images posted with the mod are not very large and I'd like a better idea of how it works and looks when integrated into SMF.
Thanks,
Met
Straight to a non-demo
http://atheos23.net
Galler-E not iGallery
Awesome mod, great job, thank you!!!
I would like to install more than just one Picasa Gallery, is that possible?
I mean, I have three galleries, and would like to show all them embedded in my website...
Quote from: softcore on May 19, 2009, 05:50:34 PM
I would like to install more than just one Picasa Gallery, is that possible?
Up (not down)
Sakae, sorry but the current version does not support multiple Picasa gallerys. This would require some re-work of the PHP code. This is possibly a project for someone else. I have no objections to someone modifying my mod and posting their own version to the SMF form.
Metok,
It is possible to change the size of the thumb nail images. However, it requires a manual change to the php code. If you're interested I can post details.
Quote from: PJLawrence on June 30, 2009, 04:56:27 AM
Sakae, sorry but the current version does not support multiple Picasa gallerys. This would require some re-work of the PHP code. This is possibly a project for someone else. I have no objections to someone modifying my mod and posting their own version to the SMF form.
Oh, ok, Lawrence. I solved in a hard way, duplicating PicasaGalleryBrowser.php and PicasaGallery.template.php, modifying some data into it.
http://www.tigrelog.com.br/index.php?action=galeria
Kinda works, not very well, but it does.
Sakae. it looks very good. I think if you modify the code so that you use only one version of the php and template php code and add the extra options to the admin setup. You should be able to submit it to the SMF website as your own mod.
Quote from: PJLawrence on July 01, 2009, 09:24:15 AM
Sakae. it looks very good. I think if you modify the code so that you use only one version of the php and template php code and add the extra options to the admin setup. You should be able to submit it to the SMF website as your own mod.
Ok, thanks for the green light, I'll think about it. If I did so, I'll contact you to submit as a update for Picasa Gallery Browser mod.
Best regards
Hi! Very nice mod, congratulations! :)
I've been having trouble installing this mod manually because I'm using a custom theme, so there are entries that are missing in my index.template.php. More specifically this one:
$current_action = 'admin';
if (in_array($context['current_action'], array(
I've tried different ways to install it, with no success. So, please, if someone could help me to modify my index.template.php in order to install this modification, I'll be very thankful :D.
I've attached my index.template.php.
Thanks in advance! :)
EDIT: Also and offtopic :p. I have two questions: how many pictures can I upload to a Picasa album? Is there a restricting size per account?
Herr_Inoddorell, which version of SMF are you using 1.1 or 2?
I don't think there's an album limit, just a Picasa account limit which is based on disk space usage. Typically 1GB for the free account.
Quote from: PJLawrence on August 01, 2009, 04:02:17 PM
Herr_Inoddorell, which version of SMF are you using 1.1 or 2?
I don't think there's an album limit, just a Picasa account limit which is based on disk space usage. Typically 1GB for the free account.
Ah, OK. Thank you so much for answer :D.
I'm using 1.1.10 :).
Herr_Inoddorell, how good is your PHP?
I've taken a quick look at your theme template and there could be two locations where you may need to add a button, template_main_above() and/or template_menu().
Normally you only need to update one section of code in template_menu.
basically you need to add a button(s) which references ?action=picasagallerybrowser
Some outline instructions can be found here ...
http://www.simplemachines.org/community/index.php?topic=279640.msg2023902#msg2023902
I have nothing PHP, I make every changes by, lets say, method of trial and error :P. But well, I'm progressively understanding how these things work around, that's something good, I think ;D.
I've seen that post above. So you mean that only I have to add a button in my index.template.php? If it's that only, I could do it :).
Thanks for your reply! :D
Herr_Inoddorell, It's probably better that you make the changes. Since you can do the changes and test that all things still work as they should.
Someone else could do it but if they don't have the theme install they can't check its functionality. Beside this way you learn some coding and will be better able to maintain your forum.
SMF 2 is a bit better since it allows mods to add buttons to any theme where SMF 1 mods can only add buttons easily to the default theme.
Yes I know it ;D.
I thought that there was something else than adding a button, because of that missing entry in my index.template file that I posted above, so that's why I asked :). I'm going to do it.
Thank you very much for your help :)
So, I installed it a few days ago, and fits my needs perfectly!! :D
Great mod, here's my little translation to Spanish that I made for it (more specifically, for the spanish_es package).
In $languagedir/Modifications.spanish_es.php:
Find:
?>
Add before:
// PJL : Start of Picasa Gallery Mod.
$txt['picasa_gallery'] = 'Galeria Picasa';
$txt['picasa_table_title'] = 'Navegador de la Galeria';
$txt['no_picasa_server'] = 'Por favor especifique un servidor de Picasa.';
$txt['no_picasa_account'] = 'Por favor especifique una cuenta de usuario de Picasa.';
$txt['no_picasa_photos'] = 'No se encontraron fotos.';
$txt['no_picasa_albums'] = 'No se encontraron albumes.';
$txt['no_picasa_default_album'] = 'Album por defecto especificado, pero no asignado por defecto.';
$txt['picasa_album'] = 'Album: ';
$txt['picasa_thumbnail']='Haz click para agrandar';
$txt['picasa_album_thumbnail']='Click aqui para ir al album';
$txt['picasa_account'] = 'Cuenta de Picasa: ';
$txt['gallery_picasa_server_url'] = 'Entra la url del servidor de Picasa';
$txt['gallery_picasa_account'] = 'Entra la ID de la cuenta de Picasa';
$txt['gallery_picasa_fixed_album'] = 'Unico album por defecto de Picasa';
$txt['gallery_picasa_default_album'] = 'Album por defecto de Picasa';
$txt['gallery_picasa_columns'] = 'Columnas de la Galeria Picasa';
$txt['gallery_picasa_view_album'] = 'Ver Album';
$txt['gallery_picasa_view_photo'] = 'Ver Foto';
$txt['gallery_picasa_filename'] = '<b>Nombre de Archivo:</b> ';
$txt['gallery_picasa_size'] = '<b>Tamaño:</b>';
$txt['gallery_picasa_dimension'] = '<b>Dimensiones:</b>';
$txt['gallery_picasa_uploaded'] = '<b>Subido:<b>';
$txt['gallery_picasa_taken'] = '<b>Tomada en:</b>';
// End Mod.
Cheers! ;)
Is this mod going to be updated for SMF 2.0 RC2?
Yes it's something I'll be looking into.
However very busy at the moment so wont be done soon. Sorry.
Update to SMF2.0 RC 2, see version 0.5
Dear Forum users,
I have recently set up my SMF forum (I'm running SMF 2.0 RC2) and am very pleased so far.
I have installed several mods, including the Picasa Gallery Browser. However, I cannot get it to display any images. It just says "no albums found". I cannot figure it out, have tried every setting I can think of. I have multiple picasa accounts, all with public albums, but none of them work.
I have another issue which might be related: in the home admin screen, I can never connect live to smf for news, etc. Could it be my (hosted) server can't make outgoing connections?
Please help!
T-Mart,
This mod uses the php command fsockopen.
This function is sometimes blocked by service providers so you may need to check this.
As for the connect live to smf for news not working maybe try this mod..
http://custom.simplemachines.org/mods/index.php?mod=1569
Regards
Hi PJLawrence,
Thanks for the quick reply. It seems you're spot on with the fsockopen command. My hosting provider does not allow it. Is there anyway you know to bypass this problem? I'm willing to mod, but switching to another provider is a bridge too far.
Thanks,
T
Not easily. Does the cURL mod fix the smf news problem? If it does you could modify this mod to use the cURL function instead. However, if you talk to your service provider they may enable fsockopen.
I chose to use fsockopen in this mod since that's what SMF currently uses.
Hi, I must say your mod is excellent. I ve been using it for some time already!
Yesterday, we moved to a new server, and your mod started to fill out Forum Error Log with following:
8192: Function split() is deprecated
SOME-SERVER-PATH/Sources/rss-functions-mod.php
Line: 173
It seems that function is dropped in recent PHP release, if I understood good. Is there a way to fix it?
Gallery still works, but it makes every day 94 pages in error log, which is a little problem and time consuming when you need to check whole log and see if any other error on forum appeared.
You could either change this function to use the preg_split function instead, or you could place an @ symbol before the function, on line 173, to suppress errors.
i.e. change line 173 to
list($ns, $el) = @split( ':', $element, 2);
or change it to
list($ns, $el) = preg_split( ':', $element, 2);
Note I've not tested the above so let me know how you get on.
When I update this mod I will probably change the split function to preg_split, which hopefully should be straight forward change.
Thanks, I used first option (@) to mute errors.
I tried first your second suggestion as it looked like long term solution, and I thought it worked for a second. But then I visited gallery and then checked error log to find out 53 pages generated during my use of gallery. Error was this time pointed on file picasagallerybrowser.php, line 101.
For now this first option will do the trick. ;)
I am looking forward to new version of this great mod of yours.
Keep up the good work!
What was the error at line 101 on the file picasagallerybrowser.php
Thanks
I just tried it today and here is a result:
first, all pictures are "broken", means they cannot be viewed. 165 pages of errors generated during my 10 second visit to Gallery.
About error log, it generated many errors, I ll try to pick all without repeating:
2: preg_split(): No ending delimiter ':' found
File: SERVER-PATH/Sources/rss-functions-mod.php
Line: 173
8: Undefined index: media
File: SERVER-PATH/Sources/picasagallerybrowser.php
Line: 44
8: Undefined index: media
File: SERVER-PATH/Sources/picasagallerybrowser.php
Line: 103
8: Undefined index: media
File: SERVER-PATH/Sources/picasagallerybrowser.php
Line: 102
8: Undefined index: media
File: SERVER-PATH/Sources/picasagallerybrowser.php
Line: 101
8: Undefined index: gphoto
File: SERVER-PATH/Sources/picasagallerybrowser.php
Line: 92
8: Undefined index: gphoto
File: SERVER-PATH/Sources/picasagallerybrowser.php
Line: 89
8: Undefined index: gphoto
File: SERVER-PATH/Sources/picasagallerybrowser.php
Line: 88
8: Undefined index: gphoto
File: SERVER-PATH/Sources/picasagallerybrowser.php
Line: 87
8: Undefined index: gphoto
File: SERVER-PATH/Sources/picasagallerybrowser.php
Line: 85
Thanks for the feedback.
So it seems like preg_split is not a straightforward replacement for the old php function split.
I think I need to do some more research.
ok this seems to work with preg_split
list($ns, $el) = preg_split( '/:/', $element, 2);
Note the / / around the colon.
Yup, that solved the problem.
Gallery works normally, no errors reported in log and function is supported by the latest PHP which makes this "fix" useful in long term.
Thank a lot for help!
Hi, do you plan making it for RC 5?
Yes will be looking into checking this mod under RC5 as soon as time permits.
However, I feel it should work without modification.
how about 2.0 gold?
Quote from: T-Mart on March 03, 2010, 06:47:11 AM
I have installed several mods, including the Picasa Gallery Browser. However, I cannot get it to display any images. It just says "no albums found". I cannot figure it out, have tried every setting I can think of. I have multiple picasa accounts, all with public albums, but none of them work.
Please help!
Hi,
I am kinda in the same boat as this poster, i have created a picasa account and added some images and a public album too but cannot for the life in me get any albums or images to show on my SMF2 forum
I have checked with my host for
QuoteThis mod uses the php command fsockopen.
This function is sometimes blocked by service providers so you may need to check this.
and its enabled by default on all servers so thats not my problem
I am not quit sure how to get images to show...
In the Enter Picasa Server URL do i add https://picasaweb.google.com or do i add the link with all the numbers after google.com/ ?
also the Enter Picasa Account ID i presume is the user name of the account ?
Please help i would love this to work
thank you
In the home admin screen of your smf form does the live news feed work.
If that works then check your error logs, for example see Reply #51 on: April 16, 2010, 11:28:26 AM of this thread.
Quote from: PJLawrence on August 18, 2011, 05:40:39 AM
In the home admin screen of your smf form does the live news feed work.
If that works then check your error logs, for example see Reply #51 on: April 16, 2010, 11:28:26 AM of this thread.
I guess not i see this message "You are unable to connect to simplemachines.org's latest news file" and no errors
what does that mean please
thank you for your time
This looks like the socket connections are blocked.
If your server provider says it's enable for all machine, maybe depending on your settings, you can enable it.
However, you'll need to check this with your server provider first.
Maybe try this mod to see if it fixes the news feed
http://custom.simplemachines.org/mods/index.php?mod=1569
If it does it means fsockopen() is block but not cURL.
Ok had to install with advanced but after editing the sub-package file i installed it but i dont see any changes, news still not showing and gallery still saying no albums
any idea please might be a later response from me as i am just on my way out of the house
thank you very much!!
This looks like a server issue, for some reason fsockopen and cURL are not working.
Sorry, the only people who can help are therefore your service provided.
Not to worry thanks for trying to help :)
Hello,
Is there any possibility that this mod could show only public galleries from picasa?
Some login authorization or smth?
thx in advance!
Sorry, in its current form probably not.
However, if the API code is updated to one of the newer API this may be possible.
for example http://www.ibm.com/developerworks/library/x-picasalbum/
Help. our Picasa link all of a sudden just stopped working:
8: Undefined index: allow_smfgallery_view
File: /home/content/b/b/o/bbombers/html/smf/Themes/default/picasagallerybrowser.template.php (main_above sub template - eval?)
Line: 591Database Error: MySQL server has gone away
File: /home/content/b/b/o/bbombers/html/smf/Sources/Load.php
Line: 2020
Any ideas since nothing was changed and it has been working fine for years.
Fatherbob, this looks like a general database error, maybe this link will help...
http://docs.simplemachines.org/index.php?topic=1501.0
Hi... I installed this into 2.0.2 in my test forum (woot, 160+ mods installed and working together)
I got the split -> deprecated error, and made the change to preg_split.
However, you should note:
Quote
Explode does a simple binary search, and doesn't have to look for complex/optional patterns. Also it's implemented as core PHP function, thus can deal with PHP strings better and generate a PHP array directly. The preg_split() function is slower because it makes a roundtrip over libPCRE. -- So explode() is always faster. (Regular expression matching with preg_match() OTOH can often be more efficient than simple PHP string function arithmetics.)
(and yes, as a regex, you need to surround the "searched for" text with /.../ in preg_split)
hi guys...
thanks for a very nice mod..
i installed and its working perfectly until today..
suddenly... i can only view the images per album..
but when you click the album...
the images inside are not showing :(
i wonder what went wrong
thanks in advance..
A difficulty one to answer. Have you updated/changes anything recently i.e. themes/ mods etc?
does this mod still work
cause i tried setting it up but al i'm getting in return is no albums found
Quote from: glennmckenna on May 05, 2016, 03:10:07 PM
does this mod still work
cause i tried setting it up but al i'm getting in return is no albums found
Pretty sure Google dropped Picasa and replaced it with Google Photos. I could be wrong though..
Edit: Found this info. http://googlephotos.blogspot.co.uk/?hl=en_US
Quote from: lurkalot on May 05, 2016, 04:01:32 PM
Quote from: glennmckenna on May 05, 2016, 03:10:07 PM
does this mod still work
cause i tried setting it up but al i'm getting in return is no albums found
Pretty sure Google dropped Picasa and replaced it with Google Photos. I could be wrong though..
Edit: Found this info. http://googlephotos.blogspot.co.uk/?hl=en_US
ok thanks
in other words this mod can no longer be used