Find Jobs
Hire Freelancers

Poll system as a PHP Smarty plugin

$30-100 USD

Peruutettu
Julkaistu yli 18 vuotta sitten

$30-100 USD

Maksettu toimituksen yhteydessä
This is a small project (1-2 days for a good coder), but you must have: * PHP with *Postgresql database* * knowledge of the Smarty template system for PHP [login to view URL] - this is important because you will be writing a Smarty plugin [login to view URL] I would like a poll system like described in this tutorial: [login to view URL] This page has a lot of code examples and a nice graphic - this should cut your work down a lot! WHAT IT WILL DO =============== It will be a piece of code using PHP and Smarty (a 'Smarty Plugin') that can be invoked from a Smarty template, which displays a poll such as: "Do you think you can do this project? ( ) Yes - Definitely ( ) No - not at all ( ) Maybe ( ) Not sure, hmmm" If the user clicks, they get to see the percentages that other people have answered, with a bar graph (see above link). Then their IP address $_SERVER['REMOTE_ADDR'] is recorded so that they cannot vote _on this poll_ again for 24 hours. There are two systems (poll admin, and poll participant) ADMIN MODE ========== The poll admin can: * create a poll (give it a name), set a start date +time (or 'immediately'), set an end date (or 'never') * add options to the poll (e.g. "yes definitely", "no - not at all", "maybe", "not sure") * edit/delete options * view how many times a poll has been displayed * view how many people have clicked the poll and numbers of results (and percentages %) * suspend a poll (turn it off) * resume a poll (turn it back on) * see a list of previous finished polls, how many people answered, and what the results were The poll admin can also create _groups of polls_. Polls in the same group are randomly shown, until all the polls in that group have been answered by the person. POLL PARTICIPANT (USER) MODE ============================ A page will include the poll code using the Smarty {include} statement and specifying which *poll group* should be displayed e.g. {poll group="logged_in_users_polls"} * A poll from this group is randomly chosen - but: * it _must not_ be a poll that the user has already answered * it must be enabled * it must be within the start and end times * If the user has already been shown all the polls in this group, the results from a randomly selected poll in this group are shown If the user answers the poll by clicking on one of the options, the result is sent to a PHP page. This page: * records the answer in the poll results and updates the statistics * checks the HTTP_REFERRER and returns to the page which included the poll (the referrer) using header("location: $referrer") * the referrer page (which includes the poll code) will display the result _for this poll_ (not a random poll) so that the user can see the results for the poll they have just answered * If they refresh the page after this, they may see another poll (as long as there are polls left in this group) - otherwise they will see the result of a random poll in this group
Projektin tunnus (ID): 26127

Tietoa projektista

8 ehdotukset
Etäprojekti
Aktiivinen 18 vuotta sitten

Haluatko ansaita rahaa?

Freelancerin tarjouskilpailun edut

Aseta budjettisi ja aikataulu
Saa maksu työstäsi
Kuvaile ehdotustasi
Rekisteröinti ja töihin tarjoaminen on ilmaista
8 freelancerit tarjoavat keskimäärin $67 USD tätä projektia
Käyttäjän avatar
I have developed for long time with smarty, also I've developed some plugins. Regards,
$50 USD 3 päivässä
5,0 (8 arvostelua)
6,0
6,0
Käyttäjän avatar
We have the required expertise and experience to complete this job. If accepted, we can get in touch and prove our skills
$70 USD 2 päivässä
4,8 (21 arvostelua)
3,9
3,9
Käyttäjän avatar
Please see PMB and let us start a new business relation.
$30 USD 1 päivässä
4,5 (1 arvostelu)
1,0
1,0
Käyttäjän avatar
Hello!! We have gone through the project information and we are very much interested in working and having a long term relationship with you. We can meet your requirements. We have good and talented team of Designers. We provide 100% customer satisfaction. You can view our portfolio and check the number of responses that we have received from our clients. We have got good feedbacks from the clients which proves they are happy with our services. You will have the work done as per your satisfaction and requirement. It will be my pleasure to work for you.
$99 USD 7 päivässä
0,5 (1 arvostelu)
2,0
2,0
Käyttäjän avatar
You really need us (pm)
$100 USD 3 päivässä
0,0 (0 arvostelua)
0,0
0,0
Käyttäjän avatar
We can complete jobworks with international standards.
$100 USD 10 päivässä
0,0 (0 arvostelua)
0,0
0,0
Käyttäjän avatar
we have a great expirience in this area, sincerely yours.
$50 USD 1 päivässä
0,0 (0 arvostelua)
0,0
0,0

Tietoja asiakkaasta

Maan UNITED KINGDOM lippu
London, United Kingdom
0,0
2
Liittynyt elok. 23, 2005

Asiakkaan vahvistus

Kiitos! Olemme lähettäneet sinulle sähköpostitse linkin, jolla voit lunastaa ilmaisen krediittisi.
Jotain meni pieleen lähetettäessä sähköpostiasi. Yritä uudelleen.
Rekisteröitynyttä käyttäjää Ilmoitettua työtä yhteensä
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Ladataan esikatselua
Lupa myönnetty Geolocation.
Kirjautumisistuntosi on vanhentunut ja sinut on kirjattu ulos. Kirjaudu uudelleen sisään.