Skip to content

Deployment Guide

ajefts edited this page Feb 25, 2014 · 2 revisions

This document assumes that you have a new WordPress 3.x installation, and user has base knowledge of using WordPress 3.x.

Required Environtment Require environtment is just for information only, it suggested you install this environtment or use later version. But if older version, it can produce bug.

  1. Wordpress 3.6.1 later
  2. PHP 5.2.0 later (PHP 5.3.2 used on production)

Theme installation

  1. Unzip the theme.zip to wp-content/themes folder, then activate it
  2. Remove/Delete permanently the Existing/Default Pages (example:About) and Posts while first installation from WP Admin, because it may cause conflict if they are not deleted. The Pages and Posts will be imported from XML file.
  3. Install Topcoder Api Plugin. Extract TcApi-hookup.zip to “\wp-content\plugins” folder. To activate Plugins → Installed Plugins → TC API Hookup (Important)
  4. Install All Other Plugin on plugin directory. Extract plugin.zip to “\wp-content\plugins” folder. To activate Plugins → Installed Plugins → Activate The Plugin
  5. Import XML (topcoder.wordpress.2013-11-28) and File in menu WP Admin →Tools → Import → Wordpress (Important) maybe an error will occure when import for first time, because since 3.0.1 version, it need download the wordpress importer via API menu : Tools → Import → Wordpress, and check “Download Attachments”
  6. Fill the Theme Option with Correct values menu : Appearance → Theme Options
  7. Fill the Theme Options with Correct values menu : Topcoder API

Fill Api Userkey And Contest Post Per Page. This can be optained at http://dev.topcoder.com

  1. Install and activate the custom-field-template.1.9.8 plugin, and then Import cft20131128 file to Custom Field Template menu : Setting → Custom-field-template → Import Options
  2. Set permalink Settings → Permalinks. Choose permalink to Post name. (Important)
  3. To configure the page title like example bellow. In WP Admin go to menu Settings > General Find Field “Site Title” and fill with your site title

Widgets

  1. Go to Appearance → Widget
  2. Drag & Drop Stars Of The Month Widget and Top Rank Widget to Sidebar
  3. To see the result go to https://siteurl/blog

Stars Of The Month Widget

  1. Go to Stars Of Month → Add New

  2. Fill title with contest name, like Algorithm, Marathon, Development

  3. Fill content with win summary of contestant, like : 4 wins, 1 second place

  4. Choose category Featured Stars Of The Month (slug: featured-stars-of-the-month)

  5. Set Featured Image as contestant profile picture

  6. Fill custom field handle, handle link, and contest link

Contests, Past Contests, Review Opportunities, Member Profile, Blog URL Configuration

  1. Edit File tc-cs-theme-draft/rewrite-config.php File

  2. Change the defined url, with your own url

UPDATE FOR CHALLENGES PAGES:

Updated Challenge Page templates were introduced after the initial release. The instructions below describe how to set these up.

The challenges url link: http://siteurl/active-challenges/ http://siteurl/active-challenges/design/ http://siteurl/past-challenges/design/ http://siteurl/review-opportunities/design/ http://siteurl/review-opportunity/design/{contestID} http://siteurl/bug-races/develop/ http://siteurl/bug-races/design/ http://siteurl/active-challenges/data

How to create challenge page manually and how to configure it

Challenges Landing Page

  1. Create New Page
  2. Set The Slug to "challenges"
  3. Use "Challenge Page" template

Active Challenges Page 4. Create New Page 5. Set The Slug to "active-challenges" 6. Use "Challenges Active Contest List Page" template

  1. To configure the contest per page, edit the custom field

Past Challenges Page

  1. Create New Page
  2. Set The Slug to "past-challenges"
  3. Use "Challenges Past Contest List Page" template
  4. To configure the contest per page, edit the custom field

Review Opportunities Page

  1. Create New Page
  2. Set The Slug to "review-opportunities"
  3. Use "Challenges Review Opportunities Page" template
  4. To configure the contest per page, edit the custom field

Bug Race Challenges Page

  1. Create New Page
  2. Set The Slug to " bug-races"
  3. Use "Challenges Bug Race List Page" template
  4. To configure the contest per page, edit the custom field

Bug Race Challenges Page

  1. Create New Page
  2. Set The Slug to "bug-races"
  3. Use "Challenges Bug Race List Page" template
  4. To configure the contest per page, edit the custom field

Review Opportunities Challenges Page

  1. Create New Page
  2. Set The Slug to " review-opportunities "
  3. Use "Challenges Review Opportunities Page" template
  4. To configure the contest per page, edit the custom field

Review Opportunities Details Page

  1. Create New Page
  2. Set The Slug to " review-opportunity-details"
  3. Use "Challenges Review Details Page" template

Theme Options For Challenges Pages

  1. Menu : Appearance → Theme Option
  2. Fill TCO Tooltip Title for configure the tco eligible tooltip title
  3. Fill TCO Tooltip Message for configure the tco eligible tooltip message
Clone this wiki locally