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

Recent

Welcome to TinyPortal. Please login or sign up.

March 29, 2024, 06:05:18 AM

Login with username, password and session length
Members
Stats
  • Total Posts: 195,106
  • Total Topics: 21,213
  • Online today: 358
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 1
  • Guests: 261
  • Total: 262
  • lurkalot

wp-polls

Started by jp, August 17, 2006, 11:49:33 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Crip

This is a Wordpress Poll pug-in,
if someone good with code can get this working it would be a
real nice [phpbox poll snippet]..I looked at it but noway for me..
I wouldn't know where to start..lol..
heres a demo of it working: Poll it's on the rightside panel..

I will attach the zip and the readme.html which is also in the zip .. if we get this working on TP and our poll issues will be over. :) .. give it a try..I double dog dare ya.  >:D

crip

I have become comfortably numb!

Cripzone | Crip's Free 2.0.2 Themes



IchBin

After taking a short look at it, I think it may be pretty difficult. Well, it would for me anyway. It stores all the data in the wordpress tables in the database. So you have to convert it to work on TP/SMF adding the necessary tables. It could be done, but nothing I have time to explore right now.

SOcRatEs

You might like this one.
Demo



Right click this link and save for modded version


Original files Zip files

Crip

Is it a Poll or a questionnaire?
I have become comfortably numb!

Cripzone | Crip's Free 2.0.2 Themes



SOcRatEs

It has the potential as quiz, survey or a questionaire, very flexible,
no data base stuff yet, I'll have that in a day or two.

Crip

I have become comfortably numb!

Cripzone | Crip's Free 2.0.2 Themes



akulion

hey u know the guys down at mkportal got SMF polls to work perfectly with mkp

u can select which poll from a drop down list in the mkportal admin panel

maybe someone should ask them down there and they could help out?

just a suggestion


SOcRatEs

#7
OK!! not my script just my creative use of it.. :P
Got some thing that works just like your link crip.
Demo on right side
I just discovered, this script only allows for one polling question. :(

User install level= intermediate
During install, you should be able to intergrate poll into existing SMF database by using the db info.
It uses PHP & mySql and will create the need tables. I uploaded files to server, created a database, and browsed to install.php.
Then followed instructions to create the poll. I created a php block, SMF/TP admin panel, on right side and pasted only part of the code
generated by poll script.
example:
<div class="" style="position:relative; float:left; border:px solid #;
background:#; padding:4px; font-family:'css'; color:#;" align="left" valign="top">
<?php
if (!isset($_COOKIE['voted1'])){
include(
'poll_entry1.inc.php'); }
else {
include(
'poll_results1.inc.php'); }
?>

</div>


What I copy/pasted into PHP right side block:
if (!isset($_COOKIE['voted1'])){
include('poll_entry1.inc.php'); }
else {
include('poll_results1.inc.php'); }

One thing missing from instruction was how to create new polls, browsing to create.php re-starts it.

softcore

Hi, would be possible to someone re-upload this script for us?

I found this thread searching at "Block Code Snippets Index" topic.