Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
7 + 8 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     

Re: Xoopspoll hack: view results in block (Was: Re: poll force view)
by jayjay on 2004/11/5 7:52:41

Hi everybody!

Due to an update of my site to XOOPS version 2.0.7, some mod_rewrite tricks don't work anymore :-/ Hope the issue gets fixed soon...

In the meanwhile you can download my xoopspoll hack from this url:
http://www.sint-niklaas.be/modules/wfdownloads/singlefile.php?cid=18&lid=22
Re: Odd glitch
by hmagoo on 2004/8/6 10:14:04

I originally had a problem getting the template for the new block to generate. I must not have done things in the proer order. So I uninstalled the module, deleted the directory, deleted templates_c, then uploaded again and installed, and generated and everything is working well. Thanks for the mod.

Re: Odd glitch
by Basie on 2004/8/2 10:02:15

Bump...

Anybody got any clues on this one?
Odd glitch
by Basie on 2004/7/28 23:40:51

I'm the same... with all of these hacks, I see text boxes instead of images.

My process to install:
1. Delete original xoopspoll directory (start fresh).
2. Upload new xoopspoll directory from hack archive.
3. Update the module from the admin interface.
4. Re-generate template (in one case: xoopspoll_block_results.html).
5. Clear templates_c.

Why on earth would text boxes appear? Something I'm missing here?

Resized Image

Edit: it seems to be using xoops_block_poll.html when it should be using xoops_block_results.html?

Edit2: the above shot was taken while the site had jayjay's version installed.
Xoopspoll hack: view results in block (Was: Re: poll force view)
by jayjay on 2004/7/27 8:27:27

Hi everybody!

I hacked Kubaz' hack of the xoopspoll module

Now you can show poll results in a block, so you can display them directly on your homepage.

Download the hacked xoopspoll file

An example can be seen here (only this week) 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

Who's Online

163 user(s) are online (120 user(s) are browsing Support Forums)


Members: 0


Guests: 163


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits