{"id":18895,"date":"2012-07-06T07:59:48","date_gmt":"2012-07-06T07:59:48","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/customers\/"},"modified":"2012-07-06T08:04:19","modified_gmt":"2012-07-06T08:04:19","slug":"customers","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/customers\/","author":9268985,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.1.0","stable_tag":"trunk","tested":"3.4.2","requires":"3.4","requires_php":"","requires_plugins":"","header_name":"Customers","header_author":"F. Mari\u00e9","header_description":"","assets_banners_color":"","last_updated":"2012-07-06 08:04:19","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/www.fmarie.net\/","header_plugin_uri":"http:\/\/wordpress.org\/extend\/plugins\/customers\/","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":10,"downloads":1669,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1539244","resolution":"2","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1539244","resolution":"1","location":"plugin"}},"screenshots":{"1":"The result for display all countries with template bycountries","2":"The result after select a country"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[7619,2466,13943,353,8370],"plugin_category":[44,58],"plugin_contributors":[92250],"plugin_business_model":[],"class_list":["post-18895","plugin","type-plugin","status-closed","hentry","plugin_tags-customers","plugin_tags-directory","plugin_tags-friends","plugin_tags-groups","plugin_tags-suppliers","plugin_category-discussion-and-community","plugin_category-user-management","plugin_contributors-fmarie","plugin_committers-fmarie"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/customers.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/customers\/trunk\/screenshot-1.png?rev=1539244","caption":"The result for display all countries with template bycountries"},{"src":"https:\/\/ps.w.org\/customers\/trunk\/screenshot-2.png?rev=1539244","caption":"The result after select a country"}],"raw_content":"<!--section=description-->\n<p>This plugin display a directory of customers, suppliers, friends or others groups with a shortcode [CUSTOMERS].<\/p>\n\n<p>With a template's system, it's easy to change presentation of list.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload customers directory to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Go to Settings &gt; Customers to manage your directory<\/li>\n<li>Add [CUSTOMERS] to article\/page and your directory is displayed<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>I want to change presentation, what can I do ?<\/dt>\n<dd><p>You have a directory templates where you can create your own template.\nI have placed 2 simples templates for example. You can add another and change in customers.php the variable CTS_TPF (line 39) by the name of your template.<\/p><\/dd>\n<dt>Where is my data stored ?<\/dt>\n<dd><p>2 tables where created at activation.\nwp_pays and wp_customers. If your WP table's prefix is different to wp, it change automatically.\nwp_pays have datas with all of countries (238 countries). You can add\/modifiy\/delete.<\/p><\/dd>\n<dt>What is the field and her type in table ?<\/dt>\n<dd><p>pays :\n    rowid int(11)\n    code varchar(2)\n    en varchar(255)<\/p>\n\n<p>customers :\ncuid INT( 11 )\ncupays INT( 11 )\ncuname VARCHAR( 50 )\ncuadr1 VARCHAR( 150 )\ncuadr2 VARCHAR( 150 )\ncucp VARCHAR( 50 )\ncutown VARCHAR( 100 )\ncutel VARCHAR( 50 )\ncufax VARCHAR( 50 )\ncumail VARCHAR( 50 )\ncuweb VARCHAR( 150 )\nculogo VARCHAR( 250 )<\/p>\n\n<p>This is important to know that for create your own template.<\/p><\/dd>\n<dt>Do you have another question ?<\/dt>\n<dd><p>Go to support !<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1.0<\/h4>\n\n<p>First public release<\/p>","raw_excerpt":"Directory for customers, suppliers, friends or others groups","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/18895","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=18895"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/fmarie"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=18895"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=18895"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=18895"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=18895"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=18895"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=18895"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}