My favorites | Sign in
Logo
                
Search
for
Updated Nov 26, 2009 by mikecarruth
Labels: Featured, Phase-Support
SetupInstructions  
Instructions for setting up flogr.

Quick Start

Showing Flickr User Photostream

  1. Get your Flickr User Id from http://idgettr.com/
  2. Update 'admin/config.php' with your User Id
  3. Upload the entire flogr directly to your web server
  4. That's it!
/**
 * Your Flickr User Id 
 *
 * Note: A user id (not username) is needed.  You can lookup your user id 
 * at http://idgettr.com/)
 */
OPTIONAL_SETTING('FLICKR_USER_ID', '95137114@N00'); 
//OPTIONAL_SETTING('FLICKR_GROUP_ID', '82648219@N00');

Showing Flickr Group Pool photos

  1. Get your Flickr Group Id from http://idgettr.com/
  2. Update 'admin/config.php' with your Group Id
  3. Upload the entire flogr directly to your web server
  4. That's it!
/**
 * Your Flickr Group ID
 *
 * Note: A Group Id (not a group name) is needed.  You can lookup your group id 
 * at http://idgettr.com/)
 */
//OPTIONAL_SETTING('FLICKR_USER_ID', '95137114@N00'); 
OPTIONAL_SETTING('FLICKR_GROUP_ID', '82648219@N00');

Flogr Options

Many options can be customized in 'admin/config.php'. Some of the available options are described below.

Showing a User's photos from a Group pool

/**
 * Your Flickr Group ID
 *
 * If you provide both a FLICKR_USER_ID and FLICKR_GROUP_ID flogr will
 * show only photos in FLICKR_GROUP_ID that were uploaded by FLICKR_USER_ID.
 *
 * Note: You can lookup your user and group id at http://idgettr.com/)
 */
OPTIONAL_SETTING('FLICKR_USER_ID', '95137114@N00'); 
OPTIONAL_SETTING('FLICKR_GROUP_ID', '82648219@N00');

Customizing site name and description

You should also change the site name and description. The site name is used as your site title and will show in the browser title bar. The site name and description are also used in the RSS feed.

/**
 * Site settings
 */
REQUIRED_SETTING('SITE_TITLE',         'Flogr');
REQUIRED_SETTING('SITE_DESCRIPTION',   'A photoblog application built on Flickr');

Changing the size of the main page Flogr photo

/* Desired size of main photo */
REQUIRED_SETTING('FLOGR_MAIN_PHOTO_SIZE', 750);

Controlling which sets are shown on Sets page

/* Photosets to include - separate multiple sets with commas. */
OPTIONAL_SETTING('FLOGR_PHOTOSETS_INCLUDE', '');

Controlling which photos are shown on the Recent and Main pages

/* Tags to include - separate multiple tags with commas */
OPTIONAL_SETTING('FLOGR_TAGS_INCLUDE', '');

Controlling the size of the Tag cloud

/* Number of tags to include in the tag cloud */
REQUIRED_SETTING('FLOGR_TAGS_COUNT', 100);

Controlling the number of thumbnails shown on the Recent page

/* Number of thumbnails to show on the 'recent' page */
REQUIRED_SETTING('FLOGR_THUMBNAILS_PER_PAGE', 48);


Sign in to add a comment
Hosted by Google Code