WordPress.org

Support

Support » Plugins and Hacks » WP-Polls » [Resolved] [Plugin: WP-Polls] Change question text length!?

[Resolved] [Plugin: WP-Polls] Change question text length!?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Lester Chan

    @gamerz

    It should work, did u edit the mysql table first then the input box?

    in wp-polls.php changed VARCHAR(200) to TEXT

    $create_table['pollsa'] = "CREATE TABLE $wpdb->pollsa (".
    									"polla_aid int(10) NOT NULL auto_increment,".
    									"polla_qid int(10) NOT NULL default '0',".
    									"polla_answers TEXT character set utf8 NOT NULL default '',".
    									"polla_votes int(10) NOT NULL default '0',".
    									"PRIMARY KEY (polla_aid)) $charset_collate;";

    and deleted maxlength=\"200\" in polls-add.php and polls-manager.php

    Did I do something wrong?

    Plugin Author Lester Chan

    @gamerz

    You have already created the tables, you need to use phpmyadmin, go to wp_pollsa and edit the polla_answers to TEXT.

    Got it working! Thank you for your time

    Didn’t understand what was meant with “change the database table”

    Installed “Portable phpMyAdmin” plugin and made changes

    resolved!

    Hi! I have a similar problem here: http://giovaniarchitettibologna.org/wordpress/?page_id=396

    In the sidebar, I would like both the “question” and the “answers” to have a width: 280px. I managed to change the width of the “asnswers” by modifing the wp-polls/polls-css.css with:
    .wp-polls ul li, .wp-polls-ul li, .wp-polls-ans ul li {
    font-family: “Myriad Pro”, Tahoma, Geneva, sans-serif;
    text-align: left;
    width:280px;
    background-image: none;
    display: block;
    but the “question” still doesn’t get my font and widht.

    Any suggestion? Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] [Plugin: WP-Polls] Change question text length!?’ is closed to new replies.
Skip to toolbar