Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
Adding help text.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewmbacon committed Jul 15, 2015
1 parent 2c42c10 commit 07e3a51
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions uc-people.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,15 +155,23 @@ function uc_people_settings_page_menu(){
function uc_people_settings_page(){
?>
<div class="wrap">
<h2>Import People</h2>
<h2>Import People from Users CSV</h2>
<p>This tool is to help people with the initial setup of "People" in their site.</p>
<h3>New Site Setup</h3>
<p>For new sites, use the <a href="tools.php?page=export-users-to-csv">"Export Users" tool</a> to generate a template. Open that in a spreadsheet program, and fill out *all* of the information you'll want on your site, and then import that .csv here.</p>
<h3>Converting UUP Users to "People"</h3>
<p>For sites that were using the University User Profiles plugin, use the <a href="tools.php?page=export-users-to-csv">"Export Users" tool</a> and then import that full list here.</p>
<hr/>
<h2>One Time Use</h2>
<p>This tool can not be used to <i>update</i> information about each Person. If you upload the same .csv twice, you will end up with two records for each person.</p>
<form action="" method="POST" enctype="multipart/form-data" name="ucp-import">
<?php
wp_nonce_field( 'ucp_import_people_nonce', '_wpnonce_ucp_import_people_nonce' );
?>
<input type="file" name="csv_file" />
<?php
importFile();
submit_button( 'Import' );
submit_button( 'Import People' );
?>
</form>

Expand Down

0 comments on commit 07e3a51

Please sign in to comment.