Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#37 2005-10-06 02:06:21

gregmay
Member
Registered: 2005-09-29
Posts: 12

Re: [archived] pap_xpoll (multiple poll plugin)

A few excellent ideas there that I hadn’t considered (getting rid of htaccess for example). In terms of the write-in option, I personally would definitely use the option – but would not want those results counted in the rest, or perhaps counted as an “Other” field. The write-in would help me get quick feedback from users, but I would only need it accessible to admins. Of course, other people might want/need something completely different!

Oh, and it terms of my results formatting- I don’t have images appearing in the results (nor do I want to). So the text just repeats itself.

Thanks again!

Offline

#38 2005-10-07 01:20:38

gregmay
Member
Registered: 2005-09-29
Posts: 12

Re: [archived] pap_xpoll (multiple poll plugin)

Tranquillo, I just tried to confirm my XML code using W3C and it gave me about 11 errors related to your plugin. One of them is about the text “CHECKED”, which I fixed by going into the polls.php file that is on the server and removing that line. The other 10 are, please excuse the messiness and length:

<code> 1. Error Line 369, column 149: end tag for “input” omitted, but OMITTAG NO was specified .

…name=“option” type=“radio” value=“1”> Option 1</span><br /><span id=“voteopti

You may have neglected to close an element, or perhaps you meant to “self-close” an element, that is, ending it with “/>” instead of “>”. 2. Info Line 369, column 105: start tag was here .

…d=“voteframe”><span id=“voteoptions”><input name=“option” type=“radio” value=

3. Error Line 369, column 181: ID “voteoptions” already defined .

…=“1”> Option 1</span><br /><span id=“voteoptions”>< input name=“option” type=”

An “id” is a unique identifier. Each time this attribute is used in a document it must have a different value. If you are using this attribute as a hook for style sheets it may be more appropriate to use classes (which group elements) than id (which are used to identify exactly one element). 4. Info Line 369, column 92: ID “voteoptions” first defined here .

…t?</span><p id=“voteframe”><span id=“voteoptions”>< input name=“option” type=”

5. Error Line 369, column 238: end tag for “input” omitted, but OMITTAG NO was specified .

…name=“option” type=“radio” value=“2”> Option 2</span><br /><span id=“voteopti

6. Info Line 369, column 194: start tag was here .

…1</span><br /><span id=“voteoptions”>< input name=“option” type=“radio” value=

7. Error Line 369, column 270: ID “voteoptions” already defined .

…=“2”> Option 2</span><br /><span id=“voteoptions”>< input name=“option” type=”

8. Info Line 369, column 92: ID “voteoptions” first defined here .

…t?</span><p id=“voteframe”><span id=“voteoptions”>< input name=“option” type=”

9. Error Line 369, column 327: end tag for “input” omitted, but OMITTAG NO was specified .

…name=“option” type=“radio” value=“3”> Option 3</span><br /><span id=“voteopti

10. Info Line 369, column 283: start tag was here .

…2</span><br /><span id=“voteoptions”>< input name=“option” type=“radio” value=

11. Error Line 369, column 359: ID “voteoptions” already defined .

…=“3”> Option 3</span><br /><span id=“voteoptions”>< input name=“option” type=”

12. Info Line 369, column 92: ID “voteoptions” first defined here .

…t?</span><p id=“voteframe”><span id=“voteoptions”>< input name=“option” type=”

13. Error Line 369, column 416: end tag for “input” omitted, but OMITTAG NO was specified .

…name=“option” type=“radio” value=“4”> I don’t like them</span><br />< input na

14. Info Line 369, column 372: start tag was here .

…3</span><br /><span id=“voteoptions”>< input name=“option” type=“radio” value=

15. Error Line 369, column 491: end tag for “input” omitted, but OMITTAG NO was specified .

…name=“stage” type=“hidden” value=“2”>< input name=“poll” type=“hidden” value=”

16. Info Line 369, column 447: start tag was here .

…e=“4”> I don’t like them</span><br />< input name=“stage” type=“hidden” value=

17. Error Line 369, column 537: end tag for “input” omitted, but OMITTAG NO was specified .

…me=“poll” type=“hidden” value=“1”></p>< input name=“btnVote” type=“submit” val

18. Info Line 369, column 491: start tag was here .

…name=“stage” type=“hidden” value=“2”>< input name=“poll” type=“hidden” value=”

19. Error Line 369, column 605: end tag for “input” omitted, but OMITTAG NO was specified .

…bmit” value=“Vote” id=“votebtn”></div></form>

20. Info Line 369, column 538: start tag was here .

…e=“poll” type=“hidden” value=“1”></p>< input name=“btnVote” type=“submit” valu
</code>

Some I think I could fix, others I’m not certain of. Am I using an outdated version or something, are other people having this issue?

Thanks!

Last edited by Sencer (2005-10-13 19:33:48)

Offline

#39 2005-10-13 10:13:03

Anton
Plugin Author
From: Alingsås, Sweden
Registered: 2004-11-16
Posts: 138
Website

Re: [archived] pap_xpoll (multiple poll plugin)

any news on this plugin? looks promising with i18n and everything..

Offline

#40 2005-10-28 15:21:07

druzli
Member
From: Denmark / Iceland
Registered: 2004-06-28
Posts: 60
Website

Re: [archived] pap_xpoll (multiple poll plugin)

Yea nice plugin, can anyone tell if this is still in the pipes?


regards,

Agust

Offline

#41 2005-10-28 15:45:59

tranquillo
Archived Plugin Author
Registered: 2005-03-07
Posts: 127
Website

Re: [archived] pap_xpoll (multiple poll plugin)

Version 0.2 is coming soon.

Offline

#42 2005-11-18 19:28:33

Jeremie
Member
From: Provence, France
Registered: 2004-08-11
Posts: 1,578
Website

Re: [archived] pap_xpoll (multiple poll plugin)

Any news on the 0.2 ? I got strange behaviour right now I can’t track down, it’s very annoying :(

Gregmay, I edited the code to comply to strict xhtml. I got only one error left (the name attribute of the main frontend form). But I guess we should wait for 0.2 before rewriting lines and lines…

Offline

#43 2005-11-18 20:53:47

Jeremie
Member
From: Provence, France
Registered: 2004-08-11
Posts: 1,578
Website

Re: [archived] pap_xpoll (multiple poll plugin)

Well, watching dumb TV series help clear the mind. I found my strange PHP error… it doesn’t like single quote in the input strings. I don’t know enough PHP to clean it though :(

Offline

#44 2005-11-24 13:03:01

alexandra
Member
From: Cologne, Germany
Registered: 2004-04-02
Posts: 1,370

Re: [archived] pap_xpoll (multiple poll plugin)

Who is using this on his/her site? Can someone except for Paul Arms supply a link?

Tranquillo are you still working on it? If so, this would really be great!

Offline

#45 2005-11-29 12:43:13

Martina
New Member
Registered: 2005-11-17
Posts: 3

Re: [archived] pap_xpoll (multiple poll plugin)

Hi! Firstly this is great plugin, and it is working fine – the only thing I’m having trouble with is width of the images presenting votes. I tryed to add style in polls.php but it is not working… You can see my trouble at: http://www.game-master.org/txp/news

Last edited by Martina (2005-11-29 12:43:32)

Offline

#46 2005-11-30 23:35:27

oldi
Member
Registered: 2005-10-14
Posts: 87

Re: [archived] pap_xpoll (multiple poll plugin)

I just discovered this plugin, and wanted to say it’s a great plugin. I am using 4.0.2 and it works without a problem.
Keep up the good job. I am looking forward for the future updates.

Last edited by oldi (2005-11-30 23:36:23)

Offline

#47 2005-12-02 15:04:05

vesa
New Member
From: Finland
Registered: 2005-12-02
Posts: 5
Website

Re: [archived] pap_xpoll (multiple poll plugin)

Really good plugin, just added it with no problems!


Bbf

Offline

#48 2005-12-17 12:40:25

-M&N-
New Member
Registered: 2005-12-17
Posts: 5

Re: [archived] pap_xpoll (multiple poll plugin)

It looks as a great plugin, but when I create new poll, this will display:

> Warning: main(../config.php) [function.main]: failed to open stream: No such file or directory in C:\Apachefriends\xampp\htdocs\xTPattern\textpattern\xpoll\admin\add.php on line 212
>
> Warning: main() [function.include]: Failed opening ‘../config.php’ for inclusion (include_path=’.;c:\Apachefriends\xampp\php\pear\’) in C:\Apachefriends\xampp\htdocs\xTPattern\textpattern\xpoll\admin\add.php on line 212
>
> Error: A Poll with that title already exists!

It looks, the poll is trying to create twice. I have TextPattern 4.0.2 (r1076) (Czech distribution).
Yes, and it’ll be great, if in new versin you would be able to edit number of votes on each option.

Last edited by -M&N- (2005-12-17 12:41:17)

Offline

Board footer

Powered by FluxBB