1
jayjay
Poll hack: show poll results in a block on start page
  • 2004/7/28 9:16

  • jayjay

  • Not too shy to talk

  • Posts: 175

  • Since: 2003/9/10


Hi everyone!

Some time ago Kubaz hacked the xoopspoll module so that the poll results (instead of the poll questions) would show if anyone had already voted on a poll.

I added a new block to his hack. The block allows you to directly show the poll results. This means you can show the results of your polls at your start page from now on

Download xoopspoll hack

An example can be seen on my site or at the bottom of this post:
http://www.sint-niklaas.be

Starting from Kubaz' hack, I changed these files:

xoops_version.php:
- made new entries under "blocks"

blocks/xoopspoll.php:
- made new b_xoopspoll_results() function
- sprintf hack for better display percentages

language/english/modinfo.php:
- new entry for results block name

Resized Image

2
KubaZ
Re: Poll hack: show poll results in a block on start page
  • 2004/8/20 14:24

  • KubaZ

  • Just popping in

  • Posts: 37

  • Since: 2002/10/9


thanks for expanding my hack :)

3
theprof
Re: Poll hack: show poll results in a block on start page
  • 2004/8/20 14:47

  • theprof

  • Quite a regular

  • Posts: 225

  • Since: 2004/7/14


Kubaz that is a nice theme...is it available?

Login

Who's Online

361 user(s) are online (242 user(s) are browsing Support Forums)


Members: 0


Guests: 361


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits