vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Profile Enhancements - [bmw] Flickr Photo in Profiles (https://vborg.vbsupport.ru/showthread.php?t=210763)

bodaudinh 04-08-2009 10:00 PM

[bmw] Flickr Photo in Profiles
 
1 Attachment(s)
- Show the Photo of Flickr, same as Yahoo! 360... with 3 options to show.

Install:
1. Import product-flickrfoto_member_profile.xml
2. Upload includes folder to forum root (file: functions_phpflickr.php and folder PEAR)
**This will add the packaged PEAR files into the include path for PHP, allowing you
to use them transparently. [ More information: http://pear.php.net/packages.php ]

3. You'll get key Flickr API.
=> http://www.flickr.com/services/api/key.gne

4. Templates edit:
- FIND:
$blocks[stats_mini]
- ADD BELOW:
$blocks[flickrfoto]
Result:
Code:

<!-- sidebar -->
    $template_hook[profile_right_first]
    $blocks[stats_mini]
    $blocks[flickrfoto]
    $template_hook[profile_right_mini]

Thanks: phpFlickr

/* phpFlickr Class 2.3.0.1
* Written by Dan Coulter (dan@dancoulter.com)
* Project Home Page: http://phpflickr.com/ */
phpFlickr Class have some function, you can use it to develop for upload, browse, getInfo... in vbb. That's great!

Jasem 04-09-2009 09:01 PM

Nice work, thank you!

saviola8x 04-09-2009 09:59 PM

Nice.
I love you. Thanks =)

ricoche 04-10-2009 03:22 AM

Hi there,

I followed the instructions but am getting the following error. Where can I set the "include" paths manually? I have my forum in a /forums subdirectory and am wondering if this might be part of the problem. Thanks!

Code:

Warning: require_once(includes/functions_phpflickr.php) [function.require-once]: failed to open stream: No such file or directory in [path]/member.php(462) : eval()'d code on line 4
Code:

Fatal error: require_once() [function.require]: Failed opening required 'includes/functions_phpflickr.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/user/public_html/forums/member.php(462) : eval()'d code on line 4
UPDATE: Found the path info in the "plugin PHP" info, but when changed it still gives the same error. Had to Uninstall this mod due to this issue. Will wait to see how others do. Time consuming mod here, but a great idea nonetheless. Thanks!

bodaudinh 04-10-2009 03:54 AM

Hi,

You need to change file name in folder includes/: functions_phpFlickr.php => functions_phpflickr.php

Sorry, about my mistake in file name :(

ricoche 04-10-2009 05:17 AM

Awesome! Thanks and I'll give it a shot.

rainyleaves 04-20-2009 06:19 PM

Awesome!!
Thanks!!

M4H 07-24-2009 05:09 AM

I can't get mine to show up on the page and I have no place to log in. Any help?

Zaki Shafqat 08-07-2009 12:57 AM

I have followed the steps and done everything

But i don't know now what to do? I have uploaded the files edited the template and now don't know what to do.......... how can users see the pictures in their profile? where is the setting showing in the screen shots?

JasonGD 08-08-2009 11:08 AM

Pity. I installed it correctly, added my Flickr API key, proceeded into my UserCP and entered my Yahoo email into the box in the User Options section, and asked it to display 6 pictures. The module itself shows up, but alas, no pictures. I was really hoping this would work. :(


All times are GMT. The time now is 08:15 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.01148 seconds
  • Memory Usage 1,729KB
  • 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
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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