| 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? ![]() 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
|