68 Classifieds Forums
Go Back   68 Classifieds Forums > v3.1.x Help & Support > v3.1 Suggestions and Feedback > Voting Poll
v3.1 Suggestions and Feedback Please use this forum to post feedback and suggestions for v3.1

 
Thread Tools Display Modes
(#1)
Old
Scooter Scooter is offline
Member
Scooter is on a distinguished road
 
Posts: 70
Join Date: Jun 2006
Location: Houston, Texas
Send a message via Yahoo to Scooter
Default Voting Poll - 08-14-2006, 01:45 PM

Is there any way to implement a vote poll without having to use a 3rd party? I am currently using Bravenet's poll, but it keeps throwing pop-ups on the page and I don't like that. The company that I use to host my domain has some scripts that I can create and modify for the site, but they don't work with 68 classifieds (or at least I haven't figured it out yet). Does anyone have any thoughts or ideas?

Thanks.


Kevin
V3.1.5b - Developer Edition
Reply With Quote
(#2)
Old
Lhotch Lhotch is offline
Moderator
Lhotch has a spectacular aura about
 
Posts: 1,471
Join Date: Mar 2006
Default 08-14-2006, 03:14 PM

There isnt anything built in so you will have to implement a 3rd party peice of software. What is the name of the polls your host has available to you? Chances are they require you to insert php or javascrip code into your site to get it to work. This generally isnt a problem but you have to escape the code so that smarty doesnt process it.
Reply With Quote
(#3)
Old
Scooter Scooter is offline
Member
Scooter is on a distinguished road
 
Posts: 70
Join Date: Jun 2006
Location: Houston, Texas
Send a message via Yahoo to Scooter
Default 08-14-2006, 05:52 PM

The name of the poll is "vzPoll" by ipowerweb.com. It says it must be inserted onto a page with a php extension. I'm not quite sure how to make it work.


Kevin
V3.1.5b - Developer Edition
Reply With Quote
(#4)
Old
Lhotch Lhotch is offline
Moderator
Lhotch has a spectacular aura about
 
Posts: 1,471
Join Date: Mar 2006
Default 08-14-2006, 06:39 PM

Do the scripts give you a chunck of code and tell you to insert it in the php file? If so you can out it in a template you just need to put the {php} tags around it so smarty doesnt parse it. SOmething like this.....

{php}
code goes here
{/php}
Reply With Quote
(#5)
Old
Scooter Scooter is offline
Member
Scooter is on a distinguished road
 
Posts: 70
Join Date: Jun 2006
Location: Houston, Texas
Send a message via Yahoo to Scooter
Default 08-14-2006, 09:07 PM

I placed {php} and {/php} before and after the code and it still did not work. It actually gave me a "parse" error.

Parse error: parse error, unexpected '<' in /home/cypressr/public_html/templates_c/^default^user^%%29^291^29105299%%layout.tpl.php.ph p on line 176


The code that I'm trying to insert is

<?php @include("http://cypressresale.com/v-web/vzpoll/poll.php");?>


Kevin
V3.1.5b - Developer Edition

Last edited by Scooter : 08-14-2006 at 09:43 PM.
Reply With Quote
(#6)
Old
detrate detrate is offline
Junior Member
detrate is on a distinguished road
 
Posts: 18
Join Date: Jun 2006
Default 08-15-2006, 02:22 AM

Quote:
Originally Posted by Scooter View Post
I placed {php} and {/php} before and after the code and it still did not work. It actually gave me a "parse" error.

Parse error: parse error, unexpected '<' in /home/cypressr/public_html/templates_c/^default^user^%%29^291^29105299%%layout.tpl.php.ph p on line 176


The code that I'm trying to insert is

<?php @include("http://cypressresale.com/v-web/vzpoll/poll.php");?>
no <?php and ?> are needed.

just do


Code:
{php} include("http://cypressresale.com/v-web/vzpoll/poll.php"); {php}
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP version Poll. Lhotch v3.1 Questions & Support 0 10-31-2006 02:07 PM



Powered by vBulletin® Version 3.6.3
Copyright ©2000 - 2007, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com