WordPress.org

Ready to get started?Download WordPress

Forums

YOP Poll
[resolved] is there any way i can get each user's response to each question? (19 posts)

  1. sumitrathore18g
    Member
    Posted 10 months ago #

    hi...

    i want that admin of the site should also have information that which user answer what to which question. it means every single response should be available to admin.

    Thanks

    http://wordpress.org/plugins/yop-poll/

  2. YOP
    Member
    Plugin Author

    Posted 10 months ago #

    Hi sumitrathore18g,

    You have that information available in your Logs. You can export the data and process it in an excel file.

    If you want to see a specific user's votes, you can use the search option located option in the upper right corner. Type in his username or email address and click on "Search Poll Logs".

    Regards,

    YOP Team

  3. sumitrathore18g
    Member
    Posted 10 months ago #

    Hi YourOwnProgrammer,

    Thanks for your reply. Yes that information is available in logs. First your plugin has every thing that i need but i want that the result should be more visually effective like having pie chart or bar graph with percentage of votes. Can you mention how i can achieve this? If it is not possible with current version then tell me the file name in which i can make some changes(following tutorial from internet to make pie chart and all that stuff) to achieve what i want. My boss want this visual effectiveness and to be honest i don't want to change the plugin just for that. So see if you can help me with this.

    Thanks and Regards

    Sumitrathore18g

  4. YOP
    Member
    Plugin Author

    Posted 10 months ago #

    Hey Sumitrathore18g,

    The current version of the plugin does not include these options.

    If you want the charts to be displayed when your users click on "Results" you can edit yop_poll_model.php and modify these 2 functions:

    return_poll_html and answer_result_replace_callback

    Another option would be to export the information in an excel file then create charts and graphs.

    Best wishes,

    YOP Team

  5. sumitrathore18g
    Member
    Posted 10 months ago #

    Hi,

    Is there a multiple answers option in this plugin? Just in case any body want to answer more than one answer.

    Thanks

  6. YOP
    Member
    Plugin Author

    Posted 10 months ago #

    Hi sumitrathore18g,

    Edit your poll and in the "Answers" section click on "Answers Advanced Options".

    Set "Allow Multiple Answers" to "Yes" and set a maximum and minimum number of allowed answers then save the changes.

    Regards,

    YOP Team

  7. sumitrathore18g
    Member
    Posted 10 months ago #

    Hi,

    For showing polls i need to add the shortcode to the page. But by this way if i have say 100 polls so they all are going to be visible on one page only. And if i create more pages then it is bad to create so many pages just for poll. So is there a way so that i can limit the no of polls per page and the remaining polls should be visible on the same page (replacing previous polls ) by either clicking a button or a link provide at the end of page.

    Thanks

  8. sumitrathore18g
    Member
    Posted 10 months ago #

    Hi,

    My problems are not getting solved. Now is there any way that when i allow multiple answer it will show checkboxes and when i allow only single answer it will show radio buttons.

    And how can i view the custom field value for each user from dashboard.

    Thanks

  9. sumitrathore18g
    Member
    Posted 10 months ago #

    Hi,

    If any of the functionality is not there so please guide me how can i achieve that.

    Thanks

  10. sumitrathore18g
    Member
    Posted 10 months ago #

    Hi,

    I found the answer of my last post(checkbox and custom field). Sorry to bother you. Next time i will make sure to check everything then post any query. But i am still not able to solve how to limit no of polls in the page.

    Thanks

  11. YOP
    Member
    Plugin Author

    Posted 10 months ago #

    Hi sumitrathore18g,

    From the main YOP Poll menu, go to Options and in the Archive Options section you have Archive Polls Per Page: which is set by default to 5. You can change this number with any value you want.

    Then edit every poll and in Archive Options you have several settings:

    Show Poll In Archive: if you set it to "Yes" then the poll will be displayed on your archive page; set it to "No" it it will not be visible in the archive.

    Archive Order: the value you set here determines the poll's position in the archive.

    After you make these setting you have o create a new page on your website and add [yop_poll_archive] to it. That's where the archive will be displayed.

  12. sumitrathore18g
    Member
    Posted 10 months ago #

    Hi YourOwnProgrammer,

    I follow your last post. Now i am able to limit the number of polls per page but now the problem is whenever i click on the next link it forward me to same page. It means if i allow 3 polls per page then i am able to see only these 3 polls even after clicking on next link or page no 2. Remaining polls are there but that given link does not forward me to remaining polls.
    So help me. This is my last task in this poll. After that my task will be over.

    Thanks and Regards

  13. YOP
    Member
    Plugin Author

    Posted 10 months ago #

    Hey sumitrathore18g,

    Please send us a link to the archive page.

    Regards,

    YOP Team

  14. sumitrathore18g
    Member
    Posted 10 months ago #

    Hi YourOwnProgrammer ,

    Actually the website is on LAN. It is accessible only within LAN. So i can't give you the link and even if i give you will not be able to access it.

    So any other solution?

    Thanks

  15. sumitrathore18g
    Member
    Posted 10 months ago #

    Hi,

    I try to uninstall the plugin completely(including database tables) and then install it from the start. But what happen that whenever i install it, there are no templates. I remove it again then logout from the dashboard and again login and install it but no help.

    All the tables get created but template table is empty. What to do?

    Please help.

    Thanks

  16. YOP
    Member
    Plugin Author

    Posted 10 months ago #

    Hey sumitrathore18g,

    Please create a new template and, except for the name, leave it empty and save.

    Then edit the template you've just created and in the "Tools" section, choose a template for reset and click on "Reset Poll Template"

    Best wishes,

    YOP Team

  17. sumitrathore18g
    Member
    Posted 10 months ago #

    Hi YourOwnProgrammer,

    Thanks for helping me in loss of templates matter. But that archive part is still not solved. I re-install the plugin but still same thing happen(click on the next link it forward me to same page).

    Ok what i did in options section, i set Archive Polls Per Page to 3.
    I create 4 polls with following Archive options:

    View Poll Archive Link :Yes(same for all polls)
    View Poll Archive Link Label:View Poll Archive(same for all polls)
    Poll Archive Url:http://10.111.44.91/wordpress/?page_id=243(same for all polls)
    Show Poll In Archive : Yes (same for all polls)
    Archive Order:4(1,2,3 for first three polls)

    After creating the last poll the page show "1 2 Next" label but clicking on 2 or Next redirect me to same page where only first 3 polls are present.

    Is there any possibilities that selected theme causing this issue. I am using Theme Estate.

    See if you find any mistake in what i am doing.

    Thanks and Regards

  18. sumitrathore18g
    Member
    Posted 9 months ago #

    Hi YourOwnProgrammer,

    In the file public-admin.php

    public function yop_poll_archive_shortcode_function() {
    $template = '';
    $yop_poll_page = 1;
    $big = 99999;
    if ( isset( $_REQUEST['yop_poll_page'] ) )
    $yop_poll_page = $_REQUEST['yop_poll_page'];

    after this code i add "echo $yop_poll_page". Now when i click on link "2" it shows 1 as output. So after that i add echo"Hi" in if statement to see whether $_REQUEST['yop_poll_page'] is getting any value or not and when i refresh the page or navigate between pages there is no "Hi".

    So that means "isset( $_REQUEST['yop_poll_page']" is false every time. Thats why $yop_poll_page is getting 1 each time. No matter which link i click.

    Now can you help me in this matter? Do you have any idea?
    If you do not have any idea then atleast reply that you can't help me with this, so that i can look for some other options.

    Thanks and Regards

    sumitrathore18g

  19. sumitrathore18g
    Member
    Posted 9 months ago #

    Hi YourOwnProgrammer,

    Your code works fine all i do is replace 'format' => '?yop_poll_page=%#%' with 'format' => '&yop_poll_page=%#%'

    in the file public-admin.php in function
    public function yop_poll_archive_shortcode_function().

    Your plugin is great. It solves all my problems. Thanks fro your help and support.

    Thanks and Regards
    sumitrathore18g

Reply

You must log in to post.

About this Plugin

About this Topic

Tags