{"id":3315,"date":"2008-07-08T08:41:08","date_gmt":"2008-07-08T08:41:08","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/bolao\/"},"modified":"2008-08-01T11:56:41","modified_gmt":"2008-08-01T11:56:41","slug":"bolao","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/bolao\/","author":637626,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.3","stable_tag":"2.3","tested":"2.5","requires":"2.5","requires_php":"","requires_plugins":"","header_name":"Bol\u00e3o","header_author":"DGmike","header_description":"","assets_banners_color":"","last_updated":"2008-08-01 11:56:41","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/dgmike.wordpress.com","header_plugin_uri":"","header_author_uri":"http:\/\/dgmike.wordpress.com","rating":0,"author_block_rating":0,"active_installs":10,"downloads":5073,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","2.0","2.1","2.2","2.3"],"block_files":[],"assets_screenshots":{"screenshot-9.png":{"filename":"screenshot-9.png","revision":"1443656","resolution":"9","location":"plugin"},"screenshot-5.png":{"filename":"screenshot-5.png","revision":"1443656","resolution":"5","location":"plugin"},"screenshot-7.png":{"filename":"screenshot-7.png","revision":"1443656","resolution":"7","location":"plugin"},"screenshot-6.png":{"filename":"screenshot-6.png","revision":"1443656","resolution":"6","location":"plugin"},"screenshot-4.png":{"filename":"screenshot-4.png","revision":"1443656","resolution":"4","location":"plugin"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1443656","resolution":"2","location":"plugin"},"screenshot-10.jpg":{"filename":"screenshot-10.jpg","revision":"1443656","resolution":"10","location":"plugin"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1443656","resolution":"3","location":"plugin"},"screenshot-8.png":{"filename":"screenshot-8.png","revision":"1443656","resolution":"8","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1443656","resolution":"1","location":"plugin"}},"screenshots":{"1":"The user resume of pools, here he see the oppened and closed pools.","2":"Details of pool for your users, here he can vote it.","3":"Stuff screen, the user can request a gift for him.","4":"Admin resume.","5":"Admin details of pool. A pool can't be edited for security of users, so you can only delete or close a pool.","6":"Creating a new pool.","7":"List of stuffs.","8":"New stuff","9":"Details of requesteds stuffs, for your internal control.","10":"Code generated by <code>bolao_widget<\/code> function"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[585,533,13486,13485,5613],"plugin_category":[37],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-3315","plugin","type-plugin","status-publish","hentry","plugin_tags-answer","plugin_tags-game","plugin_tags-gift","plugin_tags-pool","plugin_tags-questions","plugin_category-arts-and-entertainment","plugin_committers-dgmike"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/bolao.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/bolao\/trunk\/screenshot-1.png?rev=1443656","caption":"The user resume of pools, here he see the oppened and closed pools."},{"src":"https:\/\/ps.w.org\/bolao\/trunk\/screenshot-2.png?rev=1443656","caption":"Details of pool for your users, here he can vote it."},{"src":"https:\/\/ps.w.org\/bolao\/trunk\/screenshot-3.png?rev=1443656","caption":"Stuff screen, the user can request a gift for him."},{"src":"https:\/\/ps.w.org\/bolao\/trunk\/screenshot-4.png?rev=1443656","caption":"Admin resume."},{"src":"https:\/\/ps.w.org\/bolao\/trunk\/screenshot-5.png?rev=1443656","caption":"Admin details of pool. A pool can't be edited for security of users, so you can only delete or close a pool."},{"src":"https:\/\/ps.w.org\/bolao\/trunk\/screenshot-6.png?rev=1443656","caption":"Creating a new pool."},{"src":"https:\/\/ps.w.org\/bolao\/trunk\/screenshot-7.png?rev=1443656","caption":"List of stuffs."},{"src":"https:\/\/ps.w.org\/bolao\/trunk\/screenshot-8.png?rev=1443656","caption":"New stuff"},{"src":"https:\/\/ps.w.org\/bolao\/trunk\/screenshot-9.png?rev=1443656","caption":"Details of requesteds stuffs, for your internal control."},{"src":"https:\/\/ps.w.org\/bolao\/trunk\/screenshot-10.jpg?rev=1443656","caption":"Code generated by <code>bolao_widget<\/code> function"}],"raw_content":"<!--section=description-->\n<p>With this plugin is possible to make game between users of wordpress.<\/p>\n <ol>\n<li>Integrated with the system for users of WP (subscribers).<\/li>\n<li><p>The administrator creates a pull, where he defines a question and a series of answers:<\/p>\n <p>Who gonna win the race in Canada with F1?<\/p><\/li>\n<\/ol>\n <ul>\n<li>Rubens Barrichelo<\/li>\n<li>Felipe Massa<\/li>\n<li>Nelson Piquet<\/li>\n<li>Ayrton Senna<\/li>\n<\/ul>\n <ol>\n<li>The questions are closed by the administrator when the result comes out.<\/li>\n<li>Users who check the winner earning points X defined by default, which can be customized by question.<\/li>\n<li>Users accompanying the points earned on your profile.<\/li>\n<li>In future, these users can exchange points for gifts on the site.<\/li>\n<\/ol>\n   <p>Com este plugin \u00e9 possivel fazer bol\u00e3o entre os usu\u00e1rios do wordpress.<\/p>\n <ol>\n<li>Integrado com o sistema de usu\u00e1rios do WP (assinantes).<\/li>\n<li><p>O administrador cria um bol\u00e3o como se fosse uma enquete, onde ele define uma pergunta e uma s\u00e9rie de respostas:<\/p>\n <p>Quem var ganhar a corrida do Canad\u00e1 de F1?<\/p><\/li>\n<\/ol>\n <ul>\n<li>Rubens Barrichelo<\/li>\n<li>Felipe Massa<\/li>\n<li>Nelson Piquet<\/li>\n<li>Ayrton Senna<\/li>\n<\/ul>\n <ol>\n<li>As perguntas s\u00e3o fechadas pelo administrador quando sai o resultado.<\/li>\n<li>Os usu\u00e1rios que marcarem o vencedor ganham X pontos definidos por padr\u00e3o, que podem ser customizados por pergunta.<\/li>\n<li>Os usu\u00e1rios acompanham os pontos ganhos no seu perfil.<\/li>\n<li>No futuro, estes usu\u00e1rios poder\u00e3o trocar pontos por brindes no site.<\/li>\n<\/ol>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>bolao.php<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Configure yours pools and gifts in <code>Bol\u00e3o<\/code> options<\/li>\n<li>Users can vote and request a gift on they're Bol\u00e3o options<\/li>\n<li>Chekout gifts for your personal control<\/li>\n<li>If you want to show your last pool on your template, use the <code>bolao_widget<\/code> function.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<h4>Can I put my last pool on my theme?<\/h4>\n <p>Yes, just put this lines on yout template:<\/p>\n <pre><code>&lt;?php if (function_exists('bolao_widget')) bolao_widget(); ?&gt; <\/code><\/pre>\n <h4>Can I customize my Bol\u00e3o widget?<\/h4>\n <p>Of course. You can pass an array of options to your widget function. By default, we have this options:<\/p>\n <pre><code>array (   'title'            =&gt; 'Bolao',   'title_start'      =&gt; '&lt;h2 class=\"bolao_title\"&gt;',   'title_end'        =&gt; '&lt;\/h2&gt;',   'question_start'   =&gt; '&lt;li class=\"bolao_question\"&gt;&lt;h3&gt;',   'question_end'     =&gt; '&lt;\/h3&gt;&lt;\/li&gt;',   'options_start'    =&gt; '&lt;ul&gt;',   'opt_start'        =&gt; '&lt;li class=\"bolao_option {EVEN-ODD}\"&gt;',   'opt_end'          =&gt; '&lt;\/li&gt;',   'options_end'      =&gt; '&lt;\/ul&gt;',   'submit_start'     =&gt; '&lt;li class=\"bolao_submit\"&gt;',   'submit_end'       =&gt; '&lt;\/li&gt;',   'print'            =&gt; true, ) <\/code><\/pre>\n <p>So you can pass an array with any of these options, like this.<\/p>\n <pre><code>bolao_widget(array (   'title'            =&gt; 'Make your Choice',   'question_start'   =&gt; '&lt;h3&gt;',   'question_end'     =&gt; '&lt;\/h3&gt;',   'options_start'    =&gt; '&lt;div&gt;',   'opt_start'        =&gt; '&lt;li&gt;',   'opt_end'          =&gt; '&lt;\/li&gt;',   'options_end'      =&gt; '&lt;\/div&gt;', )); <\/code><\/pre>\n <p>And this generates this widget:<\/p>\n <pre><code>&lt;h2 class=\"bolao_title\"&gt;Make your Choice&lt;\/h2&gt;   &lt;form action=\"\" method=\"get\" class=\"bolao_form\"&gt;   &lt;input type=\"hidden\" name=\"handle\" value=\"handle\" \/&gt;   &lt;input type=\"hidden\" name=\"details \" value=\"details \" \/&gt;    &lt;div&gt;       &lt;h3&gt;Whats the color of the white horse of Napolian?&lt;\/h3&gt;       &lt;li&gt;         &lt;label for=\"bolao_option_4873447a33954\"&gt;           &lt;input type=\"radio\" name=\"item\" value=\"3\" id=\"bolao_option_4873447a33954\"  \/&gt;           Black         &lt;\/label&gt;       &lt;\/li&gt;       &lt;li&gt;          &lt;label for=\"bolao_option_4873447a33964\"&gt;           &lt;input type=\"radio\" name=\"item\" value=\"4\" id=\"bolao_option_4873447a33964\"  \/&gt;           White         &lt;\/label&gt;       &lt;\/li&gt;       &lt;li&gt;         &lt;label for=\"bolao_option_4873447a3396c\"&gt;           &lt;input type=\"radio\" name=\"item\" value=\"5\" id=\"bolao_option_4873447a3396c\"  \/&gt;           Gray         &lt;\/label&gt;        &lt;\/li&gt;       &lt;li&gt;         &lt;label for=\"bolao_option_4873447a33974\"&gt;           &lt;input type=\"radio\" name=\"item\" value=\"6\" id=\"bolao_option_4873447a33974\"  \/&gt;           Purple         &lt;\/label&gt;       &lt;\/li&gt;       &lt;li class=\"bolao_submit\"&gt;&lt;button type=\"submit\" name=\"vote\" value=\"Vote\"&gt;Vote&lt;\/button&gt;&lt;\/li&gt;   &lt;\/div&gt;  &lt;\/form&gt; <\/code><\/pre>","raw_excerpt":"With this plugin is possible to make game between users of wordpress.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/3315","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=3315"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/dgmike"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=3315"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=3315"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=3315"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=3315"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=3315"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=3315"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}