Author |
Message |
05/03/2005 07:20:07
|
DCMP
Beginner
Joined: 04/03/2005 06:39:05
Messages: 16
Offline
|
I've read the posts in the forum. Perhaps I am going into the wrong area to make the changes I need to.
I now can log in. Images are not showing up, however. So, I went into the index.php file (in admin folder) and changed the directory for the graphics.
Now, the graphic shows up on the sign in page, but I can no longer sign in. I reupload the original index.php, and the graphic does not show, but I can sign in.
Yes, I changed the permissions both times. I've tried this several times, with the same problem. What is wrong?
|
|
05/03/2005 23:40:15
|
DCMP
Beginner
Joined: 04/03/2005 06:39:05
Messages: 16
Offline
|
I'd rather not have to look for another survey program and start over again. Does anyone know the solution to the problem I am experiencing?
|
|
07/03/2005 03:45:17
|
Auron
Expert
Joined: 23/06/2003 22:02:17
Messages: 1053
Offline
|
go to general settings in the admin area and change the img/image path until the images show up.
|
Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought) |
|
08/03/2005 06:33:44
|
DCMP
Beginner
Joined: 04/03/2005 06:39:05
Messages: 16
Offline
|
Thanks, Auron. I did finally figure that out. But, I appreciate that you replied. I'm now having a problem going beyond that.
I created the poll, but don't know what to do. I found a document from a year ago. But, I'm still confused.
The script shows up when I view the "template" in the admin area. I am supposed to put that script into a document, and give it a php extension.
I did that, but it's not working. What am I doing wrong?
Thanks!
|
|
08/03/2005 17:58:03
|
Auron
Expert
Joined: 23/06/2003 22:02:17
Messages: 1053
Offline
|
One of the menu options in the admin are should take you to the
license or something like that. Its a page with three text boxes that
have code for various ways of displaying the poll.
|
Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought) |
|
09/03/2005 02:42:47
|
DCMP
Beginner
Joined: 04/03/2005 06:39:05
Messages: 16
Offline
|
Hi, Auron. That's what I did.
Please take a look. The test site for the poll is:
http://www.applenetwork.us/poll/testpoll.php
and
http://www.applenetwork.us/testpoll.php
I'm doing something wrong, I just don't know what it is.
Thanks.
|
|
09/03/2005 04:02:01
|
Auron
Expert
Joined: 23/06/2003 22:02:17
Messages: 1053
Offline
|
got the poll path configured correctly?
all files uploaded into the right places?
include statements all correct? (booth.php/poll_cookie.php)
what's the code your using for those pages?
|
Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought) |
|
09/03/2005 09:46:57
|
DCMP
Beginner
Joined: 04/03/2005 06:39:05
Messages: 16
Offline
|
Hi, Auron. Thanks for the replies!
* I rechecked (for the, I've lost count, time - LOL), and yes: it appears that I input the correct info for the path. I even resorted to changing to the entire path (as I read some resolved certain issues doing that). The problem is puzzling.
The path is: http://www.applenetwork.us/poll
Everything is there.
* Yes, all the files are uploaded to the correct place. booth is in the poll directory, as is the cookie command.
* I think I've included the statements correctly. I really don't know much at all about php. Quite a novice at it. I do know html. I've gotten good info from you instructions at: http://proxy2.de/forum/viewtopic.php?t=2067&highlight=poll
And I tried to follow it. But, I'm still having a problem.
I'll include the code in a seperate reply.
|
|
09/03/2005 09:47:26
|
DCMP
Beginner
Joined: 04/03/2005 06:39:05
Messages: 16
Offline
|
<?php
include_once "http://www.applenetwork.us/poll/poll_cookie.php";
?>
<html><head><title>Test Poll 4</title></head><body>
<?php
include_once "http://www.applenetwork.us/poll/booth.php";
echo $php_poll->poll_process(4);
?>
<table width="$pollvars[table_width]" border="0" cellspacing="0" cellpadding="1" bgcolor="$pollvars[bgcolor_fr]">
<tr align="center">
<td><style type="text/css">
<!--
.input { font-family: $pollvars[font_face]; font-size: 8pt}
.links { font-family: $pollvars[font_face]; font-size: 7.5pt; color: $pollvars[font_color]}
-->
</style><font face="$pollvars[font_face]" size="-1" color="#FFFFFF"><b>$pollvars[title]</b></font></td>
</tr>
<tr align="center">
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="2" align="center" bgcolor="$pollvars[bgcolor_tab]">
<tr>
<td height="40" valign="middle"><font face="$pollvars[font_face]" color="$pollvars[font_color]" size="1"><b>$question</b></font></td>
</tr>
<tr align="right" valign="top">
<td>
<form method="post" action="$this->form_forward">
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr valign="top" align="center">
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="1" align="center">
<tr>
<td width="15%"><input type="radio" name="option_id" value="$key"></td>
<td width="85%"><font face="$pollvars[font_face]" size="1" color="$pollvars[font_color]">$key</font></td>
</tr>
</table>
<input type="hidden" name="action" value="vote">
<input type="hidden" name="poll_ident" value="$poll_id">
<input type="submit" value="$pollvars[vote_button]" class="input">
<br>
<br>
<font face="$pollvars[font_face]" color="$pollvars[font_color]" size="1"><a href="$this->form_forward?action=results&poll_ident=$poll_id">$pollvars[result_text]</a>
</font>
</td>
</tr>
</table>
</form>
<font face="$pollvars[font_face]" size="1"><a href="http://www.proxy2.de" target="_blank" title="Advanced Poll">Version $pollvars[poll_version]</a></font>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body></html>
|
|
09/03/2005 09:49:07
|
DCMP
Beginner
Joined: 04/03/2005 06:39:05
Messages: 16
Offline
|
Lastly, I redid the php file, to recheck everything. It's now at:
http://www.applenetwork.us/poll/testpoll4.php
|
|
09/03/2005 12:01:58
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
Always use internal paths for includes. As you are calling it via the server it may be getting passed to PHP and then the processed results being sent to you as HTML.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
09/03/2005 14:17:29
|
Auron
Expert
Joined: 23/06/2003 22:02:17
Messages: 1053
Offline
|
all you need to display the poll is this...
the rest of that is the poll templates that it uses by itself without
you needing to do anything else.
|
Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought) |
|
09/03/2005 20:14:20
|
DCMP
Beginner
Joined: 04/03/2005 06:39:05
Messages: 16
Offline
|
Okay, one more problem. But first,
Thank you, Auron! It works now!
One problem: I changed the "results" to use the "simple" display. But, the bar graphs aren't showing.
They DO show up when I preview in the admin area. I saved the settings. But, for some reason they are not showing up when I log into the poll.
Oh, there is one other problem: I'm able to vote more than once.
Thanks!
|
|
09/03/2005 23:14:26
|
Auron
Expert
Joined: 23/06/2003 22:02:17
Messages: 1053
Offline
|
you can only set templates for the whole poll and not parts of it.
do a search on poll_cookie.php, ip table and vote more than once.
you should find what you need quite easily.
|
Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought) |
|
12/03/2005 06:14:14
|
DCMP
Beginner
Joined: 04/03/2005 06:39:05
Messages: 16
Offline
|
I don't understand? I saw the demos, and they each give a different result outcome. In admin area, it shows different outcomes. How do I get the poll with the graph?
|
|
|