Allows you to integrate Youthphotos photos into your own site. It supports user-, pools- and recent-pictures.
The plugin also supports a number of parameters, allowing you to have multiple instances across your site.
$platform- platform you are asking (www.youthphotos.eu, http://www.jugendfotos.de, ...)
$user- specify a user ID
$type- user, friends, pool, recent
$num_items- number of items to display
$before_image- html appearing before each photo
$after_image- html appearing after each photo
$pool- specify pool if you use type = pool
<?php get_youthphotosRSS("www.jugendfotos.de", 1, "user", 5); ?>
This would return 5 pictures from the author at http://www.jugendfotos.de
<?php get_youthphotosRSS("www.youthphotos.eu", 1, "friends", 10); ?>
This would show the 10 most recent pictures from the friends of the user with ID 1 at youthphotos.eu
<?php get_youthphotosRSS("www.youthphotos.eu", 1, "pool", 5, "", "", 1); ?>
This would show the 5 most recent pictures from contest with number 1 at youthphotos.eu
<?php get_youthphotosRSS("www.jugendfotos.de", "", "recent", 10, "<span class=\"image\">", "</span>"); ?>
This would show the most recent 10 pictures from jugendfotos.de, each picture wraped with picture
Full option support
<?php get_youthphotosRSS(get_option('youthphotosRSS_yp_platform'), get_option('youthphotosRSS_yp_id'), get_option('youthphotosRSS_display_type'), get_option('youthphotosRSS_display_numitems'), get_option('youthphotosRSS_before'), get_option('youthphotosRSS_after')); ?>
If you have a theme which doesn't support widget, you can use this snippet of code to control the youthphotosRSS-plugin from your admin page like it's done with the widgets.
Visit the Jugendfotos.de blog for help getting the plugin working. Use the comments.
Latest Release: July 13, 2008
Requires: 2.3.2 or higher
Compatible up to: 2.6
Last Updated: 8 years ago
Active Installs: Less than 10
Got something to say? Need help?