Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Picasaweb Album Slideshow - bbcode Details »»
Picasaweb Album Slideshow - bbcode
Version: 1.00, by hiker hiker is offline
Developer Last Online: Mar 2016 Show Printable Version Email this Page

Category: BB Code Enhancements - Version: 4.0.x Rating:
Released: 05-26-2010 Last Update: Never Installs: 19
Re-useable Code Translations  
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
career

Comments
  #2  
Old 05-27-2010, 06:55 AM
sgbmad sgbmad is offline
 
Join Date: Nov 2005
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great code but produces Internal Server Error when save the bbcode.
Reply With Quote
  #3  
Old 05-27-2010, 01:50 PM
toejam toejam is offline
 
Join Date: Sep 2007
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, works great.

Been waiting for someone to do something with picasa.

I have this working on 3.7.3
Reply With Quote
  #4  
Old 05-27-2010, 02:18 PM
hiker's Avatar
hiker hiker is offline
 
Join Date: Sep 2009
Posts: 221
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sgbmad View Post
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?
Reply With Quote
  #5  
Old 05-27-2010, 02:50 PM
hiker's Avatar
hiker hiker is offline
 
Join Date: Sep 2009
Posts: 221
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am on vb 4.0.2 by the way.
Reply With Quote
  #6  
Old 07-04-2010, 09:50 PM
grc grc is offline
 
Join Date: Oct 2005
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 07-05-2010, 07:58 PM
hiker's Avatar
hiker hiker is offline
 
Join Date: Sep 2009
Posts: 221
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 07-06-2010, 11:56 AM
xug xug is offline
 
Join Date: Oct 2001
Location: The Grand Strand, SC
Posts: 339
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you found a solution for the autoplay off?
Reply With Quote
  #9  
Old 09-21-2010, 02:10 AM
hiker's Avatar
hiker hiker is offline
 
Join Date: Sep 2009
Posts: 221
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bump, there seems to be an issue with this right now, I'll get back to you when I find a solution. Thanks.
Reply With Quote
  #10  
Old 10-07-2010, 03:06 PM
hiker's Avatar
hiker hiker is offline
 
Join Date: Sep 2009
Posts: 221
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bogley View Post
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.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:39 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.04441 seconds
  • Memory Usage 2,317KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (1)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete