विवरण
With this plugin is possible to make game between users of wordpress.
- Integrated with the system for users of WP (subscribers).
-
The administrator creates a pull, where he defines a question and a series of answers:
Who gonna win the race in Canada with F1?
- Rubens Barrichelo
- Felipe Massa
- Nelson Piquet
- Ayrton Senna
- The questions are closed by the administrator when the result comes out.
- Users who check the winner earning points X defined by default, which can be customized by question.
- Users accompanying the points earned on your profile.
- In future, these users can exchange points for gifts on the site.
Com este plugin é possivel fazer bolão entre os usuários do wordpress.
- Integrado com o sistema de usuários do WP (assinantes).
-
O administrador cria um bolão como se fosse uma enquete, onde ele define uma pergunta e uma série de respostas:
Quem var ganhar a corrida do Canadá de F1?
- Rubens Barrichelo
- Felipe Massa
- Nelson Piquet
- Ayrton Senna
- As perguntas são fechadas pelo administrador quando sai o resultado.
- Os usuários que marcarem o vencedor ganham X pontos definidos por padrão, que podem ser customizados por pergunta.
- Os usuários acompanham os pontos ganhos no seu perfil.
- No futuro, estes usuários poderão trocar pontos por brindes no site.
स्क्रिनसटहरू
स्थापना
- Upload
bolao.php
to the/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Configure yours pools and gifts in
Bolão
options - Users can vote and request a gift on they’re Bolão options
- Chekout gifts for your personal control
- If you want to show your last pool on your template, use the
bolao_widget
function.
प्रश्नोत्तर
Can I put my last pool on my theme?
Yes, just put this lines on yout template:
<?php if (function_exists('bolao_widget')) bolao_widget(); ?>
Can I customize my Bolão widget?
Of course. You can pass an array of options to your widget function. By default, we have this options:
array ( 'title' => 'Bolao', 'title_start' => '<h2 class="bolao_title">', 'title_end' => '</h2>', 'question_start' => '<li class="bolao_question"><h3>', 'question_end' => '</h3></li>', 'options_start' => '<ul>', 'opt_start' => '<li class="bolao_option {EVEN-ODD}">', 'opt_end' => '</li>', 'options_end' => '</ul>', 'submit_start' => '<li class="bolao_submit">', 'submit_end' => '</li>', 'print' => true, )
So you can pass an array with any of these options, like this.
bolao_widget(array ( 'title' => 'Make your Choice', 'question_start' => '<h3>', 'question_end' => '</h3>', 'options_start' => '<div>', 'opt_start' => '<li>', 'opt_end' => '</li>', 'options_end' => '</div>', ));
And this generates this widget:
<h2 class="bolao_title">Make your Choice</h2> <form action="" method="get" class="bolao_form"> <input type="hidden" name="handle" value="handle" /> <input type="hidden" name="details " value="details " /> <div> <h3>Whats the color of the white horse of Napolian?</h3> <li> <label for="bolao_option_4873447a33954"> <input type="radio" name="item" value="3" id="bolao_option_4873447a33954" /> Black </label> </li> <li> <label for="bolao_option_4873447a33964"> <input type="radio" name="item" value="4" id="bolao_option_4873447a33964" /> White </label> </li> <li> <label for="bolao_option_4873447a3396c"> <input type="radio" name="item" value="5" id="bolao_option_4873447a3396c" /> Gray </label> </li> <li> <label for="bolao_option_4873447a33974"> <input type="radio" name="item" value="6" id="bolao_option_4873447a33974" /> Purple </label> </li> <li class="bolao_submit"><button type="submit" name="vote" value="Vote">Vote</button></li> </div> </form>
समीक्षाहरू
यस प्लगिनको लागि कुनै समीक्षाहरू छैनन्।
योगदानकर्ता र डेभलपरहरू
“Bolão” खुला स्रोत सफ्टवेयर हो। निम्न व्यक्तिहरूले यो प्लगिनमा योगदान गरेका छन्।
योगदानकर्ताहरू“Bolão” लाई आफ्नो भाषामा अनुवाद गर्नुहोस्
विकासमा रुचि छ?
आरएसएस द्वारा कोड ब्राउज गर्नुहोस्, एसभीएन रिपजिटरी हेर्नुहोस्, वा विकास लग को सदस्यता लिनुहोस्।