WordPress.org

Support

Support » Plugins and Hacks » [Resolved] No Templates and missing yop-poll-admin.js

[Resolved] No Templates and missing yop-poll-admin.js

  • Just downloaded this plugin, looks like it will solve all my problems perfectly; only issue (and it;s a huge one) is that there’s no pre-made templates, and in the admin I receive a JS error stating that yop-poll-admin.js is not found, and upon re-downloading and checking the .zip file, no such file exists or is included in the .zip. Am I missing something?

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

Viewing 15 replies - 1 through 15 (of 24 total)
  • Plugin Author YOP
    Participant

    @yourownprogrammer

    Hey chris3d

    We have just released a fix for the issue you are having.
    Please download the latest version and see if you still have problems.

    Best Regards,
    YOP Team

    The .js file is no longer missing, however I still have no templates. Also missing yop-poll-admin-templates.css. I’m using WP ver 3.5

    Plugin Author YOP
    Participant

    @yourownprogrammer

    Can you uninstall and then do a fresh install?

    Once done please let us know if you still encounter problems.

    Thank you.
    YOP Team

    maddysayz
    Member

    @maddysayz

    Hello Yop,

    Is there a way that i can put yop poll code in my template file. I know i can change the templates from the admin area but what is the code to put it in a template file.

    Please suggest. I don’t want to use it in a widget.

    I am using this but no luck so far. This displays the current poll but it is not functional and it does give multiple errors as well.

    <?php
       $poll_widget=new Yop_Poll_Widget();
    	echo $poll_widget->widget();
    ?>

    Regards,

    Maddy

    Plugin Author YOP
    Participant

    @yourownprogrammer

    Hey maddysayz

    If you want to put the poll code in your template file, please use the code below:

    <?php return_yop_poll( $poll_id ); ?>

    You need to replace $poll_id with the id of the poll you want displayed.

    Also, we have some predefined ids:

    <?php return_yop_poll( -1 ); ?> – will display current poll
    <?php return_yop_poll( -2 ); ?> – will display last poll
    <?php return_yop_poll( -3 ); ?> – will display a random poll from your poll list

    Please let us know if you have any other questions.

    Best Regards
    YOP Team

    maddysayz
    Member

    @maddysayz

    Thank a million guys.
    That did it.

    Regards,

    Maddy

    Plugin Author YOP
    Participant

    @yourownprogrammer

    Glad to hear this Maddy.

    Best Regards
    YOP Team

    Regarding my original post, we finally ended up installing on a fresh install, and it worked perfectly (all templates displayed in admin). We believe this has something to do with the Bulletproof WP Security plugin, however we’re not sure. Anyways, thanks for the amazingly quick responses and for this great plugin. Resolving issue.

    chodorowicz
    Member

    @chodorowicz

    I’ve installed the newest version (3.2) and have no templates.

    Plugin Author YOP
    Participant

    @yourownprogrammer

    Hello

    Can you tell us if you are using Bulletproof WP security plugin?

    Best Regards,
    YOP Team

    chodorowicz
    Member

    @chodorowicz

    I’m doing fresh install on a site without any other plugins and Twenty Twelve theme. Templates list is empty – http://cl.ly/image/0v3E2z0B2A2a
    This list should have some default templates, yeah? Thanks

    Forest Skills
    Member

    @forest-skills

    There are supposed to be templates?? Not on my fresh install this morning. I’m using a security plugin as well; did these filter them out??

    Plugin Author YOP
    Participant

    @yourownprogrammer

    Hello

    We have just released a new release of YOP Poll.

    Can you do a fresh install of the new release?

    Please let us know if you still have issues.

    Thank you.
    Best Regards,
    YOP Team

    Forest Skills
    Member

    @forest-skills

    To YOP;

    Ok. First I updated the plugin but no standard templates became available/visible. Then I deactivated, deleted, found, installed and activated the plugin. Still no templates, but my first poll and attempt at a template were still there (??).

    Looking at the plugin editor, this shows that yop-poll/js/yop-poll-admin-templates.js has a status of “(inactive)”.

    Does this help?

    Chris

    Plugin Author YOP
    Participant

    @yourownprogrammer

    Hey Chris

    Thank you for your feedback.
    Would it be possible to to give us temporary access to your wordpress admin so we can investigate this further?

    If yes, you can email us the details to support{at]yourownprogrammer.com

    Thank you.
    YOP Team

Viewing 15 replies - 1 through 15 (of 24 total)
  • The topic ‘[Resolved] No Templates and missing yop-poll-admin.js’ is closed to new replies.