PDA


View Full Version : Including 3rd party Poll


paul41598
07-11-2005, 05:10 PM
Ive always used a 3rd party type php poll script, when I had my UBB classic software. So Im almost done setting up vb, and vbadvanced. I dont like or want to use the current polling system module it comes with.

Ive tried setting up a new module (php), but I cant get it to work. I get a bunch of errors.

In my php file I put just this

<?php require '/home/cmich/public_html/poll/booth.php'; display_booth(42); ?>

paul41598
07-18-2005, 04:11 PM
wanted to bring back up top to see if there was & still is a solution or not

Brian
07-19-2005, 04:06 PM
Sounds like you've got some variables in the poll script that are conflicting with the MySQL info for vB. About the best I can suggest would be to change the mysql_query() functions in your poll script to use $DB_site->query instead.

paul41598
07-31-2005, 11:14 AM
Did that, but still get something like this:
Fatal error: Call to a member function on a non-object in /home/cmich/public_html/poll/common.php on line 270

dunno