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 - Flickr Set Slideshow - bbcode (https://vborg.vbsupport.ru/showthread.php?t=243368)

hiker 05-26-2010 10:00 PM

Flickr Set Slideshow - bbcode
 
1 Attachment(s)
I was very frustrated in my search for an easy bbcode hack for Flickr. I tried the basic iframe but Flickr put a stop to that in a half second.

I'd love to find a way to just copy the entire url and quickly paste it in between the tags, but I've had no such luck in my search across the series of tubes we call the interwebs. If anybody has a solution I would love to have it.

In the meantime, this method is working out pretty decently. Rather than grabbing the whole url of the Flickr Set, you/your members will need to copy the set id, the last numbers in the url.

This is my second mod, the first is my picasaweb hack, posted @15 minutes ago so I hope I'm giving you adequate information.

Title: Flickr Slideshow

Tag: flickr

Replacement:
HTML Code:
PHP Code:

<iframe align="center" src="http://www.flickr.com/slideShow/index.gne?group_id={param}&user_id={param}&set_id={param}&text={param}" frameBorder="0" width="600" height="600" scrolling="no"></iframe

Example: [flickr]72157620997452434[/flickr]

Description: Embeds a Flickr Set Slideshow into your post

Use {option}: No

Button Image: (upload my attached "flickr.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 have a tutorial video for my members and a sample slideshow if you'd like to take a look:
http://www.bogley.com/forum/showthre...ickr-Slideshow

As I said on my picasaweb mod (https://vborg.vbsupport.ru/showthread.php?t=243366)
...I'll have to say NO on the support at this time, I'm still a noob and not that great at problem solving, I'm hoping the community can chime in with any issues.

Thanks.

hiker 05-27-2010 02:51 PM

I am using vb 4.0.2 by the way

Gaprofitt 07-05-2010 12:46 PM

In what file and placement does the code go?

Thanks,

Greg

hiker 07-05-2010 07:40 PM

Admincp > Custom BB codes > Add new BB code.

Then just fill in the blanks. :)

Gaprofitt 07-06-2010 01:32 AM

Quote:

Originally Posted by bogley (Post 2064953)
Admincp > Custom BB codes > Add new BB code.

Then just fill in the blanks. :)

Weird, I got it working but it's showing other people's photos..

For example I used this set ID between the tags.

http://www.flickr.com/photos/profitt...7624328201052/

The link seems to work fine.

Any thoughts?

hiker 07-06-2010 04:34 AM

Quote:

Originally Posted by Gaprofitt (Post 2065065)
Weird, I got it working but it's showing other people's photos..

For example I used this set ID between the tags.

http://www.flickr.com/photos/profitt...7624328201052/

The link seems to work fine.

Any thoughts?

are you using that whole url or just the set id of 72157624328201052? It's meant to just use the set id.

Can you show me a link of your example?

Gaprofitt 07-06-2010 12:49 PM

Quote:

Originally Posted by bogley (Post 2065119)
are you using that whole url or just the set id of 72157624328201052? It's meant to just use the set id.

Can you show me a link of your example?

I just used the set ID

[FLICKR]72157624431376072[/FLICKR]

Here is the thread

http://www.varietyforums.com/showthr...-Trip-7-1-2010

The set link is

http://www.flickr.com/photos/profitt...7624431376072/

hiker 07-06-2010 01:10 PM

Quote:

Originally Posted by Gaprofitt (Post 2065264)

Is that a private forum? It asks for a login.

Gaprofitt 07-06-2010 01:40 PM

Quote:

Originally Posted by bogley (Post 2065273)
Is that a private forum? It asks for a login.

Give it a go now.

hiker 07-06-2010 01:47 PM

:o oops, I just noticed I had "picasa" in the tag name rather than "flickr". That's fixed now.

Would that happen to be part of your problem?


All times are GMT. The time now is 05:31 AM.

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.01121 seconds
  • Memory Usage 1,741KB
  • 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
  • (1)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete