Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
bbFlickr - a full featured Flickr bbcode Details »»
bbFlickr - a full featured Flickr bbcode
Version: 1.0.0, by hambil hambil is offline
Developer Last Online: Apr 2013 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.6.5 Rating:
Released: 03-29-2007 Last Update: 03-31-2007 Installs: 19
Uses Plugins
Additional Files  
No support by the author.


Note: This product is now being supported at www.catnine.net

Keywords: Flickr, Post Enhancement, posts, picture, photo

Description:
A bbcode to automatically format and display Flickr photos in a post.

Version 1.0.2:
  1. Fixed bug in html that caused IE7 to not show the photos.
Version 1.0.1:
  1. Fixed bug in handling of urls without a trailing slash.
  2. Now strips HTML tags from description, username, and photo name.
Version 1.0.0:
  1. Display formated using your skins colors.
  2. Automatically gets author, title, and description.
  3. Hyperlinks image to the original Flickr page to fully comply with Flickr guidelines.
  4. Use a Flickr photo id or just the Flickr page url.
  5. Automatically adds a Flickr button to the editor toolbar.
  6. Puts phpFlickr files in same directory as amykhar's Flickr Integration hack to avoid conflicts.
Install:
  1. Download the bbFlickr 1.0.1.zip.
  2. Upload files in Upload directory to your forum root.
  3. Import product-bbflickr.xml in your admin cp product manager.
Note: Please update from 1.0.0, as allowing HTML in the photo description presents a security risk.

Support offered here, and on my own site: Catnine Software

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 03-31-2007, 08:02 AM
hambil's Avatar
hambil hambil is offline
 
Join Date: Jun 2004
Location: Seattle
Posts: 1,719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tralala View Post
amykhar's hack seems to require phpFlickr 1.6.1 (not 2.0) to work. When I merge/replace the files required by this one to work to that, amykhar's hack no longer works. I get an error at the top of the Member Info page.

What's the best way to get BOTH of these flickr integration tools to work? I'm using vB 3.6.4, if it matters.
After some investigation it appears the flickr api has changed so that people_findByUsername now returns an array instead of the userid. The userid can than be retrieved via 'id' in the array.

Amy's code:
PHP Code:
// Find the NSID of the username inputted via the form
$nsid $f->people_findByUsername($userinfo['field5']);

// Get the friendly URL of the user's photos
$photos_url $f->urls_getUserPhotos($nsid);
    
// Get the user's first 5 public photos
$photos $f->people_getPublicPhotos($nsidNULL5); 
Updated code:
PHP Code:
// Find the NSID of the username inputted via the form
$nsid $f->people_findByUsername($userinfo['field5']);

// Get the friendly URL of the user's photos
$photos_url $f->urls_getUserPhotos($nsid['id']);   

// Get the user's first 5 public photos
$photos $f->people_getPublicPhotos($nsid['id'], NULL5); 
The code in question is in amy's "Get Flickr Pictures" plugin.

I'd post in amy's thread if you want her to fix it, or you can just do the edit yourself. Amy's hack is marked as unsupported, but she's around a lot, so who knows.
Reply With Quote
  #13  
Old 03-31-2007, 02:50 PM
Tralala's Avatar
Tralala Tralala is offline
 
Join Date: Jan 2006
Posts: 1,207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome, thanks for that hambil! I now have both hacks working, and with phpFlickr 2.0 to boot. I'll link to this fix in her thread.
Reply With Quote
  #14  
Old 03-31-2007, 04:18 PM
romanticyao's Avatar
romanticyao romanticyao is offline
 
Join Date: Oct 2002
Location: Canada
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

its pullin the info of photo but not pic.... um,,,
Reply With Quote
  #15  
Old 03-31-2007, 04:20 PM
hambil's Avatar
hambil hambil is offline
 
Join Date: Jun 2004
Location: Seattle
Posts: 1,719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Got a link?
Reply With Quote
  #16  
Old 03-31-2007, 04:23 PM
romanticyao's Avatar
romanticyao romanticyao is offline
 
Join Date: Oct 2002
Location: Canada
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="http://www.ccbbs.ca/forums/thread42.html" target="_blank">http://www.ccbbs.ca/forums/thread42.html</a>
Reply With Quote
  #17  
Old 03-31-2007, 04:48 PM
Tralala's Avatar
Tralala Tralala is offline
 
Join Date: Jan 2006
Posts: 1,207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

romanticyao, I just checked your link and the flickr photos are loading fine for me...
Reply With Quote
  #18  
Old 03-31-2007, 05:03 PM
romanticyao's Avatar
romanticyao romanticyao is offline
 
Join Date: Oct 2002
Location: Canada
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

weird... this is wut i see
Reply With Quote
  #19  
Old 04-01-2007, 03:00 AM
Tralala's Avatar
Tralala Tralala is offline
 
Join Date: Jan 2006
Posts: 1,207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello... I have one issue, and it's strange because it only seems to be affecting one user, and his flickr images.

When he tries embedding a flickr image, it screws up the forum's layout and tables. Subsequent posts get inlined inside each other.

This is in the standard vBulletin skin (as well as my custom ones.)

All other images from all other users have been embedding fine. So I am really confused as to why JUST THIS user and HIS images are causing a problem.

Some of his won't display at all. The ones that do, screw up the tables in postbit_legacy, I believe.

Sadly I've had to turn the hack off until I can resolve the issue, since it was screwing up every thread that this user was posting flickr images in.

Any help would be most appreciated!
Reply With Quote
  #20  
Old 04-01-2007, 03:06 AM
hambil's Avatar
hambil hambil is offline
 
Join Date: Jun 2004
Location: Seattle
Posts: 1,719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by romanticyao View Post
its pullin the info of photo but not pic.... um,,,
Hmmm. This is what I see:
Reply With Quote
  #21  
Old 04-01-2007, 03:08 AM
hambil's Avatar
hambil hambil is offline
 
Join Date: Jun 2004
Location: Seattle
Posts: 1,719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tralala View Post
Hello... I have one issue, and it's strange because it only seems to be affecting one user, and his flickr images.

When he tries embedding a flickr image, it screws up the forum's layout and tables. Subsequent posts get inlined inside each other.

This is in the standard vBulletin skin (as well as my custom ones.)

All other images from all other users have been embedding fine. So I am really confused as to why JUST THIS user and HIS images are causing a problem.

Some of his won't display at all. The ones that do, screw up the tables in postbit_legacy, I believe.

Sadly I've had to turn the hack off until I can resolve the issue, since it was screwing up every thread that this user was posting flickr images in.

Any help would be most appreciated!
I posted the photo you provided on my board, and it worked fine, so I don't think it's the photos per-say. There is something else going on. I'm not sure what yet.
Reply With Quote
Reply


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 07:04 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08379 seconds
  • Memory Usage 2,324KB
  • Queries Executed 25 (?)
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_php
  • (3)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • 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