{"id":17473,"date":"2012-03-28T09:06:30","date_gmt":"2012-03-28T09:06:30","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/contact-form-7-select-box-editor-button\/"},"modified":"2016-12-09T20:10:47","modified_gmt":"2016-12-09T20:10:47","slug":"contact-form-7-select-box-editor-button","status":"closed","type":"plugin","link":"https:\/\/af.wordpress.org\/plugins\/contact-form-7-select-box-editor-button\/","author":9194031,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.6","stable_tag":"trunk","tested":"4.7.33","requires":"3.3","requires_php":"","requires_plugins":"","header_name":"Contact Form 7 Select Box Editor Button","header_author":"Benjamin Pick","header_description":"","assets_banners_color":"","last_updated":"2016-12-09 20:10:47","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/benjaminpick\/wp-contact-form-7-select-box-editor-button","header_author_uri":"https:\/\/github.com\/benjaminpick","rating":5,"author_block_rating":0,"active_installs":300,"downloads":46966,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"0.4":"<ul>\n<li>The Parser has been rewritten to use Contact Form 7 parsing.\nIf this happens to break this plugin at your site, please send me your form code so that I can add it to my use cases.<\/li>\n<\/ul>","0.3.2":"<p>If upgrading this plugin, you should also upgrade Contact Form 7 to at least v3.3.<\/p>","0.2.3":"<p>The Frontend Javascript code was added to the plugin itself,\nso you should remove it from your contact form itself.\n(For this version, the JS code wasn&#039;t modified, so it should continue to work if you don&#039;t.)<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"2"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1","0.2","0.2.1","0.2.2","0.2.3","0.3","0.3.1","0.3.2","0.3.3","0.4","0.4.3","0.5","0.6","trunk"],"block_files":[],"assets_screenshots":{"screenshot-5.png":{"filename":"screenshot-5.png","revision":"1567506","resolution":"5","location":"plugin"},"screenshot-4.png":{"filename":"screenshot-4.png","revision":"1567506","resolution":"4","location":"plugin"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1567506","resolution":"2","location":"plugin"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1567506","resolution":"3","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1567506","resolution":"1","location":"plugin"}},"screenshots":{"1":"Form in action","2":"Editor Button","3":"Parameters","4":"Popup Window to choose Contact","5":"The Email-Adresses are in the Contact Form 7 Tag"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[485,358,5543,1719],"plugin_category":[46],"plugin_contributors":[81602],"plugin_business_model":[],"class_list":["post-17473","plugin","type-plugin","status-closed","hentry","plugin_tags-button","plugin_tags-contact-form","plugin_tags-german","plugin_tags-tinymce","plugin_category-editor-and-writing","plugin_contributors-benjamin4","plugin_committers-benjamin4"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/contact-form-7-select-box-editor-button.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/contact-form-7-select-box-editor-button\/trunk\/screenshot-1.png?rev=1567506","caption":"Form in action"},{"src":"https:\/\/ps.w.org\/contact-form-7-select-box-editor-button\/trunk\/screenshot-2.png?rev=1567506","caption":"Editor Button"},{"src":"https:\/\/ps.w.org\/contact-form-7-select-box-editor-button\/trunk\/screenshot-3.png?rev=1567506","caption":"Parameters"},{"src":"https:\/\/ps.w.org\/contact-form-7-select-box-editor-button\/trunk\/screenshot-4.png?rev=1567506","caption":"Popup Window to choose Contact"},{"src":"https:\/\/ps.w.org\/contact-form-7-select-box-editor-button\/trunk\/screenshot-5.png?rev=1567506","caption":"The Email-Adresses are in the Contact Form 7 Tag"}],"raw_content":"<!--section=description-->\n<p>Ever wanted to use one contact form for all your contacts? Yet be able to link to a specific contact?\nAnd without modifying the <em>Contact Form 7<\/em> extension?<\/p>\n\n<p>This little extension guides you to set up <em>Contact Form 7<\/em>, enter the contacts there, and then adds an editor button by which you can link a specific contact form.<\/p>\n\n<p><strong>Features:<\/strong><\/p>\n\n<ul>\n<li>Email adresses are invisible to website visitors (no spam)<\/li>\n<li>Adds Editor Button to the admin area where links to a contact form can be added or modified<\/li>\n<li>Contact form links can by styled by CSS<\/li>\n<li>Translation to German<\/li>\n<\/ul>\n\n<p><strong>Requirements:<\/strong><\/p>\n\n<ul>\n<li>Contact Form 7 (v3.3 or later): http:\/\/wordpress.org\/extend\/plugins\/contact-form-7\/<\/li>\n<\/ul>\n\n<h3>TO DO<\/h3>\n\n<ul>\n<li>Currently, only one form can be used (selectable at the settings page)<\/li>\n<li>The URL could be detected (find all articles containing a contact form, and propose them in a select box)<\/li>\n<li>When clicking on a link that has the form on the same page, should it scroll to the form? Currently, it only changes the selected value.<\/li>\n<\/ul>\n\n<p>These are limitations that I may (one day, if\/when I come to it) adress in future.\nSo if you're a developer and want to adress them yourself,\ngo ahead and I will be happy to support you!<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install <em>Contact Form 7<\/em> first<\/li>\n<li><p>Create a form containing a select tag:<\/p>\n\n<p>[select* recipient id:recipient \"John Doe|jondoe@example.org\" \"Max Mustermann|maxmustermann@example.org\"]<\/p><\/li>\n<li><p>Set Mail option \"To:\" to <code>[recipient]<\/code><\/p><\/li>\n<li>Install and Activate this plugin<\/li>\n<li>Test it: Add this contact form to a page or post, and call it with <code>#Max+Mustermann<\/code> at the end. \"Max Mustermann\" should be pre-selected now.<\/li>\n<li>Configure the parameters: \n\n<ul>\n<li>The URL where the contact form resides (e.g. <code>\/contact\/<\/code>)<\/li>\n<li>An optional prefix to the title attribute that will get created.<\/li>\n<\/ul><\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Can I contribute bugfixes or new features to this extension?<\/dt>\n<dd><p>Of course, be welcome! Send me a pull request at <a href=\"https:\/\/github.com\/benjaminpick\/wp-contact-form-7-select-box-editor-button\">Github<\/a>.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.6<\/h4>\n\n<ul>\n<li>Fix compatibility with WPCF7 4.6<\/li>\n<\/ul>\n\n<h4>0.5<\/h4>\n\n<ul>\n<li>Nicer GUI for Wordpress 3.9<\/li>\n<li>First Steps: Automatic checks the items that are done<\/li>\n<li>Compat with WPCF7 3.9<\/li>\n<\/ul>\n\n<h4>0.4.3<\/h4>\n\n<ul>\n<li>Compat with TinyMCE4 (upcoming Wordpress) was verified<\/li>\n<li>Fix: Compat with WPCF7 3.7<\/li>\n<\/ul>\n\n<h4>0.4.2<\/h4>\n\n<ul>\n<li>Fix: Admin GUI window for Wordpress 3.8<\/li>\n<\/ul>\n\n<h4>0.4.1<\/h4>\n\n<ul>\n<li>Fix: When a Link is edited, but the current recipient is not in the contact list anymore, the old recipient is now removed anyway.<\/li>\n<li>NEW: When changing the URL Prefix Option, show a warning that the links need to be updated (open the window and click insert).<\/li>\n<\/ul>\n\n<h4>0.4<\/h4>\n\n<ul>\n<li>NEW: The contact form to use can now be chosen via a select box at the settings page<\/li>\n<li>Fix: select box can now have all syntax that wpcf7 supports.<\/li>\n<li>De: Translation updated.<\/li>\n<\/ul>\n\n<h4>0.3.3<\/h4>\n\n<ul>\n<li>Fix: Select box can now have more options (see http:\/\/contactform7.com\/checkboxes-radio-buttons-and-menus\/)<\/li>\n<li>Show error message if no id\/invalid id is given<\/li>\n<li>NEW: Load js files only if a contactform is shown<\/li>\n<li>Add unit tests<\/li>\n<\/ul>\n\n<h4>0.3.2<\/h4>\n\n<ul>\n<li>Fix: Recipient is now the same as before submit.<\/li>\n<\/ul>\n\n<h4>0.3.1<\/h4>\n\n<ul>\n<li>Fix: Avoid empty select boxes (when contact form is called with empty or invalid hashtag, and form was submitted)<\/li>\n<\/ul>\n\n<h4>0.3<\/h4>\n\n<ul>\n<li>Feature: Also handle links that are on the same page as the contact form<\/li>\n<li>Fix: Correctly reset select box after succesful submit<\/li>\n<\/ul>\n\n<h4>0.2.3<\/h4>\n\n<ul>\n<li>Performance: Compressed JS files<\/li>\n<li>Frontend JS Code is added by plugin<\/li>\n<li>Add Install Instruction to admin page<\/li>\n<\/ul>\n\n<h4>0.2.2<\/h4>\n\n<ul>\n<li>De: Fix button title<\/li>\n<\/ul>\n\n<h4>0.2.1<\/h4>\n\n<ul>\n<li>Updated lang\/de<\/li>\n<li>Add Screenshots<\/li>\n<\/ul>\n\n<h4>0.2<\/h4>\n\n<ul>\n<li>Add German translation<\/li>\n<li>Fix: Link to WPCF7 Config<\/li>\n<li>Add Error Message when no select box found<\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>First version<\/li>\n<\/ul>","raw_excerpt":"Add a contact form link into article text. For contact forms where the recipient can be chosen in a select box.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/af.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/17473","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/af.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/af.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/af.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=17473"}],"author":[{"embeddable":true,"href":"https:\/\/af.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/benjamin4"}],"wp:attachment":[{"href":"https:\/\/af.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=17473"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/af.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=17473"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/af.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=17473"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/af.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=17473"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/af.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=17473"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/af.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=17473"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}