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 
Showing newest comments?  XML
Forum Index » Support Forum
Author Message
Anonymous



How can I display the comments to the newest poll and not for one special poll-id?

The phrase
echo $php_poll->get_comment_pages(newest);

does NOT work while

echo $php_poll->poll_process(newest)
does work.

Is there any possibility to always show the comments for the newest poll?
Thank you

BigMac
Auron
Expert
[Avatar]

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

doesn't the word newest have to be in double quotes? (")
Have a look on the free scripts page -> adv. poll -> demo.

- 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]
Anonymous



Hi!

That also doesn't work!

Any more ideas?

BigMac
Auron
Expert
[Avatar]

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

I don't know if you can just add newest to it but this is the code you use...
(Its not much hassle to just change the numbers every time you have a
new poll, which be very often as you have to allow a lot of time for people to vote.)



- 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]
Anonymous



Hi!

This code is working on my homepage correctly. I just wanted to have less work as I have a poll of the week on my site and I don't want to change the IDs every week.

Greetings

BigMac
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum