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 
AdvancedPoll setup and operation for dummies  XML
Forum Index » Support Forum
Author Message
Oh_Happy_Day
Beginner

Joined: 23/03/2011 05:34:22
Messages: 5
Offline



I created the database on my server and then installed the program ( v. 3.0.8 ) through Simple Scripts.

What I keep getting is an index page showing small boxes of surveys I never created asking questions about servers.

In the left column is jibberish that appears to be code or something. At the bottom of the page is a link state "Install Advanced Poll."

If you click on it, it takes you to Simple Scripts to install the program.

This message was edited 2 times. Last update was at 31/03/2011 05:45:29

Oh_Happy_Day
Beginner

Joined: 23/03/2011 05:34:22
Messages: 5
Offline

Could use some insight on what I need to do differently.

Server: Ipower
mysql: 5.2
Install: Simple Scripts

______________________

1. Created a database for the poll.

2. Used Ipower's Simple Scripts to install Advanced Poll

3. Followed instructions to configure as follows:


Installation:

a. Open the configuration file 'config.inc.php' with a text editor and set up your database settings.

$POLLDB["dbName"] = "YourDBName";
$POLLDB["host"] = "localhost";
$POLLDB["user"] = "YourUsername";
$POLLDB["pass"] = "YourPassword";

b. Call the install script from your browser -> http://www.yourURL.com/poll/install.php (Looked all through the file and found nothing named script for me to enter the url)



4. Home page still has code on it and a link to install Advance Poll. http://www.fraudresearch.org/public_opinion/db/index.php











Carbonize
Master
[Avatar]

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

The polls you are seeing are the demo polls to show you the various settings and functions.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Oh_Happy_Day
Beginner

Joined: 23/03/2011 05:34:22
Messages: 5
Offline

Carbonize wrote:The polls you are seeing are the demo polls to show you the various settings and functions.



Thank you for responding, but, we removed Advanced Poll from our site because none of have programming or coding, skills. We were unable to find any kind of basic step by step instructions, so, we conceded that Advance Poll was too advance for our html skills.

Thank you for the explanation.
Carbonize
Master
[Avatar]

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

There was a guide somewhere but I can't find it right now. Auron was the Advanced Poll expert but he's not been here in years.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
JC
Beginner

Joined: 06/05/2011 21:46:48
Messages: 5
Offline

Hello!
Anyone knows of some manual that would be suitable for a complete beginner (like me)?

I want to install a poll for a website that I am building but my knowledge of php is very little but i do know about html.

Can anybody tell me something about this?
I saw some scripts and downloaded one of them but i dont know what to do with it.

Please help!!

Thanks!
Carbonize
Master
[Avatar]

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

I thought the actual poll had instructions in the download.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
JC
Beginner

Joined: 06/05/2011 21:46:48
Messages: 5
Offline

It does have something in there but i still dont know what that is all about, but i think i found something in one of the forums.

Thanks!!
Oh_Happy_Day
Beginner

Joined: 23/03/2011 05:34:22
Messages: 5
Offline

JC wrote:Anyone knows of some manual that would be suitable for a complete beginner (like me)? I want to install a poll for a website that I am building but my knowledge of php is very little but i do know about html.



Hello JC, we are a start up nonprofit, and have the same situation you are experiencing.

In our case, our guy that was a techie, suffered a brain injury, so the word and accounting geeks are trying to step in the shoes of the tech geek and get this thing operating.

If your server has mysql database capability, you can create the database, then use Simple Scripts to install the complete program.

Where we have hit the wall is, how the program operates.

We have searched all over the internet looking for a novice's version of how to operate the program, or lay terms, how to get anything to appear on the web site. Nothing.

This message was edited 1 time. Last update was at 06/05/2011 22:31:11

JC
Beginner

Joined: 06/05/2011 21:46:48
Messages: 5
Offline

Hello Happy day, thank you for your feedback.

I took a look at other posts in the forum and I think i found some useful tips but for us novices, it s always a problem because we never know where to put the lines of code and sometimes a simple semicolon makes things impossible to work but follow this link http://proxy2.de/forum/Advanced-Poll-Tips-and-Help-Links-5290.html , maybe you saw it already but that is the least we can do, we have to try and try until we get it right.

Actually i did not have the time to do anything else but i will have to get the poll sorted in the next few days.

Good luck with your project!
Carbonize
Master
[Avatar]

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

If I get chance I will try and answer any questions you may have but I've only used the poll once and that was a good few years ago.

This message was edited 1 time. Last update was at 07/05/2011 11:12:47


Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
JC
Beginner

Joined: 06/05/2011 21:46:48
Messages: 5
Offline

Thanks Carbonize, that would be great, I am now trying to get started with php and will come back and post questions here and if you can answer then it would be great.

Once again, thank you for trying to help!
Oh_Happy_Day
Beginner

Joined: 23/03/2011 05:34:22
Messages: 5
Offline

JC wrote:I found some useful tips but for us novices, it s always a problem because we never know where to put the lines of code and sometimes a simple semicolon makes things impossible to work but follow this link http://proxy2.de/forum/Advanced-Poll-Tips-and-Help-Links-5290.html , maybe you saw it already but that is the least we can do, we have to try and try until we get it right.


Thanks. You seem to be light years ahead of us. We still don't know where does the code go, and when, and how. And how do we get all that demo stuff to stop appearing on the home page.

Carbonize
Master
[Avatar]

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

Well first thing to do is log in to admin and make your poll. On th epage you want the poll to appear you must put this at the very start of the code

<?php
/* Include this before your html code */
include_once "./poll_cookie.php";
?>

Correcting the code so the path is correct. Then you just put this where you want the poll to appear in your page

<?php

/* path */
$poll_path = dirname(__FILE__);

require_once $poll_path."/include/config.inc.php";
require_once $poll_path."/include/$POLLDB[class]";
require_once $poll_path."/include/class_poll.php";
$CLASS["db"] = new polldb_sql;
$CLASS["db"]->connect();

$php_poll = new poll();

/* the first poll */
echo $php_poll->poll_process(1);
?>

Changing the 1 to whatever number the poll you just created is.

Carbonize
I am not the maker of the Advanced Guestbook

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

Joined: 07/10/2011 08:09:46
Messages: 2
Offline

I have the same issue and PHP seems to not be the best of friends.

what should the index.php read if it always brings up the demo when you go to the site?

I did the add before html and I added the other code that it created for me with the correct path on my web site main page. I don't see anything on that page and I don't get anything but the demo when I go to the site.

Any suggestions?
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum