PDA

View Full Version : Profile Enhancements - [bmw] Flickr Photo in Profiles


bodaudinh
04-08-2009, 10:00 PM
- 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:
<!-- 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!

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

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. :(

KLUNZ
08-30-2009, 11:38 AM
Thanx man

Lianelli
10-21-2009, 02:10 PM
I've tried this modification, but after installing and setting up the member's profile pages show up as blank.

After disabling the mod everything worked fine again.

What could be the problem?

Vudoo4u2
10-31-2009, 05:36 AM
attempted to install this as well...

no field in the usercp for the email, and no box in the profile...

is there something missing from the instructions?

Phil K?vin
09-11-2012, 05:15 AM
Awesome! nice.