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 
Advance Poll HELP ME PLESE!!!!!!!  XML
Forum Index » Support Forum
Author Message
Anonymous



Hi fellas,
I need some help figuring out this Advance Poll setup. I have read all of the instructions and forum replies yet I am not getting the result I seek. I installed this script with Fantastico, and to be honest I am a freshman on PHP and SQL, so please be kind.
This is my polls.php page...
with NO WHITE SPACES
<?php
require "/home/miamipre/public_html/polls/poll_cookie.php";
?>
<html>
<head>
<title>Miami Premier Encuestas</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFCC99" leftmargin="0" topmargin="0">
<?php
include_once "/home/miamipre/public_html/polls/booth.php";
echo $php_poll->poll_process("random");
?>
</body>
</html>

THE RESULT IS ALWAYS THE SAME no matter if it is calling a specific poll or a random poll...
echo $php_poll->poll_process("random");
--that is what shows up on the page.
I have created four polls, they are Active, Loggin Off (in admin), Experiation NEver, and Allow Comment selected.
PLEASE HELP!

Janvier
Carbonize
Master
[Avatar]

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

Are you sure the page has the .php extension?

Carbonize
I am not the maker of the Advanced Guestbook

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



Yes Carbonize,
It is as I described. It is a .php page created just for the poll.
That is what is making it so frustrating.

Thanks for your reply.
Janvier
Auron
Expert
[Avatar]

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

link?

i still reckon its the extension.

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]
janvier
Newbie

Joined: 20/01/2005 07:48:05
Messages: 3
Location: Miami
Offline

Auron,

What do you mean " link? "

How I wish you were right. To change an extention on a page is probably the easiest thing to do... But like i initially wrote, the page is called aPoll.php and it only has what I intially quoted. No white spaces, or anything else other than that.

At least I don't feel like a looser for posting something that you guys have already written a solution for before.

Janvier

There is More Than one Way to Skin a Cat. ...And Sometimes, It is Better to Leave the Panties On.
[Email] [WWW] [Yahoo!] aim icon
Auron
Expert
[Avatar]

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

I meant like a link to the page for the poll.

I can't tell anything really, unless you get any error messages or I can see the page for myself.
But, i'm sure we'll get this resolved soon enough for you.

Auron

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]
janvier
Newbie

Joined: 20/01/2005 07:48:05
Messages: 3
Location: Miami
Offline

I have no idea what happened other than rewrite everything according to what you guys have posted. YOU GUYS ARE AWESOME!.

Just a quick question that isn't regarding Advance Poll, but rather PHP...
What ARE the PHP commands to have a link open in an iFrame? I have webCalendar and unfortunatelly the support group is not as great as this one. I would like to try a few options if there is more than one way to do it. I have tried: target=\"iFrame\" (i named the iframe 'iFrame')but that didn't work. Any suggestions would be greatly appreciated.

Sincerely,
Janvier

There is More Than one Way to Skin a Cat. ...And Sometimes, It is Better to Leave the Panties On.
[Email] [WWW] [Yahoo!] aim icon
Carbonize
Master
[Avatar]

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

If we are talking a normal link then target="iframename" should work fine. If we are talking a form then place the target attribute in the form tag.

Carbonize
I am not the maker of the Advanced Guestbook

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

Joined: 20/01/2005 07:48:05
Messages: 3
Location: Miami
Offline

Carbonize,
I don't know enough PHP to be able to tell you exactly what type it is. This is a snippet of the page where I want to have the Targe be my iFrame.

$HeadX = '';
if ( $auto_refresh == "Y" && ! empty ( $auto_refresh_time ) ) {
$refresh = $auto_refresh_time * 60; // convert to seconds
$HeadX = "<meta http-equiv=\"refresh\" content=\"$refresh; url=week_details.php?$u_url" .
"date=$startdate$caturl\" target=\"_self\" />\n";
}
$INC = array('js/popups.php');
print_header($INC,$HeadX);


here is the actual file:
http://www.miamipremier.com/webCalendar/week_details.php if you care to check it out.

I thank you all of your assistance.
Janvier

There is More Than one Way to Skin a Cat. ...And Sometimes, It is Better to Leave the Panties On.
[Email] [WWW] [Yahoo!] aim icon
Carbonize
Master
[Avatar]

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

Thats what I get from that link. The things I mentioned above are HTML and not PHP.
The above snippet you posted is for when you have chosen to have the calendar auto refresh.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Carbonize
Master
[Avatar]

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

http://www.miamipremier.com/webCalendar/ works fine though but I would need to see the page with the iframe on.

Carbonize
I am not the maker of the Advanced Guestbook

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



Here you are Carbonize,

http://www.miamipremier.com/MiamiPremierENEW.shtm
Check out what I am talking about on the right bottom side... the webCalendar. (i hope it is showing up)... when you click on the previous/next <> it will open into the iFrame. But if you click on the little icon + to add a new event, it opens it into itself... that is what I am trying to change. for some reason, the same function is not accepted to open into the iframe...

Thanks for your time and assistance.
Janvier
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum