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
poll_list.html is located in the template folder
$php_poll->set_template_set("your_new_template");
If you can change your server configuration, yes. You go in there and say that .htm (or .html, etc) pages can parse php.
Can I get a list of polls, similar to demo 3, when using the textfile system? It can't find the template "poll_list." I could use either an ssi call or a php command.
you can edit and save the tem folder files all in the poll admin page..

i don't know if you are use windows...

but i have a question that is how to change the default tem style to another(ex.simple,popup.)..
I fixed it. I had renamed the demo polls....I didn't realize that I had written a cookie. THis disabled the vote from being recorded. THe other poll...I had to delete it and make another poll. It also fixed the problem. Great script!

Metal-X
when use the poll on top page,how to change the default Templates to another???
very perfect...

very good script...
For those of you getting this error when installing guest book 1.5:

Guestbook - Error
Cannot create ID file guest_id.txt in /web/book. Please check your base directory.

Just below this message look for the field that says:
DOCUMENT_ROOT
This is the base directory you are needing to put in guestbook.pl file!
at the end of that DOCUMENT_ROOT field entry add the directory where your book files are. Here is what my document root was that got my guestbook working:
/nfs/cust/4/23/35/53324/web/book
If you are running your own server, then you should already know what the document root is, but if you are like me and run your website off of a hosting service like Hostsave.com then this is how you get it to work.

Hope this helps everyone that was just as CLUELESS as I was!

TF
Thanks Jesall! I end up putting it in a layer (div) and placing it on my site. After the user votes, they can see the results by clicking the "results" link which launches a pop-up box. THe only problem is the vote doesn't record....I've been working on this for 6 hours. I'd hate to have to delete it off my page.
I tried my voting poll and it doesn't record the vote. All CHMOD are correct. I have the poll set so when the user clicks on "view data" it's in a pop-up box with a link for comments. The comments work, the vote just doesn't record with no error messages at all.

Any suggestions where I should look?
Set the code you want it to appear as in your templates, this should prevent it from altering your main site's scheme. I wouldn't suggest an iframe, as that would be more work than necessary.

Perhaps throwing it into its own table would be a better idea.
By each poll in your Polls List section, is a little notepad icon, click that and it should give you all the code you need to post that particular poll.

If you want to alter how it looks head to the templates section.
Open up include/class_poll.php

then around line 107 I believe is a second function



Delete this and you should be good to go.
I'm trying to get the poll to display on my page. When I do, it distorts my fonts and changes the page shape. Does anyone have any tips for me? I've tried everything, an Iframe would work but I don't know how to get the include statement to appear.

Metal-X
 
Forum Index » Profile for Anonymous » Messages posted by Anonymous
Go to:   
Based on the open source JForum