Customizing SMF > Modifications and Packages
Picasa Gallery Browser
PJLawrence:
Link to Mod
*******************************
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
Sabre™:
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 :)
PJLawrence:
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.
Sabre™:
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
PJLawrence:
Sorry tags are not available in the current version.
However, I'll keep it in mind for a future update.
Navigation
[0] Message Index
[#] Next page
Go to full version