Results 1 to 13 of 13

Thread: Adv poll
      
   

  1. #1
    Maddog's Avatar
    Maddog is offline Lieutenant Colonel
    Join Date
    May 2005
    Location
    UK
    Posts
    514

    Default 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!

  2. #2
    Pablo is offline Moderator
    Join Date
    May 2005
    Posts
    507

    Default

    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 Specialist

  3. #3
    Maddog's Avatar
    Maddog is offline Lieutenant Colonel
    Join Date
    May 2005
    Location
    UK
    Posts
    514

    Default

    yes it does
    tried this as well, still not luck

    http://proxy2.de/forum/viewtopic.php?t=4736

    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!

  4. #4
    Maddog's Avatar
    Maddog is offline Lieutenant Colonel
    Join Date
    May 2005
    Location
    UK
    Posts
    514

    Default

    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!

  5. #5
    Stroke.nz's Avatar
    Stroke.nz is offline The Man
    Join Date
    May 2005
    Location
    New Zealand
    Posts
    188

    Default

    Lol thats the part I got lost on as well.

  6. #6
    Maddog's Avatar
    Maddog is offline Lieutenant Colonel
    Join Date
    May 2005
    Location
    UK
    Posts
    514

    Default

    ok Pablo "The Great"

    http://www.easttilburyinfantschool.c...ges/test10.php

    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!

  7. #7
    Pablo is offline Moderator
    Join Date
    May 2005
    Posts
    507

    Default

    Can you show me the code you have for test10.php?
    (Copy Page HTML)
    Forum Moderator
    BlueVoda Specialist

  8. #8
    Maddog's Avatar
    Maddog is offline Lieutenant Colonel
    Join Date
    May 2005
    Location
    UK
    Posts
    514

    Default

    <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!

  9. #9
    Pablo is offline Moderator
    Join Date
    May 2005
    Posts
    507

    Default

    Where's the PHP code?
    Forum Moderator
    BlueVoda Specialist

  10. #10
    Maddog's Avatar
    Maddog is offline Lieutenant Colonel
    Join Date
    May 2005
    Location
    UK
    Posts
    514

    Default

    Quote Originally Posted by Pablo
    Where's the PHP code?
    http://www.easttilburyinfantschool.c...sages/poll.php

    <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!

  11. #11
    Maddog's Avatar
    Maddog is offline Lieutenant Colonel
    Join Date
    May 2005
    Location
    UK
    Posts
    514

    Default

    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!

  12. #12
    Pablo is offline Moderator
    Join Date
    May 2005
    Posts
    507

    Default

    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 Specialist

  13. #13
    Maddog's Avatar
    Maddog is offline Lieutenant Colonel
    Join Date
    May 2005
    Location
    UK
    Posts
    514

    Default

    Quote 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

    http://www.easttilburyinfantschool.c...ages/poll.html

    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!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Advance Poll
    By Clay A-kin in forum General Support Issues
    Replies: 12
    Last Post: 08-27-2005, 07:55 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49