If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
How To Install Advanced Poll  XML
Forum Index » Support Forum
Author Message
Anonymous



I am using my name to make it simple.

All Letters are case sensitive !!!

===========================================

You must first Create Database in MySQL

Go to http://www.my domainname.com/cpanel

Find area to add MySQL Database.
-------------------------------------------

1. Hit "Add Db" -- Call it "myPoll". MySQL will name it "thune_mypoll" for the database name.

2. Hit "Add User" (below) The name entered was "bobt", password "gray"
A. It will create a user.... "thune_bobt" (that has a password "gray")

3. Now put "thune_bobt" and "thune_mypoll" in dropdown boxes (above).
A. Hit Add user to Db

B. This Will tie the user "thune_bobt" to the new database "thune_mypoll".

===================================================================


3. Download Pollphp.zip, and unzip

4. Use the "DB" folder only. (throw the other one away).

a. Rename the "DB" folder to "Poll" (Copy it, if it will not rename).

b. Now go to the "Include" folder in folder "Poll".

c. Open up "'config.inc.php" in Windows "Word" word processor

1. Change $POLLDB["dbName"] = "thune_mypoll";
2. Leave Alone $POLLDB["host"] = "localhost"; [do not change]
3. Change $POLLDB["user"] = "thune_bobt";
4. Change $POLLDB["pass"] = "gray";

D. Save Document.

5. Upload whole "poll" folder to public.html in your FTP account.

6. Tree should be: \public.html\poll.

5. Now access the program in your browser with 'http://www.mydomainname.com/poll/install.php'


6. When it fires up, follow instructions.

===================================================================

If you get an error, delete database and name and start over.

Be sure you get the letters typed in perfectly, and the letter case correct.

Worked for me, after doing one complete delete as just described.
Anonymous



I know this is old hat for most of you but I see a lot of posts of people struggling with this program like myself. So here's what else I've stumbled through.

After you do get it installed here is the link to administer it.

http://www.yourdomainname.com/Poll/admin/index.php

"Poll" if you did rename the "DB" folder.

Remember, all letters are case sensitive.

That is where it will ask for your name and password from the last step.

Now I am going to struggle to get a poll made and running....

Bob
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4289
Location: Bristol, UK
Offline

Thank you for this. I will make it sticky but believe me you will still get people posting that they cannot do it.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Arctikrage
Newbie

Joined: 29/07/2005 20:50:05
Messages: 1
Offline

This was great, it got my brain thinking. I used somethign called Fantastico to install the poll, and then Im sitting here... *starring*. So eventually I sifted through the forum, and found all my answers, this post helped alot. Now my visitors will be happy...

*ty*
[WWW]
Anonymous



My webhost, liquidweb, uses Fantastico to auto-install Advanced Poll.

I've installed twice.

My test page: http://www.kcup.net/index4.html

I made a simple poll "What is your favorite color?" with 4 color options.
All that shows on the sample page is:

poll_process(4); ?>

When I Preview the poll in Admin, I see it perfectly.

What am I doing wrong? I do have the code above the HTML.

karine

edit; search the forum' or start your own thread. if it DOES concern the install instructions/guide then post here.
Anonymous



I used fantastico and I get the same error too

poll_process(4); ?>
Auron
Expert
[Avatar]

Joined: 23/06/2003 22:02:17
Messages: 1053
Offline

change page extension to .php

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
Anonymous



i want to upgrade from 2.02 to this new version
Anonymous



hi all,
how can i set such that, a member can post only one vote and if he posts another he should get "Already Voted"
Is there a way in General Settings
Anonymous



Just thought I'd add my own pointers to this compendium of tips and tutorials. Sticky post, most appropriate spot right?

The snippet of code that the admin dialogue provides, is the easiest way to get the poll on your site. Thus, to display your latest poll:


In your head. And:


In your body.

But what if you'd like to style your poll beyond the default (the default btw, is the one w/ multi-coloured bars)? I toyed w/ snagging excerpts from the demos and came up with this:



Which will style your poll by the "simple" template w/ the single colour bars.


This:


Will style your poll by the "popup" template.

And this:



The default, plain and simple templates can be modified w/ these lines inserted right after the template set line:



And for the record? Fantastico is a BAD idea. Use Thune's instructions, or follow one of the various tutorials that're linked around here and do an install on your own.

Next? Figuring out how to display the pie graph for results while using the booth.php include.
kevinc
Newbie

Joined: 12/10/2005 15:47:58
Messages: 3
Location: Cambridge, England
Offline

This poll program is great. I've got it installed and have created a few polls that look great.

I'm running my site on WordPress, and wonder if anyone can confirm which files I need to put the header code into? I tried my wp-content/theme/header.php but it didn't like that.

cheers,
Kevin

http://FirstPersonShow.net

"celebrating the uncelebrated"
free short audio interviews of
regular people plus the best
songs on the internet
[WWW]
kevinc
Newbie

Joined: 12/10/2005 15:47:58
Messages: 3
Location: Cambridge, England
Offline

<b>Warning</b>: main(./poll_cookie.php): failed to open stream: No such file or directory in /hsphere/local/home/kc/firstpersonshow.net/beta1/wp-content/themes/journalized-blue/header.php
on line Warning: main(./poll_cookie.php): failed to open stream:
No such file or directory in /hsphere/local/home/kc/firstpersonshow.net/beta1/wp-content/themes/journalized-blue/header.php
on line 16
Warning: main(): Failed opening './poll_cookie.php' for inclusion (include_path='.:/usr/local/lib/php') in /hsphere/local/home/kc/firstpersonshow.net/beta1/wp-content/themes/journalized-blue/header.php on line 16

You can see it at http://FirstPersonShow.net/beta1/

http://FirstPersonShow.net

"celebrating the uncelebrated"
free short audio interviews of
regular people plus the best
songs on the internet
[WWW]
c_house
Beginner

Joined: 28/10/2005 01:23:23
Messages: 6
Offline

how do i fix this guys it comes up above my poll:

Warning: main(./poll_cookie.php): failed to open stream: No such file or directory in /var/www/html/Untitled-2.php on line 4

Warning: main(): Failed opening './poll_cookie.php' for inclusion (include_path='.:/php/includes:/usr/share/php') in /var/www/html/Untitled-2.php on line 4
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4289
Location: Bristol, UK
Offline

I think main(./poll_cookie.php): failed to open stream: No such file or directory explains it simply enough. Check the path you put in the include call.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
kevinc
Newbie

Joined: 12/10/2005 15:47:58
Messages: 3
Location: Cambridge, England
Offline

thanks, you're right.

put full path in and now it works great. thanks for the help

-Kevin

http://FirstPersonShow.net

"celebrating the uncelebrated"
free short audio interviews of
regular people plus the best
songs on the internet
[WWW]
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum