• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Anonymous Polls - How do?

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello guys,

a simple question:

Within the administration it's possible to enable "voting on pools" for anonymous. In detail I added an "anonymous" group and mapped the "anonymous" user to this group.

My question or problem is even though I have enabled voting for anonymous user it's not possible.

How can I make anonymous questionaries or polls??

So how can I make a poll for anonymous user where every anynomous user can just vote one time (checked through IP address)?

Add on: I have seen in the database that also the IP address of the poll-voter will be stored. So actually it should work.

Thank you!!!

chris
[originally posted on jforum.net by chandler]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hm, we should check it. But even for IP checking it is very flawed, as a lot of users may be behind from the same proxy.

How do you suggest it should work?

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey Rafael,

it would be already fine if anonymous voting on polls would work. If it works with or without IP is not that important.

But I had a look on the database and the IP address is already stored. So you have just the validate the IP address instead of the user_id. It's just another query.

My problem is that I am not very fit with Java programming, so it's difficult for me doing some changes.

What I have found out too:

I have changed the file post_show.html within the template/default folder. In this file, as you know I guess, is already the html for the poll and the IF Query --> if the user is allowed to vote and so on. How ever, actually I had the anonymous user within the General group, and the general group had the rights for voting on polls. But it didn't work for anonymous user. So I deleted the IF query within this file and I had the voting possibility and the results. But now the problem was that I (anonymous user) was able to vote but the jforum did't store it.

Next step would be to change the class or file Where the poll-votings will be stored, but which file is it?

Maybe you have a solution, thank you!

Best regards,

chris
[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please register this at http://www.jforum.net/jira

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Rafael,
Getting back to the initial question, is it possible to let anonymous posters vote in polls, *but not post*, in JForum?
Many thanks,
Rav
[originally posted on jforum.net by Rav]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No, sorry.

You can request this feature in Jira.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Talk sense to a fool and he calls you foolish. -Euripides A foolish tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic