New application launched – Student Course Selection

This application allows students to indicate their core modules and electives selection for planning of the schedule and resources (rooms) within Yale-NUS College premises.

User authentication is required to ensure each student has only 1 input.
The student is able to re-submit their course selections, the latest submission will overwrite previous submissions.

The web form title and introductory text can be edited at:
http://courses.yale-nus.edu.sg/wp-admin/post.php?post=50&action=edit

http://courses.yale-nus.edu.sg/module-preference/
http://courses.yale-nus.edu.sg/my-module-preference/

How to best use the dual vertical scroll bars of this webform.

WordPress themes and plugins development with Git

  1. Fork wordpress/WordPress to yalenuscollege/WordPress
  2. Clone Yale-NUS WordPress fork
    fork and upstream
  3. Clone origin to local working folder
    $ cd ~/Sites/
    $ git clone https://github.com/yalenuscollege/WordPress.git wordpress
  4. Add upstream repository to wordpress
    $ git remote add upstream https://github.com/wordpress/WordPress.git
  5. Verify remote repositories
    $ git remote -v
    origin https://github.com/yalenuscollege/WordPress.git (fetch)
    origin https://github.com/yalenuscollege/WordPress.git (push)
    upstream https://github.com/wordpress/WordPress.git (fetch)
    upstream https://github.com/wordpress/WordPress.git (push)
  6. Add yalenus theme as a submodule
    $ cd ~/Sites/wordpress/wp-content/themes/
    $ git submodule add https://github.com/WallaceTan/YNC-student-feedback.git yalenus-courses-child
  7. Change origin of submodule
    $ cd ~/Sites/wordpress/wp-content/themes/yalenus-courses-child/
    $ git remote set-url origin https://github.com/yalenuscollege/wp-themes-yalenus-courses-child.git
    $ git push origin master
  8. cd ~/Sites/wordpress/wp-content/themes/
    # Change to wordpress themes directory
    
    git submodule add https://github.com/yalenuscollege/themes-yalenus.git yalenus
    # Add yalenus theme as a submodule

WordPress Development with Git version control workflow

Google: git workflow wordpress theme plugin development

Deploy WordPress Websites using Git

My WordPress Development Process

Speed Up Your WordPress Development Cycle With Git

Managing WordPress Theme Deployments with Git

A quick intro to Github for WordPressers

How To Improve And Refine Your WordPress Theme Development Process

No More Cowboy Coding: Improving Your WordPress Workflow

Keeping WordPress Under [Version] Control with Git

Similar plugins: Multisite Privacy and More Privacy Options

More Privacy Options plugin is installed automatically during initial Commons In A Box (CBOX) setup and Multisite Privacy plugin is install from WPMU DEV.

Both plugins adds more Site Visibility options to the Settings > Reading page in the dashboard and uses the same WordPress options database field (wp_options.blog_public) to store Site Visibility setting.

Network Deactivating either plugin will not change or delete the Site Visibility option value stored in the database.

  1. Both plugins deactivated
    Search Engine Visibility It is up to search engines to honor this request.
    (Un-Checked: wp_options.blog_public = 1) ** blog IS public
    (Checked: wp_options.blog_public = 0)
  2. More Privacy Options plugin activated
    Site Visibility  
      (blog_public = 0)
    Note: Neither of these options blocks access to your site — it is up to search engines to honor your request.
    (blog_public = -1)
    (blog_public = -2)
    (blog_public = -3)
  3. Multisite Privacy plugin activated
    Site Visibility   (blog_public = 1)
     
  4. Both Multisite Privacy and More Privacy Options plugins activated
    Site Visibility   (blog_public = 1)
      (blog_public = 0)
    Note: Neither of these options blocks access to your site — it is up to search engines to honor your request.
    (blog_public = -1)
    (blog_public = -2)
    (blog_public = -3)
      (blog_public = -1)
      (blog_public = -2)
      (blog_public = -3)
      (blog_public = -4)

    Note: Anyone that is a registered user of this blog won’t need this password.

The options for both plugins are compatible except for (-4) see below table. We can switch between plugins if we use only the compatible options.

wp_options.blog_public  More Privacy Options Multisite Privacy
1 Allow search engines to index this site Allow search engines to index this site
0 Discourage search engines from indexing this site Discourage search engines from indexing this site
-1 I would like my blog to be visible only to registered users of Yncdev.wpengine.com Visitors must have a login – anyone that is a registered user of Yncdev.wpengine.com can gain access.
-2 I would like my blog to be visible only to registered users I add to “Yale-NUS Dev” Only registered users of this blogs can have access – anyone found under Users > All Users can have access.
-3 I would like “Yale-NUS Dev” to be visible only to Admins. Only administrators can visit – good for testing purposes before making it live.
-4 Not available Anyone that visits must first provide this password:

We should not use both plugins in the same site. Since Multisite Privacy plugin conflicts with OpenID plugin, we will use More Privacy Options plugin.