grayside / crowd_qa Goto Github PK
View Code? Open in Web Editor NEWCrowdsourced Q&A Feature for Drupal
Crowdsourced Q&A Feature for Drupal
Time to upgrade the preprocess function in this, and about 12 other things.
Use Views Customfield to programmatically invoke a view to list comments.
When a Question is pre-set on a new Answer nodeform, preload any taxonomy terms from the Question node and hide them. Only a Question form should have taxonomy fields.
Possibly, will add a vocabulary to the Feature and limit this behavior to that one vocabulary.
Note: Ideally, on hook_nodeapi update of a Question, all referencing Answer nodes would have their terms updated.
Figure out how tagging integration should work.
This is an example of an enhancement that is beyond the scope of this project. If this can be limited to documentation, good.
Otherwise, if it takes a little strongarming, but keeping whichever module out of the dependencies list, so be it.
I kind of like and dislike aspects of both of these:
http://drupal.org/project/suggestedterms
http://drupal.org/project/tagging
This project is starting to look pretty epic in size, and as I think of more and more tweaks to make it cool, it only scales up. I think it Crowd Q&A as a project should be broken up into multiple pieces around a core Crowd Q&A functionality. This will allow easier management of the different elements of the system, and also allow site builders to more easily implement alternate functionality for a given subsystem.
Votes are great for community judgement, but there's nothing like the asker actually approving an answer to pseudo-close the question.
warning: htmlspecialchars() expects parameter 1 to be string, array given in /Users/abr/Workspace/drupal/atrium-1-0-beta-8/includes/bootstrap.inc on line 857.
Overall reputation should be included with all users, domain-specific (taxonomy-term specific) titles should be calculated based on points/accepted answers for specific terms.
For example, the "Linux" tag.
Subscribing to a Question content type is really about subscribing for notifications about new answers.
I suspect this will be both difficult, and involve alter hooks. Notifications about the post needs to be replaced with notification from a view, or about Answer content type with a given nodereference field.
VotingAPI policy is to leave this up to individual voting widget modules.
Vote Up Down has a pending issue with a patch and an architecture-based rejection of that patch. Something might be done.
When writing a question, it would be awesome if the site could let you know if similar questions have already been asked. Doing this would probably be a new & separate module, but I am noting it here as a feature request to enhance crowd_qa (not a dependency).
There are two approaches to this.
This is possibly the most straightforward. Convert the title field into an autocomplete field, pinging against every other question asked. Other questions should be supplied by a programmatically executed View. If possible, the View should narrow the results by Space.
Why does this suck? Because we don't want people to actually ask the same question, we just want them to know the other question exists and click through to it if it seems helpful.
Some bizarro thing. There is a View that runs a search with your text against (preferrably) the search index. It's results should also return in an ajaxy manner and inject a few results below the title area.
This may be a new module, but I have seen enough ajax + views modules that I've never really looked at that I can't be sure. It might simply be part of the future crowd_qa_discovery module
Views template or Views plugin?
Implement crowd_qa_preprocess_search_result(), and override the link depending on the node type.
Things needed: field_crowd_qa_question needs to be available, or queried, to build the link.
http://api.drupal.org/api/function/template_preprocess_search_result/6
http://api.drupal.org/api/drupal/modules--search--search-result.tpl.php/6
Post comments directly in the Q&A page with automatic ajax-y insertion.
Unclear how well it will work given the way nested comment Views are the plan for Answers, but that should satisfy the Question comment mechanism.
A central administration console would be very useful, given the complexity of this module. What I mean is to pull the specific form settings related to how this module behaves into a single form with a lot of duplicate entries. This would replace a lot of documentation telling people where to go to poke and prod the various settings relevant to crowd_qa.
It's kind of counter to standard practice.
Specific settings to treat this way:
Special complexities here: Duplicating the existing form widgets from the various admin interfaces, but adding to them the same access control that governs the admin form as a whole. Thus, if you need administrate votes or the like to tweak a setting, you still need that for this copy of the form widget.
A real wtf kind of moment.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.