Cluepics

From ClueWiki

Jump to: navigation, search

Contents

[edit] Main

Cluepics[1] is a photo gallery system for Cluenet members. Members can post photos, comment on other member's photos, and link to their content on other websites. Only members with an account can edit and post pictures to their account, but the gallery as a whole is accessible for viewing by anyone. Users can set individual pictures to user view only, or make them private, and hide entire sub-galleries.

[edit] System Setup Info

The gallery program is actually a mashup of two different PHP based CMS systems. The first is Drupal, a general purpose content management system, and the second is Gallery2, a photo gallery CMS. Drupal is the main CMS, and controls LDAP authentication, user control for the site, and provides the templating system, along with other miscellaneous features. Gallery2 is integrated into Drupal, and has all user management processes controlled by Drupal. Gallery2 still has control over every aspect of its operation. The two CMS systems have their distinct operations, neither doing the job of the others, and play very nicely with each other.

[edit] User Creation Process

Cluepics does require Cluenet members to ask for authorization from an admin that can add LDAP attributes to your account. When a properly authorized user logs into the site for the first time, Drupal queries the LDAP server for that users credentials, and, if the user is valid and has the "gallery" attribute, creates a user in its database. Drupal then requests Gallery2 to add a user into its database, and Gallery2 creates a photo gallery for that user. Drupal will constantly sync the two user entries in the databases for itself and Gallery2, making sure that a user does not exist in one without it existing in the other. As an added protection measure, new user registration is disabled for both CMS systems, and users cannot change their passwords, even if they use the 'lost password' links.

[edit] System Issues Reporting

If you do have an issue with Cluepics, just find davenull onthe IRC server, or email him at davenull@cluenet.org or dave@davenull.us.

Personal tools
General Information