{"id":46213,"date":"2010-07-29T20:21:54","date_gmt":"2010-07-29T20:21:54","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/officers-directory\/"},"modified":"2010-08-12T22:02:47","modified_gmt":"2010-08-12T22:02:47","slug":"officers-directory","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/officers-directory\/","author":30026,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.2.0","stable_tag":"1.2.0","tested":"3.0.5","requires":"3.0.0","requires_php":"","requires_plugins":"","header_name":"Officers Directory","header_author":"Douglas Bell","header_description":"","assets_banners_color":"","last_updated":"2010-08-12 22:02:47","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/www.douglasbell.us\/plugins\/","header_author_uri":"http:\/\/www.douglasbell.us","rating":4.7,"author_block_rating":0,"active_installs":10,"downloads":6747,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog","other_notes"],"tags":[],"upgrade_notice":{"1.1.0":"<ul>\n<li>Please note that after upgrading to this version, you may have to re-set your reCAPTCHA API keys.<\/li>\n<\/ul>"},"ratings":{"1":0,"2":0,"3":0,"4":"1","5":"2"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","1.1.0","1.2.0"],"block_files":[],"assets_screenshots":{"screenshot-4.jpg":{"filename":"screenshot-4.jpg","revision":"1539068","resolution":"4","location":"plugin"},"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":"1539068","resolution":"2","location":"plugin"},"screenshot-3.jpg":{"filename":"screenshot-3.jpg","revision":"1539068","resolution":"3","location":"plugin"},"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":"1539068","resolution":"1","location":"plugin"},"screenshot-5.jpg":{"filename":"screenshot-5.jpg","revision":"1539068","resolution":"5","location":"plugin"}},"screenshots":{"1":"The interface for adding new officers &amp; editing them. Note the ability to add &amp; edit multiple officers at once.","2":"The main table, showing officers organized by position type. Controls for managing all aspects of the directory are easily available.","3":"Contextual help is provided throughout the admin interface to explain how to manage the directory.","4":"The officers table, displayed in the Twenty Ten theme. The e-mail links connect to the Contact form and pre-fill it.","5":"The integrated contact form, with a drop-down menu to select the e-mail recipient."}},"plugin_section":[],"plugin_tags":[358,2466,3152,31878,21315],"plugin_category":[41],"plugin_contributors":[87961],"plugin_business_model":[],"class_list":["post-46213","plugin","type-plugin","status-closed","hentry","plugin_tags-contact-form","plugin_tags-directory","plugin_tags-e-mail","plugin_tags-officers","plugin_tags-positions","plugin_category-communication","plugin_contributors-webmacster87","plugin_committers-webmacster87"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/officers-directory.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/officers-directory\/trunk\/screenshot-1.jpg?rev=1539068","caption":"The interface for adding new officers &amp; editing them. Note the ability to add &amp; edit multiple officers at once."},{"src":"https:\/\/ps.w.org\/officers-directory\/trunk\/screenshot-2.jpg?rev=1539068","caption":"The main table, showing officers organized by position type. Controls for managing all aspects of the directory are easily available."},{"src":"https:\/\/ps.w.org\/officers-directory\/trunk\/screenshot-3.jpg?rev=1539068","caption":"Contextual help is provided throughout the admin interface to explain how to manage the directory."},{"src":"https:\/\/ps.w.org\/officers-directory\/trunk\/screenshot-4.jpg?rev=1539068","caption":"The officers table, displayed in the Twenty Ten theme. The e-mail links connect to the Contact form and pre-fill it."},{"src":"https:\/\/ps.w.org\/officers-directory\/trunk\/screenshot-5.jpg?rev=1539068","caption":"The integrated contact form, with a drop-down menu to select the e-mail recipient."}],"raw_content":"<!--section=description-->\n<p>This plugin is designed for organizations of any size that want to provide their visitors with an organized list of their officers and\/or a way for visitors to contact those officers. Using this plugin you can create a directory of your officers, which can be display publicly in a table view. You can also embed a reCAPTCHA-powered contact form on your site that integrates with the officers directory in order to let your visitors select the recipient of their e-mail from among your officers.<\/p>\n\n<p>Features include:<\/p>\n\n<ul>\n<li>Can identify each officer by their position name\/title &amp; the name of the officer holding that position<\/li>\n<li>Support for one officer, two co-officers, or identifying a position as vacant<\/li>\n<li>E-mail addresses of officers are kept private from the public-facing areas of your site<\/li>\n<li>Optionally provide a description of what each officer's duties are that can be displayed publicly<\/li>\n<li>Group related officer positions together under custom position types<\/li>\n<li>Complete control of the display order of position types and officers within those types<\/li>\n<\/ul>\n\n<p>This plugin is compatible with the multisite-enabled installations of WordPress, so that each site in your network can maintain a different directory of officers. This plugin also integrates with WordPress' contextual help system, so you can use the sliding Help tabs in the admin panel for detailed information about how to manage the directory.<\/p>\n\n<p>IMPORTANT! This plugin requires PHP 5.0.0 or later to be running under your WordPress installation.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>officers-directory<\/code> folder and its entire contents to the <code>\/wp-content\/plugins<\/code> directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>If you are planning to use the contact form, register for <a href=\"https:\/\/www.google.com\/recaptcha\/admin\/create\">reCAPTCHA API keys<\/a> for your site, then submit them in the 'Officers Directory' panel under the 'Settings' menu in WordPress.<\/li>\n<li>Configure your directory and add officers using the 'Officers Directory' panel under the 'Tools' menu in WordPress.<\/li>\n<li>Add the <code>[officers-table]<\/code> and\/or <code>[officers-contact]<\/code> shortcodes to your pages. Instructions for these are provided on the plugin's settings pane, and in the 'Other Notes' section of this readme.<\/li>\n<\/ol>\n\n<p>NOTE: This plugin creates two new tables in your database, however they are not created until the Officers Directory admin panel is loaded for the first time. On multi-site installations, these two tables are created separately for each site on your network once the Officers Directory admin panel is loaded for the first time on that site.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt>Do I have to use the \"position types\" feature?<\/dt>\n<dd><p>The directory is designed such that each officer must belong to a position type. However, if there is only one position type defined, its name will never be displayed publicly. Therefore you can continue using the default one if you do not plan to take advantage of this feature.<\/p><\/dd>\n<dt>How does the ordering system work?<\/dt>\n<dd><p>Officers are always grouped together within their specified position type. You can use the up\/down arrows listed next to each position type in the admin panel to re-order the appearance of those groups.\nWithin each position type, you can change the Order numbers assigned to each officer to change the display order. Officers will be listed sequentially according to these numbers. (This works similar to how you can order pages in WordPress, but the interface is a bit easier to navigate.)<\/p><\/dd>\n<dt>What are \"shortnames\" and why should I care?<\/dt>\n<dd><p>A shortname is a short version of the position name that is all-lowercase (no spaces). It is a unique identifier of each position in the database which is used internally to refer to the position. As an example, if you have a \"President\" officer, you could make <code>president<\/code> be the shortname.\nYou can also use the shortname in a number of places on your site. For example, if the page with your contact form is located at <code>http:\/\/www.example.com\/wordpress\/contact\/<\/code> you can make a link to <code>http:\/\/www.example.com\/wordpress\/contact\/?officer=president<\/code> which will pre-fill the contact form with the President as the recipient.\nYou have the flexibility to determine the shortname any way you want, however it is required. The shortname is listed in the Officers Directory admin panel in parentheses.<\/p><\/dd>\n<dt>I want to change the CSS of the officers table and contact form.<\/dt>\n<dd><p>The officers table has <code>&lt;table id=\"officersdirtable\"&gt;<\/code> and the contact form has <code>&lt;table id=\"officersdircontact\"&gt;<\/code> as their encapsulating HTML elements. Thus you should be able to use those IDs to apply custom CSS to them.\nIt is recommended that the contact form have no CSS whatsoever applied to it. The officers table, on the other hand, may benefit from some additional CSS beyond a bare table.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Added a feature for multi-site installations; specifying the reCAPTCHA API Keys in <code>wp-config.php<\/code> will automatically apply them across the network and hide the Officers Directory settings panel.<\/li>\n<li>If in a multi-site install, the Officers Directory settings panel will provide the code for <code>wp-config.php<\/code> to users with Super Admin capabilities.<\/li>\n<li>Added a separate admin screen for the shortcodes help, which is no longer shown on the Officers Directory settings panel.<\/li>\n<li>When adding new officers in bulk, the form now ignores any new officers that were left blank.<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Increased the width of the E-mail column for better style compatibility.<\/li>\n<li>Fixed an issue with incorrect single-edit links in the officers admin.<\/li>\n<li>Fixed an issue where contact form e-mails were not being sent.<\/li>\n<li>Closed a possible security issue where hidden fields could be passed to the officers contact form via the <code>[officers-contact]<\/code> shortcode.<\/li>\n<li>Now setting reCAPTCHA API Keys in the WordPress admin, mainly because WordPress evilly replaces files during the update process.<\/li>\n<li>New Officers Directory settings pane for setting the API Keys, and also provides the how-to on using the shortcodes. More settings will be added here in the future.<\/li>\n<\/ul>\n\n<h4>1.0.5<\/h4>\n\n<ul>\n<li>Fixed an issue with the <code>positiontitle<\/code> and <code>officertitle<\/code> attributes in the <code>[officers-table]<\/code> shortcode not working.<\/li>\n<\/ul>\n\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>Did you know that the WordPress Directory forces a dash (-) in the plugin folder, even when you programmed with an underscore (_) in mind? Lovely. All related bugs have been fixed in this one.<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Fixed an issue where the wp_officers_types table might not be created due to a duplicate PRIMARY KEY declaration, which could cause a SQL error.<\/li>\n<li>Fixed an issue where the plugin version number was not being added to the database.<\/li>\n<li>officersDirInstall() function now only runs when the plugin version number listed in the database does not match the one in the plugin file.<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>One more try to get the plugin metadata correct, including getting the readme.txt and officers_directory.php version numbers consistent.<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Fixing some issues with my readme.txt file. (I'm new at this.)<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial public release.<\/li>\n<\/ul>\n\n<!--section=other_notes-->\n<h3>Officers Directory Shortcodes<\/h3>\n\n<p>To display a directory of your officers, use the <code>[officers-table]<\/code> shortcode in your post. You can also specify a number of attributes (by including them within the brackets) to customize the display of this form:<\/p>\n\n<ul>\n<li><code>contactform=\"http:\/\/example.com\/contact\/\"<\/code> Insert the link to the page or post containing the contact form shortcode (see below) and the directory will display e-mail links for each officer that will pre-fill the contact form's \"Send mail to\" menu.<\/li>\n<li><code>types=\"Type 1|Type 2|etc.\"<\/code> If you want to restrict the directory to only show certain types of officers, specify the name of each type here, separated by a pipe symbol (|).<\/li>\n<li><code>shortnames=\"officer1|officer2|etc.\"<\/code> If you want to specify exactly which officers appear in the directory, specify the <em>shortname<\/em> of each officer here, separated by a pipe symbol (|). Shortnames are shown inside parentheses in the list below.<\/li>\n<li><code>descriptions=\"true\"<\/code> If you want to display descriptions for each position that specifies them in your directory, include this attribute in your shortcode. Descriptions use a collapsible effect to display to the end-user.<\/li>\n<li><code>positiontitle=\"Position\"<\/code> Change this if you want the header of the \"Position\" column to have a different title.<\/li>\n<li><code>officertitle=\"Officer\"<\/code> Change this if you want the header of the \"Officer\" column to have a different title.<\/li>\n<\/ul>\n\n<p>To display a contact form for your officers, use the <code>[officers-contact]<\/code> shortcode in your post. You can also specify a number of attributes (by including them within the brackets) to customize which officers are available to this form:<\/p>\n\n<ul>\n<li><code>types=\"Type 1|Type 2|etc.\"<\/code> If you want to restrict the contact form to only list certain types of officers, specify the name of each type here, separated by a pipe symbol (|).<\/li>\n<li><code>shortnames=\"officer1|officer2|etc.\"<\/code> If you want to specify exacty which officers can be contacted, specify the <em>shortname<\/em> of each officer here, separated by a pipe symbol (|). Shortnames are shown inside parentheses in the list below.<\/li>\n<\/ul>\n\n<p>IMPORTANT! For this contact form to work, you <em>must<\/em> specify API Keys for the <a href=\"http:\/\/www.google.com\/recaptcha\/\">reCAPTCHA<\/a> service. <a href=\"https:\/\/www.google.com\/recaptcha\/admin\/create\">Get your API keys<\/a> and then add them to the <code>apikeys_config.php<\/code> file in the <code>\/wp_content\/plugins\/officers-directory\/<\/code> folder.<\/p>\n\n<h3>Credits<\/h3>\n\n<p>This plugin includes the PHP reCAPTCHA library by Mike Crawford and Ben Maurer; Copyright (c) 2007 reCAPTCHA; used under the terms of the GPLv2.\nThanks to Lorelle VanFossen for convincing me to release this plugin publicly, and thanks to the guys in the #phpBB-Coding channel on irc.freenode.net for helping me out when the debugging got tough.<\/p>","raw_excerpt":"Allows for the creation and management of a directory of officers for your organization. Includes an integrated contact form with reCAPTCHA support.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/46213","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=46213"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/webmacster87"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=46213"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=46213"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=46213"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=46213"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=46213"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=46213"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}