Paid affiliate advertisement

Developing a "Question of the Week" module?

gav - November 11, 2008 - 14:13

Hi there!

I'm looking for some development and/or implementation help.

Question of the Week is a section of our site featuring questions that have been posed by an authenticated moderator to the unauthenticated site visitors. We currently do this by hand from emailed-in responses, and would like to at least partially automate the process.

The question is in the form of a sentence or two, and is typically open for responses for a week, after which time the question is closed and answers are published.

The answer is in the form of a couple of sentences or short essay. A few demographic fields should also be collected, with the moderator being able to select each field as private/public and required/optional, along with submitter's IP address.

Answers are queued for moderation before display. States for each answer are unapproved, approved, denied (abuse/spam/irrelevance). Visitors are unable to see other visitors' answers until the question has been closed and the approved answers have been published.

Publishing creates HTML body with the question and then the approved answers, each with that answer's public demographic information. Unapproved and denied answers do not get published. The HTML body is then either manually pasted into a QotW book page, or it creates a new page in the QotW book. Or some other better solution that has yet to be proposed.

There are two routes we are willing to take if nobody wants to write a module for this. We would prefer to keep the process entirely within our Drupal 6 site using appropriate module(s) and/or php. The other route is a standalone php5/mysql5 app that produces the paste-into-drupal content as described above.

What do you folks think?

Topic/Answers

kbahey - November 11, 2008 - 17:33

The topic answers does this, but emails the answers, instead of publishing them.

http://drupal.org/project/topic

It is not a lot of work to change it so answers get published on the site.

It is 4.6 or 4.7 though, so it needs to be upgraded to Drupal 6.

A good starting point in all cases.
--
Drupal performance tuning, development, customization and consulting: 2bits.com, Inc.
Personal blog: Baheyeldin.com.

Saw it yesterday

gav - November 11, 2008 - 17:59

Hi Khalid,

I saw that module yesterday but thought it would be too much work to migrate to Drupal 6 plus adding the various fields and publishing options. Of course, I'm not a developer. What do you think it would take?

George

answers module

Bacteria Man - November 11, 2008 - 18:00

You might check out the Answers module, which sounds similar to Yahoo Answers.

You have to contact the author directly to obtain a copy though, which seems a bit odd.

I've also seen this done entirely with CCK and Views, but that takes considerable effort.

-------------------------------------------------------

"The sting in any rebuke is the truth." - Benjamin Franklin

Yeah, I saw that one too,

gav - November 11, 2008 - 21:10

Yeah, I saw that one too, but it seems unsupported with some unresolved security issues. :(

I did pause and think if CCK would be an interesting way to do it, but I have zero CCK experience.

Thanks for the suggestion, though.

questions module

Bacteria Man - November 11, 2008 - 21:37

There's also the questions module, which provides an "Ask the Expert" type of functionality. Users are allowed to comment on the question and answer (just like with any other node), but the community isn't allowed to provide answers and there's no voting mechanism.

I used it successfully on a past project: plantlifeonline.net

-------------------------------------------------------

"The sting in any rebuke is the truth." - Benjamin Franklin

Yeah, that one killed me. I

gav - November 12, 2008 - 03:24

Yeah, that one killed me. I pretty much want the inverse. =)

CCK/ Views ....

Sree - November 12, 2008 - 06:38

CCKs/ Views should solve the required constraints.
You can take help of someone whos good at these areas to move ahead without writing a module/ PHP code to achieve your targets.

-- Sree --

 
 

Drupal is a registered trademark of Dries Buytaert.