Need a "Frequently Asked Question" Script

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
igor999
Forum Newbie
Posts: 8
Joined: Wed Jul 26, 2006 8:13 am

Need a "Frequently Asked Question" Script

Post by igor999 »

I need something like http://www.lethalpenguin.net/design/FAQMasterFlex/ . Unfortunately my server is having some issues with faqmaster flex.

They recommended that I use phpmyfaq instead but I don't like it.

Any suggestions where I can get something simple like faqmasterflex where users will click question and the answer will come below it? I want a professional interface.

Thanks in advance
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Why not build it yourself?
igor999
Forum Newbie
Posts: 8
Joined: Wed Jul 26, 2006 8:13 am

Post by igor999 »

If I had the background, I would, but I think it would be very time consuming. Why reinvent the wheel when it already exists out there? If there is a place where I can get a sample code for "drop down" answers to quesitons like faqmasterflex then I would implement it, or if someone can think of a premade one where questions can be added through an admin area. Either one works. Thanks a million.
User avatar
JayBird
Admin
Posts: 4524
Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:

Post by JayBird »

igor999
Forum Newbie
Posts: 8
Joined: Wed Jul 26, 2006 8:13 am

Post by igor999 »

I was there and I went through invalid developers webpages and really bad ones. I just need a simple one where the questions are present and user clicks on question pullng up the answer.

Even if someone has the code that they can illustrate this type of prsentation then I can do just copy and paste it for the rest of my q&a's
User avatar
daedalus__
DevNet Resident
Posts: 1925
Joined: Thu Feb 09, 2006 4:52 pm

Post by daedalus__ »

You could try Google as well. The script wouldn't be hard to write at all, either. It might take you 20 minutes.
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

As for clicking a question and making the answer appear, that's extremely rudimentary JavaScript.

Actually, you probably don't want to make your FAQ like that.
thiscatis
Forum Contributor
Posts: 434
Joined: Thu Jul 20, 2006 11:00 am

Post by thiscatis »

I'm working on a new FAQ system, based on PHP & AJAX.
The main goal is to filter results while you're typing keywords.
If you want to participate in the project, PM me ;)
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

FAQs are a pretty good PHP Beginner project. I developed a few over the years, and even the more involved scripts were still pretty easy.

Some things to consider:
1. Where will the questions come from? If you are populating them all, then you don't really need a database, though I would still use one. If you are taking user supplied questions, you should use a database and you will need a management tool to handle answers.

2. Are your questions categorized? Do you need just questions, or questions and categories of questions?

3. Are you wanting a JavaScript front end to show the answer or do you want server-side processing of question information requests.

4. Are you going to rank questions? If so, on what system?

Start with that. You can actually build a system fairly quickly for the users to see. The admin stuff may take a little longer, but once the user stuff is up, you can work on the admin stuff while it is in use.
igor999
Forum Newbie
Posts: 8
Joined: Wed Jul 26, 2006 8:13 am

Post by igor999 »

I need something like:
http://www.lethalpenguin.net/design/FAQ ... =1984#2367

In regards to questions:
#1: Questions will be handtyped in. I don't want users to submit questions or add content. If I receive an email asking the same information then I will add it to the page manually.

#2: Are my questions categorized? Yes. I am working on software company and they have categories like "General Requirements" "Activation of Software" "Software-related quesitons" "Troubleshooting" then my questions will be in their respective categories. I can always add these categories like http://www.lethalpenguin.net/design/FAQMasterFlex/

#3: I suppose javascript. But what about those users who don't have javascript enabled? All I really need a simple script/code. I don't need to resort to MySQL.

#4: Quesitons are not ranked.

Again I need something like the link above. Just a snippet of the code to use and I can replicate it on my own. Nothing too sophisticated.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

I made this FAQ. It may be a little more than what you are looking for, but I think the code could work for you. Have a look and see.
thiscatis
Forum Contributor
Posts: 434
Joined: Thu Jul 20, 2006 11:00 am

Post by thiscatis »

Everah wrote:I made this FAQ. It may be a little more than what you are looking for, but I think the code could work for you. Have a look and see.
nice script,
one little suggestion.
I would drop the boxes when you're on a question with your mouse.
It just popups a box with the same information so it doesn't exactly add any value.
But apart from that, nice:)
Post Reply