Adv poll

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Maddog
    Lieutenant Colonel

    • May 2005
    • 514

    Adv poll

    Hi, question for the Great Pablo

    trying to get the adv poll to work in BV ( from fantastico)

    but get the poll to work, they to place this in the "body" ( tried in HTML BOX and in body)

    all you get is
    poll_process(4);

    Displayed

    <?php
    include_once "http://www.easttilburyinfantschool.com/booth.php";
    echo$php_poll->poll_process(4);
    ?>


    there is 2 of us trying to work this out

    Thanks
    www.bluevodaexchangelink.com
    BluevodaExchangeLink Help Center
    Bluevodaexchangelink Forum

    The only place for bluevoda site to be linked with!
  • Pablo
    Moderator

    • May 2005
    • 507

    #2
    Does your code have a space between after the echo command?

    <?php
    include_once "http://www.easttilburyinfantschool.com/booth.php";
    echo $php_poll->poll_process(4);
    ?>
    Forum Moderator
    BlueVoda Spe******t

    Comment

    • Maddog
      Lieutenant Colonel

      • May 2005
      • 514

      #3
      yes it does
      tried this as well, still not luck



      are we doing something wrong to start the php file?
      www.bluevodaexchangelink.com
      BluevodaExchangeLink Help Center
      Bluevodaexchangelink Forum

      The only place for bluevoda site to be linked with!

      Comment

      • Maddog
        Lieutenant Colonel

        • May 2005
        • 514

        #4
        did not action

        1) Add this to your .htaccess file

        AddType application/x-httpd-php .php .html
        or
        AddType application/x-httpd-php .php .htm
        (if you use htm extension)


        or do we?
        www.bluevodaexchangelink.com
        BluevodaExchangeLink Help Center
        Bluevodaexchangelink Forum

        The only place for bluevoda site to be linked with!

        Comment

        • Stroke.nz
          The Man

          • May 2005
          • 188

          #5
          Lol thats the part I got lost on as well.
          Dave Hickey

          www.youngstroke.org.nz

          www.eko.co.nz

          Comment

          • Maddog
            Lieutenant Colonel

            • May 2005
            • 514

            #6
            ok Pablo "The Great"



            I have now got this far, but full of errors
            www.bluevodaexchangelink.com
            BluevodaExchangeLink Help Center
            Bluevodaexchangelink Forum

            The only place for bluevoda site to be linked with!

            Comment

            • Pablo
              Moderator

              • May 2005
              • 507

              #7
              Can you show me the code you have for test10.php?
              (Copy Page HTML)
              Forum Moderator
              BlueVoda Spe******t

              Comment

              • Maddog
                Lieutenant Colonel

                • May 2005
                • 514

                #8
                <html>
                <head>
                <title>Advanced Poll</title>
                </head>
                <body bgcolor="#3A6EA5">
                <table width="100%" border="0" cellspacing="0" cellpadding="0" height="350" align="center">
                <tr>
                <td align="center"><table width="170" border="0" cellspacing="0" cellpadding="1" bgcolor="#666699">
                <tr align="center">
                <td>
                <style type="text/css">
                <!--
                .input { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt}
                -->
                </style>
                <font face="Verdana, Arial, Helvetica, sans-serif" size="-1" color="#FFFFFF"><b>easttilburyinfantschool.com</b></font></td>
                </tr>
                <tr align="center">
                <td>
                <table width="100%" border="0" cellspacing="0" cellpadding="2" align="center" bgcolor="#FFFFFF">
                <tr>
                <td height="40" valign="middle"><font face="Verdana, Arial, Helvetica, sans-serif" color="#000000" size="1"><b>numbers</b></font></td>
                </tr>
                <tr align="right" valign="top">
                <td>
                <form method="post" onsubmit="return false;" action="#">
                <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
                <tr valign="top" align="center">
                <td>
                <table width="100%" border="0" cellspacing="0" cellpadding="1" align="center">
                <tr>
                <td width="15%"><input type="radio" name="option_id" value="1"></td>
                <td width="85%"><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#000000">1</font></td>
                </tr>
                <tr>
                <td width="15%"><input type="radio" name="option_id" value="2"></td>
                <td width="85%"><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#000000">2</font></td>
                </tr>
                <tr>
                <td width="15%"><input type="radio" name="option_id" value="3"></td>
                <td width="85%"><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#000000">3</font></td>
                </tr>
                </table>
                <input type="hidden" name="action" value="vote">
                <input type="hidden" name="poll_ident" value="4">
                <input type="submit" value="Vote" class="input">
                <br>
                <br>
                <font face="Verdana, Arial, Helvetica, sans-serif" color="#000000" size="1"><a href="#?action=results&amp;poll_ident=4">View results</a></font>
                </td>
                </tr>
                </table>
                </form>
                <font face="Verdana, Arial, Helvetica, sans-serif" size="1"><a href="http://www.proxy2.de" target="_blank" title="Advanced Poll">Version 2.03</a></font>
                </td>
                </tr>
                </table>
                </td>
                </tr>
                </table>
                </td>
                </tr>
                </table>
                <br>
                <br>
                </body>
                </html>
                www.bluevodaexchangelink.com
                BluevodaExchangeLink Help Center
                Bluevodaexchangelink Forum

                The only place for bluevoda site to be linked with!

                Comment

                • Pablo
                  Moderator

                  • May 2005
                  • 507

                  #9
                  Where's the PHP code?
                  Forum Moderator
                  BlueVoda Spe******t

                  Comment

                  • Maddog
                    Lieutenant Colonel

                    • May 2005
                    • 514

                    #10
                    Originally posted by Pablo
                    Where's the PHP code?


                    <HTML>
                    <HEAD>
                    <TITLE>Untitled Page</TITLE>
                    <META NAME="Generator" CONTENT="Created by BlueVoda">
                    <?php
                    // Important! You have to include it before your html code
                    include_once "/home/easttilb/public_html/poll/poll_cookie.php";
                    ?>


                    </HEAD>
                    <BODY bgcolor="#FFFFFF" text="#000000">
                    <DIV style="overflow:hidden; position:absolute; left:182px; top:143px; width:404px; height:321px; z-index:0" align="left" align="top">
                    <html>
                    <body>
                    <?php
                    include_once "/home/easttilb/public_html/poll/booth.php";
                    echo $php_poll->poll_process(4);
                    ?>
                    </body>
                    </html>
                    </DIV>
                    </BODY>
                    </HTML>

                    sry getting all confused
                    www.bluevodaexchangelink.com
                    BluevodaExchangeLink Help Center
                    Bluevodaexchangelink Forum

                    The only place for bluevoda site to be linked with!

                    Comment

                    • Maddog
                      Lieutenant Colonel

                      • May 2005
                      • 514

                      #11
                      sorted it out to work, as php file, but how to you add to BV other than through iframe or another page, i.e display on one page
                      www.bluevodaexchangelink.com
                      BluevodaExchangeLink Help Center
                      Bluevodaexchangelink Forum

                      The only place for bluevoda site to be linked with!

                      Comment

                      • Pablo
                        Moderator

                        • May 2005
                        • 507

                        #12
                        This doesn't look like valid code to me.
                        A few tips:
                        - Remove the <BODY> and <HTML> tags from your code are generated by BlueVoda.
                        - Do not put the PHP code in the HTML component, but somewhere in the page HTML.
                        Forum Moderator
                        BlueVoda Spe******t

                        Comment

                        • Maddog
                          Lieutenant Colonel

                          • May 2005
                          • 514

                          #13
                          Originally posted by Pablo
                          This doesn't look like valid code to me.
                          A few tips:
                          - Remove the <BODY> and <HTML> tags from your code are generated by BlueVoda.
                          - Do not put the PHP code in the HTML component, but somewhere in the page HTML.

                          Thank You



                          Have got it to work as a pop-up window,

                          tried everything to display inside BV i.e within a page already made, but couldn't work that out
                          www.bluevodaexchangelink.com
                          BluevodaExchangeLink Help Center
                          Bluevodaexchangelink Forum

                          The only place for bluevoda site to be linked with!

                          Comment

                          Working...
                          X