Table of Contents
PhotoComp Plugin Configuration
Main Settings
General
Maximum File Size (bytes)
Enter the maximum number of bytes for uploaded images. This number should be less than or equal to the setting in php.ini.
Maximum File Size (bytes)
Enter the minimum number of bytes allowed for uploaded images. This is intended to offer some protection against accidentally uploading thumbnails or very small images by mistake.
Thumbnail Size (px)
Enter the number of pixels for thumbnail images. The thumbnail will be sized to fit inside a box with this dimension on each side.
Image Display Height (px)
Enter the number of pixels for the height of displayed images. This affects how images resized for the popup “lightbox” display.
Image Display Width (px)
Enter the number of pixels for the width of displayed images. This affects how images resized for the popup “lightbox” display.
Default competition level for new users
Enter the level used to determine the Division set for new users. See AdminDivisions for more information.
Replace Home Page?
Select when the PhotoComp plugin should replace the site home page with the submission form.
If set to “No” then the normal home page is shown. If set to “Yes” then the submission form for the closest open event is shown. If there is no open event accessible to the current user then the normal home page is shown.
Download Directory Layout Options
Create options for use when downloading entries which will determine how the image files are organized into directories. The key determines the directory layout; the value is a free-form description. Use these values for the key, separated by slashes:
- E = Event ID number
- N = Section Name
- D = Division Name
- C = Class Name
- S = Status
- A = Award value
Entries shown per page
Enter the number of entries shown per page in the entry lists.
Fields to include in user entry list
Enter a comma-separated list of field names to be included in the guest-facing entry list. There should be no spaces.
Default: “id,reg_id,title,division,class,img_type,award,score,image”
Possible options:
- id - Entry ID number from the database
- reg_id - Registered entry ID, typically for pre-registered events.
- exhibitor - Full name of the exhibitor
- title - Image title
- division - Division name
- class - Class name
- img_type - Media type, e.g. “Digital”, “Print”, etc.
- award - Icon indicating the award, if any
- score - Numeric score for the entry
- paid - Icon indicating whether the entry is “paid”, including a tooltip showing the fees and payments
- status - Icon indicating the entry status, e.g. “Disqualified”, “OK”, etc.
- image - Image thumbnail
- section - Section name
Fields to include in admin entry list
Enter a comma-separated list of field names to be included in the administrator's entry list. There should be no spaces. See the list of options above.
Show "Upcoming Event" block if no events upcoming
Select “Yes” to show the Upcoming Event block even if there are no events to show. The default value of “No” will hide the block unless there is an event to display.
Maximum events to show in "Upcoming Events" block
Limit the Upcoming Events block to this number of events. Events with the nearest submission cutoff date are shown first.
Display glFusion Blocks
Select which glFusion blocks to display with the plugin.
Limit users' ability to change their division
Users may be allowed to change their own division by updating their account settings, or divisions may be controlled by the plugin administrators. The options for this setting are:
- No Restriction - Users may freely change their division at any time.
- User can move up - Users may select a more advanced division but may not select a lower one.
- User cannot change - Only administrators may change user divisions.
Use TimThumb Image Resizer?
Select whether to use the version of the TimThumb image resizer included with the plugin.
- Advantage: Fewer images created and stored on the website
- Disadvantage: Slow initial page loads when many images are present, e.g. winners list.
User can print labels?
Select whether users can print labels for their print entries. Administrators always have access to this function.
Start of Competition Year
Select the month in which your competition year begins. If “None” then there is no concept of a “competition year” and reports will use the calendar year.
Track Competition Stats by Year?
*Not implemented*
Default Section
Select the section from which the skill level value will be taken when new sections are added.
Days to keep reports on disk
Enter the number of days to keep report files on disk after they are created.
Help Links
Link to Entry Form Help
Enter a URL to a documentation page containing how-to information for the entry submission form.
Link to Admin Help
Enter a URL to a documentation page containing help information for the administrative functions.
Payment Information
Integrate with the Shop plugin?
Select whether to use the Shop plugin to handle fee payments. The Shop plugin must be installed for this to work.
Days after close when payments are not required
To handle cases where payments may be taken in manually and the site is not updated, this option can be used to remove the “fee due” indicator from events after the event has closed. Enter “-1” to disable this function. Entering a number greater than -1 will remove the payment button from the “Fees” tab.
Event Defaults
These are default settings used when a new event is created.
Default Group allowed to participate
Select the glFusion group that will be set as participants in the event.
Default Group to judge events
Select the glFusion group to set as the judges for an event. This is not used unless the event is judged online, and a glFusion group is used as the judging group.
Grace period between submission cutoff and blocking uploads (minutes)
When a user opens the submission form near the submisson cutoff time, their submission may be denied if they then click “Submit” a few minutes later. This setting determines now long after the cutoff time a submission will be accepted. Note that the submission form itself is never shown after the cutoff time.
Days before cutoff to alert in the event block
If the cutoff time for an event is approaching, it can be highlighted in the Upcoming Event block. This is the number of days before cutoff when the alert is highlighted.
Default filename template
When image files are downloaded, the filenames can be formatted according to this template. Use these values to construct the desired filenames:
- %EVT - Event ID number
- %ID - Image ID number. Only use this by itself since the image ID is always appended to other filename formats (to avoid duplicates).
- %DIV - Division ID number
- %CLS - Class ID number
- %UID - User ID number
- %UN - User's last name, display name, or username, whichever is available
- %TTL - Image title, supplied by the submitter
- %FN - Original filename, excluding the extension.
Any other characters in the template are inserted verbatim.
Online voting type
Select the default online voting method for events. This only applies if the event is judged online.
Online judging per class?
Select whether events are normally judged by class, or whether all classes are combined when judging.
Default Event Fee
Enter the fee normally charged for events.
Default entry maximum width (px)
Enter the default maximum width accepted for entries.
Default entry maximum height (px)
Enter the default maximum height accepted for entries.
Enable comments?
Select whether comments are normally enabled for events. *Not Implemented*
Membership required for competition entry
Select whether submissions are normally open only to current members or if membership is not considered. This requires the Membership plugin, if that plugin is not installed then this option is ignored.
Maximum entries per event
Enter the default maximum number of entries accepted per user, per event. Enter “0” for unlimited.
Maximum entries per class
Enter the default maximum number of entries accepted per user, per class. Enter “0” for unlimited.
Maximum entries per section
Enter the default maximum number of entries accepted per user, per section. Enter “0” for unlimited.
Entry Defaults
Entry defaults to OK to show?
Select whether newly-submitted entries are flagged as “moderated”, or if they are assumed to be OK to display.
Default Entry Fee
Enter the default per-entry fee charged for events.
User Profiles
Extended Profile Enabled?
Select whether the Custom Profile plugin will be used to supply additional profile information for users.
Fields to include from Custom Profiles
If the Custom Profile plugin is used, create elements here to indicate which Profile fields will be included in the user information. The field named should be the Custom Profile field names as entered, not including the normal “prf_” prefix added by the Profile plugin.
Collect exhibitor ID at registration?
Select “Yes” to have a field added to the site registration form where a new user can enter their own Exhibitor ID.
User selects division at registration?
Select “Yes” to allow new users to select their competition division during registration.