TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,970
  • Latest: bynw
Stats
  • Total Posts: 196,058
  • Total Topics: 21,338
  • Online today: 201
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 119
  • Total: 119

Poll block

Started by topsecret, April 18, 2006, 12:59:27 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

technodragon73

Quote from: crip on April 27, 2006, 10:10:50 PM
Now this site also has a decent php poll, which may work like ya'll want it to:



Advanced Poll 2.0.4
Advanced Poll is a polling system with powerful administration tool. It features: multiple polls, templates, unlimited options, multi-language support, IP-Logging, IP-Locking, cookie support, comment feature, vote expire feature, random poll support and more. Supports textfile and mySQL database.

Demo



so where do i get it?

G6Cad

Follow the links on the DEMO site ;)

http://proxy2.de/poll/index.php

Look to the left

technodragon73

Quote from: G6 on April 27, 2006, 10:48:46 PM
Follow the links on the DEMO site ;)

http://proxy2.de/poll/index.php

Look to the left

LOL...i found it while i was waiting for your reply...i'll give this a shot later today and let you know how it worked!

Crip

i figured ya'll go to the home page..Lmao.. ;D
I have become comfortably numb!

Cripzone | Crip's Free 2.0.2 Themes



technodragon73

Ok...I give up...the first poll wouldn't stay in the forum...the new one just outright refuses to cooperate with smf/tp

Forget it...i'm done! >:(

Crip

Found another Poll script if you don't mind .CGI / perl ..?

see it here:
http://www.fuzzymonkey.net/software/poll/


I have a zip with everything in it )

Give it a try. ;)
I have become comfortably numb!

Cripzone | Crip's Free 2.0.2 Themes



Deacon

I downloaded it, but is the zip file you have further refined from the zip I got from them?

Deacon

Omniverse

The advance poll one will work fine in a block.

You just need to create php file with the poll you want shown (using the code snippet it gives you), then in a php block, call that file in an iframe.

Works fine for me :)

technodragon73

Quote from: Omniverse on April 29, 2006, 01:51:54 AM
The advance poll one will work fine in a block.

You just need to create php file with the poll you want shown (using the code snippet it gives you), then in a php block, call that file in an iframe.

Works fine for me :)

Could you show me an example of the php file?

Omniverse

#29
Just something like this, I havent really played with it much yet to pretty up the template to match my site yet.. but this would be all ya need for a php file. I named mine poll5.php, after the poll id i was showing.



<?php
// Important! You have to include it before your html code
include_once "/path/to/your/polls/poll_cookie.php";
?>

<html>
<body bgcolor="#000000" link="#E6F101" vlink="#E6F101" alink="#E6F101">
<div align="center">
<?php
include_once "/path/to/your/polls/booth.php";
echo
$php_poll->poll_process(5);

?>
</div>
</body>
</html>



Then, in a php block, something like:



echo '<iframe src="http://www.path/to/your/poll5.php" height="350" width="100%" Scrolling="No" align="texttop"></iframe>';





*edit*Forgot to mention, dont think it would matter so long as the paths are correct, but I dropped the file in the folder where I installed advanced poll.

This website is proudly hosted on Crocweb Cloud Website Hosting.