vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   BB Code Enhancements - Picasaweb Album Slideshow - bbcode (https://vborg.vbsupport.ru/showthread.php?t=243366)

hiker 05-26-2010 10:00 PM

Picasaweb Album Slideshow - bbcode
 
1 Attachment(s)
I assume this will work on previous versions of vbulletin as well.

I run an Outdoor Community and a lot of my members are using Picasaweb to store their photos. Rather than having them show a few photos and then link to the album for "the rest of the photos", I really needed a way to bring a slideshow into the post.

I would love to find a way to just copy and paste the entire album url between some tags, but after searching up and down the internet (even in all of the corners) I could not find an exact method of doing that. If anybody knows a solution that would make my mod obsolete, I'd love to have it.

So this method will require the user to enter their picasaweb user id in the Options box, and then the album id/name in between the tags.

This is my first mod posted, I hope my instructions are complete.

As for support? Hmmm... since I'm such a noob, I'm gonna say NO, because I'm not that much of a problem solver yet. Hopefully the community will chime in on questions and problems.

Thanks.

Title: Picasaweb Slideshow

Tag: picasa

Replacement:
HTML Code:
PHP Code:

<script type="text/javascript"
src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js">
</
script>
<
div id="piks{option}{param}"> <script>
var 
flashvars = {
feed"http%3A%2F%2Fpicasaweb.google.com%2Fdata%2Ffeed%2Fapi%2Fuser%2F{option}%2Falbum%2F{param}%3Falt%3Drss%26kind%3Dphoto%26hl%3Den_US",
RGB"0x000000"
};
var 
params = {
pluginspage"http://www.macromedia.com/go/getflashplayer",
allowscriptaccess"always"
};
swfobject.embedSWF("http://picasaweb.google.com/s/c/bin/slideshow.swf",
"piks{option}{param}""600""450""9.0.0""",
flashvarsparams);
</
script>
</
div

Example: [picasa=114934924670861383593]SanJuanRiverMay1418[/picasa]

Description: Embeds a picasaweb slideshow into a post

Use {option}: Yes

Button Image: (upload my attached "picasa.gif" if you like)

Remove Tag If Empty: Yes

Disable BB Code Within This BB Code: No

Disable Smilies Within This BB Code: No

Disable Word Wrapping Within This BB Code: No


I've made a tutorial video for my members here, along with an example slideshow:
http://www.bogley.com/forum/showthre...ws-(picasaweb)

I just made a Flickr slideshow bbcode mod here:
https://vborg.vbsupport.ru/showthread.php?t=243368

sgbmad 05-27-2010 06:55 AM

Great code but produces Internal Server Error when save the bbcode.

toejam 05-27-2010 01:50 PM

Thanks, works great.

Been waiting for someone to do something with picasa.

I have this working on 3.7.3

hiker 05-27-2010 02:18 PM

Quote:

Originally Posted by sgbmad (Post 2043966)
Great code but produces Internal Server Error when save the bbcode.

Sorry to hear that. Are you seeing this in the post, or in your BBcode manager screen? Are you using my same example code?

hiker 05-27-2010 02:50 PM

I am on vb 4.0.2 by the way.

grc 07-04-2010 09:50 PM

Thanks for this. It works great.

I wonder if there's a switch to turn auto-start off on the slide shows. If the slide show is several posts deep in a thread a person reading the posts might not even see it till it is half over.

hiker 07-05-2010 07:58 PM

Google inserts the following code if you turn the autoplay off:

&noautoplay=1

but I'm trying to figure out how to place that in the BB code.

The full example of an embedded Picasa slideshow is:

Code:

<embed type="application/x-shockwave-flash" src="http://picasaweb.google.com/s/c/bin/slideshow.swf" width="288" height="192" flashvars="host=picasaweb.google.com&hl=en_US&feat=flashalbum&RGB=0x000000&feed=http%3A%2F%2Fpicasaweb.google.com%2Fdata%2Ffeed%2Fapi%2Fuser%2Fjustinmcfarland0%2Falbumid%2F5488801968857494177%3Falt%3Drss%26kind%3Dphoto%26hl%3Den_US" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>
And with autoplay turned off, it's:

Code:

<embed type="application/x-shockwave-flash" src="http://picasaweb.google.com/s/c/bin/slideshow.swf" width="288" height="192" flashvars="host=picasaweb.google.com&noautoplay=1&hl=en_US&feat=flashalbum&RGB=0x000000&feed=http%3A%2F%2Fpicasaweb.google.com%2Fdata%2Ffeed%2Fapi%2Fuser%2Fjustinmcfarland0%2Falbumid%2F5488801968857494177%3Falt%3Drss%26kind%3Dphoto%26hl%3Den_US" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>
I tried a few things, but I broke the slideshow. I'll keep messing around with it and will hopefully get back to you. Fortunately at this time, the users can use the navigation arrows to go back and forth in the slideshow if they've gotten lost.

xug 07-06-2010 11:56 AM

Have you found a solution for the autoplay off?

hiker 09-21-2010 02:10 AM

Bump, there seems to be an issue with this right now, I'll get back to you when I find a solution. Thanks.

hiker 10-07-2010 03:06 PM

Quote:

Originally Posted by bogley (Post 2101240)
Bump, there seems to be an issue with this right now, I'll get back to you when I find a solution. Thanks.

The issue is fixed. thanks. It was actually caused by a non related modification that affected google code.

Toorak Times 02-04-2013 06:09 AM

Picasa have changed their urls, any ideas on how to make this work?

ar15dcm 03-12-2013 11:21 AM

Ditto this would be nice to have


All times are GMT. The time now is 05:00 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01187 seconds
  • Memory Usage 1,748KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (12)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete