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 
Messages posted by: Anonymous
Forum Index » Profile for Anonymous » Messages posted by Anonymous
Author Message
I figured it out...

If anyone is having the same problem you will need to edit 2 files. I'm not sure if this is the best way or not but it works.

booth.php
Add the following line of code.


I added it here.



class_poll.php
Add the following lines of code.


here...


Now you will need to edit this line of code to something similar.


Note: I took this code straight from my site. You will need to modify yours accordingly. If the site you are displaying polls on is...
http://site.com/index.php?menu=1
You would need to replace all the c's with menu's.
How can I tirm the old messages from the guestbook?

Thanks
Frank
Can anyone tell me what line of code I need to put in what file to get the smiley parser to work with comments?

Thanks
Frank
I have almost figured it out. I need to edit this line in class_poll.php to forward to the right page.



The only problem is I can't figure out how to transfer my session variable to class_poll.php. I have tried to change this line in booth.php but I can't seem to make it work.



I have tried...



and



I get URL file-access disabled by the server. So I logged into my cpanel to see if I could enable it but I only have the ability to enable allow_url_fopen. (already enabled)

Any ideas?
Duilen wrote:Why don't you just modify the first 3?

Now why didn't I think of that?

I already had deleted those polls and editing the MySQL database was a bit too complicated for me so I reinstalled the poll and like Duilen said, modified the first 3 Polls.

Anyway, thanks guys for the info!
I managed to search around through the other posts last night and get a php page working with a poll on it.
I think you could save yourself a huge amout of time if there was a "quick start guide" or a brief "how to" doc posted somewhere.
It seems that the majority of the posts here are all because of problems getting started.
For example. One last piece that I am looking for now is a code snippet or explanaition of how to take the php reference to to a newly created poll and embed it into an existing html web apge.

Thanks.

------Mike
Why don't you just modify the first 3?
Hey everyone,

Is there a way to reset the Poll ID? The Demo Polls that you get when installing Advanced Poll are labeled 1 till 3. However, if you delete these polls and create a new one it will be labeled as Poll ID 4 and so on. Is there a way to start with Poll ID 1 again? My thought are that I have to change something in the database because the ID numbers are remembered. When you create a new Poll and immediately delete it and create another one the ID number goes up. Anyone knows the solution to this?

A big thanks for any help.

Regards,
Cade
I am assuming you are asking if I used the db or textfile version.
DB, I use php/mysql. Thanks
Can sombody translate this? How do you change the color?
I can help you with your question but what doc did you read to get the polls posted in your web pages?
I have installed Advanced Poll V2.03 and have correctly set the DB params and file permissions as indicated in the two readme.txt file.
wehn I run the admin utility to create a new poll it does not seem to actually creat one.
My question is: what is the location of the new polls when they are created and is there a doc somewhere on how to correctly set up a poll and have it displayed on a web page?

Thanks
I am displaying several polls using the same url. The session id changes which poll is viewed. Everything seems to work fine except when you vote it directs you to the page without the session id.

This is a page to show you what I mean.
http://www.4seer.net/site.php?c=2

After you vote it takes you to this page without "?c=2"
http://www.4seer.net/site.php

Does anyone know how to solve this?

I would also like to know how to allow you to vote over and over by bypassing the ip check or the cookie. This is just to make the whole testing process easier. I have tried to delete the cookie and the field with the ip in the DB but nothing works...
I changed my background color to black with white text. I just noticed that when you go to the signing page, there is a checkbox with nothing next to it. That is the text for private message. How do I get that text to be white instead of black so it will show up?
 
Forum Index » Profile for Anonymous » Messages posted by Anonymous
Go to:   
Based on the open source JForum