Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+3 votes
1.1k views
in Q2A Core by
edited by

I'm modified CF Polling script to easy use in Q2A :) hope you find it usefull :

-1. Download this file

1. upload Q2A-CFpolls folder in to root of your site
2. CHMOD Q2A-CFpolls/cfPolling/polls to 777
3. Add line in qa-theme/YOUR_THEME/qa-theme.php :

                function sidepanel()
        {
            $this->output('<DIV CLASS="qa-sidepanel">');
            $this->sidebar();            
            include("Q2A-CFpolls/poll.php");
            $this->output_raw(@$this->content['sidepanel']);
            $this->nav('cat');
            $this->feed();
            $this->output('</DIV>', '');
        }

after

class qa_html_theme extends qa_html_theme_base
    {


Save file.

Poll panel will apear in sidebar. You can edit poll editing polls.php file.

More info http://www.codefuture.co.uk/projects/cf_polling/

by
great but can you pls make this as a plugin for Q2A.
by
I'm afraid it's not yet possible to have sidebar plugins, so the only way to do it would be to have the polls in a completely separate page.
by
okay, no problem; good to see this poll script.
by
Glad to hear :)
by
Excellent, thank You for Youe contribution !!
monk333
by
great, thanks! just had the idea to add a poll and here is it rdy to go :) cheers mate!
by
No problem, enjoy :)

1 Answer

+1 vote
by
After the installation of this great plug in i have ever this message :

The requested URL /polls was not found on this server.

 

what can be? i understand that there is not the url but where i found it?
by
i've solved inserting the url code on the configuration of page. sorry for stupid question
...