Panel
Fighter
webmaster
+1 vote
Notice 69 views

Post (Thread) type feature added

I added "Post type" feature. And, some phrases are converted to more suitable phrases with "Lang Filter" plugin. PowerQA is no longer just Q&A system. It became wide range face to face social community.

QA_CONST_PATH_MAP in qa-config.php:

$QA_CONST_PATH_MAP=array(
    'questions' => 'threads',
    'unanswered' => 'unreplied'
);

Replace entries of "Lang Filter" plugin (for English):

Q&A==Discussions
Questions==Threads||questions==threads
Question==Thread||question==thread
Unanswered==Unreplied||Unanswer==Unreply
Answers==Replies||answers==replies
Answer==Reply||answer==reply
Post types==Thread types||Post type==Thread type
Ask==Start||ask==start||asked==started
Start a Thread==Start discussion!||Start a thread==Start discussion!

Replace entries of "Lang Filter" plugin (for Japanese):

Q&A==議論
質問==投稿
未回答==未返信
回答==返信
投稿を投稿==記事を投稿

This feature has not been tested enough yet. I welcome bug reports.

Thanks.

image

by webmaster asked Sep 24, 2015 in Plugins
by webmaster edited Sep 25, 2015

Please log in or register to add a comment.

Please log in or register to answer this question.

1 Answer

Expert
Vanbells
+1 vote
Getting this error when testing

Fatal error: Call to undefined method qa_layer_5_from_qa_layer_voters_flaggers_php::owner_avatar() in C:\xampp\htdocs\pqa\qa-include\qa-base.php(575) : eval()'d code on line 75

Fresh installation Once i uncheck the post type plugin, everything works. Maybe its a bug in my version
by Vanbells answered Sep 28, 2015
by Vanbells edited Sep 28, 2015

2 Comments

Thanks for your report. But, in my environment I can not confirm that issue. I want a little more information for the investigation...
new sources work as expected, bug no longer visible.

Please log in or register to add a comment.

Welcome to PowerQA. PowerQA is a new discussion software (not OSS). Here is a community for PowerQA developers. Current stable version is V1.9.4. It is enhanced day by day.

User ranking (month)

More ...

Statistics

  • 337 questions
  • 276 answers
  • 480 comments
  • 97 users

Post types

...