Does anyone know of a FAQ plugin? I would think it would retain questions in a database and then display them in a page. Also it would have sidebar tags to list FAQ categories.
Does anyone know of a FAQ plugin? I would think it would retain questions in a database and then display them in a page. Also it would have sidebar tags to list FAQ categories.
Why not just set up category FAQ, with subcategories then put your Q&A as posts. Then all you need to do is filter out the FAQ category from the rest of your posts. Which can be done with a query_posts in your home/index.php
Thanks for the idea! I assume I could create a sidebar box with heading FAQ and then list the subcategory titles as items within the box.
I follow you until you get to the index.php. What type of modifications would I have to make to the index.php page? I know how to modify sidebar and the loop in index, but I am not sure what type of modifications would be needed. If I make modifications to my main loop to facilitate my special FAQ query, what will happen to the display of index when displaying the other categories?
Also, putting answered questions as posts would mean that they would slip down by date, right? So would it be possible to order the posts within a subcategory by something other than date?
I was hoping for a FAQ plugin, any coders here interested to make this plugin? :)
I've also been shopping for a FAQ plugin!
I guess I'll just have to write one.
That's what I like about this community. If enough people express interest in something, someone steps up and writes a plugin for it.
A little searching found this other thread --- http://wordpress.org/support/topic/43482?replies=3. I would say why not set up new Category as was suggested above. Writing a plugin is not always the solution. But if someone volunteers, great! And thanks.
http://www.xyooj.com/blog/frequently-answered-questions
It's designed to support searching, wordpress categories, view counts, ratings, submitter name/email/URL/IP etc. However, that hasn't been implemented yet. I may get around to it one of these days.
VaamYob: You are a wiz! Thanks for your help.
Now records the user who submitted the question's ip address and asks for their name/email/website.
I just downloaded and activated. When I went to edit a Page, I got this error:
Warning: Invalid argument supplied for foreach() in /home/jimw3141/public_html/wordpress/wp-content/plugins/faq/faq.php on line 125
I also get this error in every post and every page.
I even added an faq but this didn't help.
My server is undergoing a DOS attack right now. I'll look into it when the server comes back online.
Got the latest one from your site, but it's still having the same error as just now, the one jwurster has.
You may have beaten me to the punch and gotten the zip file before I updated it, please get the latest and try again.
Tried that already, just redownload the new one and uploaded. still having this error
Warning: Invalid argument supplied for foreach() in /home/huaian/public_html/liberta/wordpress/wp-content/plugins/faq/faq.php on line 125
???
my line 125 is
foreach ($qas as $qa) {
Great plugin!
Suggestions / Questions:
1. Perhaps the admin should be under Manage rather than options
2. Is there any way or reordering the questions?
3. I assume that the answers must be written in html. I.e., if you put in enters in the answerbox, they don't show up in the FAQ page.
4. Eventually, it would be nice to have the individual questions categorized so you could put different questions under category headings
5. Or, the ability to specifiy a category in the page tag, so one could have one page for each FAQ category.
Yah, I know, beggars shouldn't be choosers!, but it never hurts to ask!
I've seen this error before. It has to do with the php version. The solution that I just made was to change
$qas = faq_get_qa(1);
to $qas = array(faq_get_qa(1));
That eliminated the errors.
Right, that did it. I tried it on a test page but the questions and answers are not showing up although I approved it already...
Do you have caching turned on ?
Erm, no idea? Where to turn it on or off?
Truth,
Can you get the latest version of the plugin and try again please ?
jwurster,
Integration with wordpress categories is planned.
Once the plugin has more features, I plan on making FAQ a top level menu item, with others (i.e. pending questions etc) as sub-menu items
The answers are html, that's the most flexible format.
The questions are text, that's the safest format.
VaamYob: I guess it's not clear to me what is supposed to happen. Are you supposed to see all the FAQs on your page with the dialog to enter a new FAQ?
yes, the users should see a list of aproved questions and answers, with the ability to add more.
I tried your fix and it got rid of the error, but it also broke functionality. jwurster, please get the latest zip file.
Right, thanks.. it's working now :)
Got a slight question..
I wanted to use this to render the title
<?php echo ImageHeadline_render( 'Ask A Question' ); ?>
in replace of this
$retVal .='<div class="faq_ask"><span class="faq_label">Ask a Question:</span> ';
But it resulted in an error, is there any way to do it?
Thank you :)
I got the latest version and no errors. However, I still don't see my FAQ. But I think I know why. When I added the q&a, I did not check off the Approved box. So, there is no way for me to modify it to approve it. Your plugin is only displaying approved faq's, right?
One more problem. When I tried to add a faq from my page, I got the error:
WordPress database error: [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ' '2006-02-03 16:30:10', '99.99.999.99', 0)' at line 1]
INSERT INTO wp_faq_questions (question, question_author, question_author_email, question_author_url, question_author_user_id, question_date, question_author_ip, question_approved) values ('What is your favorite plugin?', 'willy', 'willy@carpet.net', 'www.willy.com', , '2006-02-03 16:30:10', '68.80.162.72', 0)
another thing, when I click on submit qn, it shows
"Thank you for asking.
Once the admin has approved your question, it will show up in the FAQ.
Click here to return to the FAQ"
but on a blank white page without the layout etc. how can I make the header and footer show up as well? thanks
Hey! I have downloaded your plugin but having some difficulty getting it installed. Here is the error after activation:
Warning: main(../wp-content/plugins/faq/faq.php): failed to open stream: No such file or directory in /srv/www/htdocs/wp-admin/faq/faq_admin.php on line 18
Fatal error: main(): Failed opening required '../wp-content/plugins/faq/faq.php' (include_path='.:') in /srv/www/htdocs/wp-admin/faq/faq_admin.php on line 18
Here is the file paths:/wp-admin/faq/faq_admin.php
/wp-content/plugins/faq/faq.php
/wp-content/plugins/faq/faq_ask.php
I have chmod'ed permissions on all the files. The plugin shows up in the admin panel and will activate but when nav'ing to "options"->FAQ, i get the above error. Thanks for any help.
Chris
This topic has been closed to new replies.