0
Welcome Guest! Login
0 items Join Now

Our Valentine's Day Sale is coming to an end, but it's not too late to save big! It's your last chance to save 50% on themes and 35% on memberships!
motionmailapp.com

Adding more Vote blocks - need help.

    • Jordan's Avatar
    • Jordan
    • Elite Rocketeer
    • Posts: 613
    • Thanks: 0

    Adding more Vote blocks - need help.

    Posted 13 years 9 months ago
    • Well I tried adding some extra blocks for content voting but now if I vote, it will go to a page with no content and it didnt vote.

      The only things I changed is:
      for ($i=$row->rating; $i < 5; $i++) {
      $img .= $starImageOff;
      to
      for ($i=$row->rating; $i < 10; $i++) {
      $img .= $starImageOff;
      (This increases the vote blocks on the frontpage (results)

      And this:
      $html .= '<input type="radio" alt="vote 1 star" name="user_rating" value="1" />';
      $html .= '<input type="radio" alt="vote 2 star" name="user_rating" value="2" />';
      $html .= '<input type="radio" alt="vote 3 star" name="user_rating" value="3" />';
      $html .= '<input type="radio" alt="vote 4 star" name="user_rating" value="4" />';
      $html .= '<input type="radio" alt="vote 5 star" name="user_rating" value="5" checked="checked" />';
      to
      $html .= '<input type="radio" alt="vote 1 star" name="user_rating" value="1" />';
      $html .= '<input type="radio" alt="vote 2 star" name="user_rating" value="2" />';
      $html .= '<input type="radio" alt="vote 3 star" name="user_rating" value="3" />';
      $html .= '<input type="radio" alt="vote 4 star" name="user_rating" value="4" />';
      $html .= '<input type="radio" alt="vote 5 star" name="user_rating" value="5" />';
      $html .= '<input type="radio" alt="vote 6 star" name="user_rating" value="6" />';
      $html .= '<input type="radio" alt="vote 7 star" name="user_rating" value="7" />';
      $html .= '<input type="radio" alt="vote 8 star" name="user_rating" value="8" />';
      $html .= '<input type="radio" alt="vote 9 star" name="user_rating" value="9" />';
      $html .= '<input type="radio" alt="vote 10 star" name="user_rating" value="10" checked="checked" />';

      What am I doing wrong or am I missing something..
    • Last Edit: 13 years 9 months ago by .
    • Jordan's Avatar
    • Jordan
    • Elite Rocketeer
    • Posts: 613
    • Thanks: 0

    Re: Adding more Vote blocks - need help.

    Posted 13 years 9 months ago
    • thanks..... :(

Time to create page: 0.059 seconds