forked from anspress/anspress
-
Notifications
You must be signed in to change notification settings - Fork 0
/
readme.txt
639 lines (544 loc) · 19.8 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
=== AnsPress - Question and answer ===
Contributors: nerdaryan
Donate link: https://www.paypal.me/nerdaryan
Tags: question, answer, q&a, forum, profile, stackoverflow, quora, buddypress
Requires at least: 4.0
Tested up to: 4.8
Stable tag: 4.0.5
License: GPLv2 or later
Demo: https://anspress.io/demo/?product=anspress
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Free question and answer plugin for WordPress. Made with developers in mind, highly customizable.
== Description ==
AnsPress is an open source, developer friendly, question and answer plugin for WordPress. AnsPress adds a full question and answer system to your existing WordPress site. It can be used to create a q&a network similar to StackOverflow and quora, or be a single page in existing site. The plugin supports multi-languages, shortcodes, reCAPTCHA, email and push notification and more.
AnsPress is not just limited to question and answer. It can be used in many different ways such as BugTracker, Company Internal QA board, support tickets, FAQ etc. Anspress is trusted and used by many popular companies and sites at scale.
**Performance and Optimizations:**
In our latest release we've made big improvements to performance and have tested in many different server environments. It runs smoothly on every type of server with minimal impact on load times. AnsPress (including all of its functionalities) is very fast comparing to other QA plugins. In the latest release we have made major improvements to reduce MySQL queries and to increase the speed of page load for all page templates within plugin.
**Developer Friendly:**
AnsPress is built with developers in mind and can easily be extended to fit your needs. All parts of layout templates can be overridden. Our source code follows WP coding standards and is properly commented. We are working on documentation site which will be available soon.
**Contributors:**
This plugin wouldn't be possible without a huge amount of contribution. Check our contributors at https://anspress.io/contributors/
**Support and Demo:**
We provide support on our site: https://anspress.io/questions
Our support section uses actual version of AnsPress, so you can check out the support site if you want to see full working version of AnsPress.
You can also take the demo site for a test drive https://d.anspress.io/
**AnsPress Key Features:**
* Submit / Filter / Order / Edit / Delete Question
* Answer / Comment
* Vote and Select Best Answer
* Notification Emails and Web Push Notifications
* 10+ languages supported
* Captcha supported
* Shortcodes available
* Private/Public for Question and Answer
* Ability to Follow Questions / Answers
* Featured (Sticky) Question
* Closed questions
* Flag/report questions and answers to moderator
* Basic user profile
* BuddyPress integration
* More to come...
**Free Add-ons:**
* Reputations
* Tags
* Categories
* Bad words filter
* Email notifications
* reCaptcha
* Dynamic text avatar
AnsPress is frequently updated and more features are added based on feedback from our users. This means you are welcome to give us feedback and suggestions as to what you would like to see or need in the plugin. Visit our Github project https://github.com/anspress/anspress or visit our community https://anspress.io/questions/ to get the updates.
**Page Shortcodes**
Use this shortcode in base to AnsPress work properly
`[anspress]`
== Installation ==
Read full documentation here https://anspress.io/docs/
== Frequently Asked Questions ==
Read full FAQ here https://anspress.io/docs/?topic=faq
== Screenshots ==
1. Question list page.
2. Single question page.
3. User profile
4. User hover card
5. Users directory
6. Notifications
== Changelog ==
= 4.0.5 =
* Fixed user profile rewrite and reputation query
* Fixed: dropdown reputation for reputation count
* Addons not toggling on WpEngine
* Hide notification and user profile if not logged in
* Fixed: filters are not persisting
* Language updated
* Fixed: restored_question activity string update
* Fixed: admin JS errors
* Fixed: notification dropdown
* Removed CSS minify folder
* Improved list filters
* Fixed buddypress "load more" issue, disable AnsPress notification if buddypress enabled
* Added reputation re-count
* Added answer and flags count
* Added vote re-count
* Fixed theme updater
* Fixed: load more not working in BP profile
= 4.0.4 =
* Do not create base pages automatically unless user wants
* Fixed: Illegal string offset error
* Added options for user page titles
* Make user pages slug editable
* Fixed missing assets
* Fixed: AnsPress JS is missing from home
* Fixed translation
* Fixed wrong text domain in category template
* Updated po and mo
= 4.0.3 =
* Improved updater
* Fixed: fatal error while deleting a question
= 4.0.2 =
* Minor fixes
= 4.0.1 =
* Minor fixes
= 4.0.0 =
** Beta 4 **
* Fixed bugs in files
* Fixed buddypress.php bugs
* Fixed avatar.php issues
* Fixed: Author is not able to view their own private posts
* Fixed fatal error
* Allow user page callback without class
* Show WP_Error message for comments in snackbar
* Fixed: unable to submit form when duplicate check is disabled
* Fixed: duplicate post error snackbar message not showing
* Improved user page title
* Fixed php notice
* Fixed menu
* fixed warning
* Added option to disable duplicate check
* Do not insert qameta if post is not question or answer
* Fixed trash question
* Added misisng assets in wp-admin
* Fixed parent_q warning
* Fixed typo
* Added notification table in uninstaller
* Fixed reputation migrator
* Deactivate old AnsPress extensions
* Disable old AnsPress extensions while initializing AnsPress
* Improved migrator
* Add 302 status in shortlink redirect
* Fixed shrotlink in reputation
* Check ap_meta table exists while migrating
* Do not insert reputations, notifications and prevent sending emails while updating
* Added filter to modify tag question query
* Added user answers page
* Load comments by default
* Fixed JS template not loading properly
* Prevent question query to use SQL_CALC_FOUND_ROWS which is relatively slow in big site
* Added support for polylang
* Fixed short link
* Improved notification dropdown toggle
* Improved notification dropdown menu
* Added notification dropdown
* Improved user menu
* Improved anspress pages, menu and slugs
* Improved user menu
* User profile as an addon
* Added load more button in notification
* Improved notification sorting
* Added notification count and mark all notification read button
* Improved notification ref prefetch
* Improved notification query
* Improved best answer notification
* Improved notification flush on post delete
* Delete corresponding notification when a post gets deleted
* Notify user on comment
* Notification for best answer
* Reload reCaptcha after form submission
* Fixed: while editing anonymous user's post author changes
* FIXED: wrong classes for columns in tags and categories
* Fixed tags pagination
* Added recaptcha methods
* Added notifications addon
* Added base query class
* Fixed addons loading
* Improved addons functions
* Added add-on activation hook
* CREATE TABLE IF NOT EXISTS to CREATE TABLE
* Fixed reputation template file location
* Improved category style
* Fixed: strpos(): Offset not contained in string
* Fixed: x-index of snackbar
* Improved category icon
* Store reputation in meta for sorting purpose
* Removed debug code
* Fixed: AP_Roles::remove_roles() should not be called statically
* Added improved version of dynamic avatar addon
* Fixed: private check box not working in form
** Beta 3 **
* Normalize addons path
* Added subscribe button
* Check if user can access post before sending email
* Fixed: PHP Fatal error: Uncaught Error: Call to undefined function ap_delete_subscriptions
* Fixed: Question border not being highlighted
* Removing codeception tests as PHPUnit test will be written from scratch
* Improved email notification and subscribers
* Added email queues and content table
* Added subscription CRUD
* Fix Categories can’t remove icon or add a new one
* When using BuddyPress Add in the links to answers and reps don’t work.
* Fixed MySql datatype of qameta views and flags to store large numbers
* Fixed: illegal string offset date
* Fixed attachment delete
* Fixed delete uploads
* Renamed author page to user page
* Update term ids
* Improved list layout
* Include missing template files
* Rename base.php and content-list.php to question-list.php and question-list-item.php
* Fixed: non-logged in user seeing moderate answer
* Removed dynamic avatar addon
* Migrate category meta
* Fixed static method warning
* Fixed best answer migrate bug
* Do not show upgrade message to new installs
** Beta 2 **
* Improved upgrader script
* Added post activity migrator
* Restore dates of question/answer after migration
* Added best answers migrator
* Added reputation migrator
* Added answers count migrator
* Added vote migration
* Added migration helper
* Fixed reputation prefetching
* Added reputation page in BuddyPress
* Fixed category addon
* Added reputation load more button
* Fixed: category icon and color setting not saving
* Improved reputations
* Improved DB table creation
* Fixed: headers already sent error on saving options
* Improved authors page
* Added question permalink options
* Fixed: clicking on answer order tab scroll to top
* Fixed: uploaded media are not cleared after form submission
* Removed repetitive words from login signup
* Fixed upload progress bar
* Fixed grunt tasks to add missing files
* Fixed wrong class name in hook
* Fixed comment warnings
* Fixed typo in qameta column name
* Fixed wrong user capability check
* Fixed terms
* Added about action link
* Improve about
* Removed unused images
* Added about page
* BuddyPress notification fixes
* Improved buddyPress question and answer page template
* Improved buddypress answer page
* Improved answer link
* Optimized reputation pre fetch
* Improved reputation
* Award reputation for comments
* Added reputation addon
* Fixed addon dir search
* Improved email addon
* Added email addons
* Added tags extension as addon
* Added category extension as an addon
* Added bad words
* Improved recaptcha
* Unselect best answer when its get deleted
* Removed broken widgets
* Improved breadcrumbs
* Delete votes when corresponding votes get deleted
* Improved login/signup template
* Improved addons
* Improved addons and options
* Added addons
* Improved uninstaller
* Added uninstall data tool
* Show notice when option gets updated
* Improved option form
* Added author page
* Renamed theme folder to templates
* Improved search form and widget
* Improved filter search
* Improved list filter
* Improved list style
* Fixed warning in ask question submission
* Check if user can read comment before fetching via ajax
* Improved comment link
* Before improving comments
* Improved comment edit
* Improved comments
* Improved comment form
* Improved comments listing
* Fixed attachment display
* Fixed permanent delete action
* Improved delete and restore actions
* Improved toggle featured action button
* Improved actions and post staus view
* Improved answer permalink
* Improved edit answer page
* Improved question edit page
* Improved close action and select button
* Improved select answer button and post actions
* Delete temporary media using wp_cron
* Finalizing uploader
* Improved uploader
* Improved ask form and vote bug
* Organized assets
* Remove plupload files after uploading files
* Improved uploader
* Improved Backbone collection and view
* Replaced LESS with SCSS
* Improved answer form
* Improved answer form
* Added snackbar
* Adding backbone.js
* Fixed errors in flag.php
* Fixed votes.php errors
* Removed ap_meta table and functions
* Do not store views to ap_views table by default
* Added views table
* Fixed vote and clear flag button in wp-admin
* Removed buddypress hooks
* Added vue.js and answer list in question edit.
* Improved post table
* Improved admin
* Improved option page
* Removed user profile and mentions
* Removed reputation and follow
* Improved query by status
* Removed subscription feature
* Permission check in close question
* Added close button
* Moved status above question
* Closed is not post_status anymore
* Removed activity and notification
* Remove activities page
* Fixed error in admin
* Removed activities
* Improved question activities
* Improved avatar for anonymous user
* Improved avatar generation
* Dynamically generate user avatar
* Added misisng attach table in qameta
* Fixed db error while creating ap_qameta table
* Fixed activity in list
* Releasing 4.0.0-alpha.1
* Fix wpcs reporting
* Fixed errors in qaquery
* Pre cache users
* Delete qameta row when post get deleted
* Improved caching
* Improved attachment cache
* Pre fetch votes
* Improved set featured question
* Improved vote counts
* improved voting
* Improved terms query
* reduced more queries
* Improving query
* Removed more post metas
* Removed flags post meta
* Replaced get_post to ap_get_post
* Improved select answer
* Replaced vote post meta
* Improved query filter
* Replaced deprecated functions
* Removed many unused functions
* Added qameta table
= 3.0.7 =
* Fixed: Inline link in tinyMCE.
= 3.0.6 =
* Fixed: failed to uninstall
* Added action dropdown test
* Fixed: Anonymous name is not showing
= 3.0.5 =
* Fixed: Watch.js not enqueued
= 3.0.4 =
* Fixed: undefined var in tinyMce init
= 3.0.3 =
* Fixed: product update fails
* Improved tip style
* Fixed: warning in ap_get_link_to() if array is passed with ap_page
* i18n: it not a tranlation strings. remove the _x() function
* i18n: breake down the translation string into two strings - a message and an action link
* i18n: avoide using HTML tags in translation strings
* i18n:rewrite the translation string for easier translation in RTL languages
* i18n: simpler translation strings, without unneeded placeholders.
* Fixed: Ajax editor loading
* Fixed: toggling text editor not working in ask form
* Fixed: missing hook
* Editor not expanding for answer form
* Fix: question and answer added from wp-admin are not showing
* Fixed: mention toggling
* Fixed checkbox option not saving properly
= 3.0.2 =
* Fixed reputation issue
* Fixed checkbox not saving in AnsPress options
= 3.0.1 =
* Fixed translation loading
= 3.0.0 =
* Added reset button in option form
* Fixed editor issue
* The function ap_user_get_member_for() previously gave no output for users who joined today.
* Some bug fixes
* Improved question list and home page styles
* Fixed array unique warning
* Fixed featured post sql query
* Fixed: Missing ap-functions.js in wp-admin
* Added ap_canonical_url()
* Improved canonical url
* Improved dashboard
* Define wp-browser version
* Added question sorting by views
* Added filter ap_ask_btn_link
* Improve about page
* Keep dropdown inside window. Also filter dropdown inside window
* Improved toggle user profile
* Improved reputation toggle
* Added option to toggle mention functionality
* Fix: avatar upload
* Fix: question suggestion not loading in wp-amdin
* Detect anspress.php template
* Fix: Prevent moderate answer to be selected as best
* Fix: set featured question not working
* Question widget issue in pagination page
* Added attachment in answers
* Show lists of attachments in questions
* History shows answer author selected best author instead of selector
* Added post action link to convert a question into a post
* Hide notification for trashed items
* Delete notifications after deleting activity
* Fix user widget issue with page pagination
* Added restore post action link.
* Improved post history when answer or comments get deleted.
* Fix: Activity not deleted after deleting parent post
* Improved search form
* Fix: Mark notification as read not working
* Fixed: notification pagination
* Fixed comment edit
* Load comments using JS templates
* Added filter to disable question suggestion while asking.
* FIX: Comment is not removed from DOM after delete
* Deleted question does not return 404
* Fix: Subscribe Widget fatal error
* Made ap_get_questions overridable.
* Search page show wrong message if no results
* Fix: wrong message when there is no question or answer in user profile
* Delete lock for comment is not working
* Add sortby args in AnsPress shortcode
* Fix: Wrong comment count in user profile
* Added ap_no_moderation cap
* Add anonymous post for moderation
* Clear existing form error before submitting form
* Check for duplicate posts
* FIXED: get_currentuserinfo is deprecated since version 4.5!
* Added mention suggestion
* Improved uninstaller
* Do not hold for moderation if moderator
* Improved permanent_delete_post ajax callback
* Improved delete_post ajax callback
* Fixed: question is getting closed after selecting answer if option is enabled.
* Improved select_best_answer ajax callback.
* Improved flag ajax callbacks
* Improved vote ajax callback
* Improved subscribe button
* Converted methods to static and moved to hooks.php
* Removed load_user_field_form ajax callback
* Improved post status update
* Load notification and profile menu dropdown using ajax
* Fixed license saving issue
* Added search-form.php and improved list-head.php
* Load AnsPress assets in menu editor
* Improved filters
* Improved sort filter
* Improved list filter
* Improved base page shortcode
* Fixed: Activation redirect warning
* Moved all add_action and add_filter to hooks.php
* Improved question and answer form.
* Load TinyMCE using ajax.
* Check if required PHP version is installed.
* Fix: Remove hyperlink from post time
* Fix: User can answer even after selecting best answer
* Improved answer form processing
* Load question actions using JS template and improved dropdown
* Improved JS template and hover card
* Added simple JS template (like angular.js) parser
* Improved hover card
* Improved tip and hover card
* Improved admin assets loading
* Fixed wrong method name comment_unapproved in add_action
* Added test for ap_user_can_approve_comment
* Added comment approve button
* Improved comment form for answer
* Improvd display_name filter
* Improved comment and hover card
* Function added install test
* Fixed role bugs and added role unit tests
* Improved ask form
* Fixed ap_user_can_read_post()
* Improving comment template
* Improved comment subscription
* Added subs_answer_id column in subscribers table
* Fix: Hide comment form before loading new
* Fixed: do not allow user to change status if post status is moderate or closed.
* Improved comments form and submission
* language fix
* Fix human_time_diff strings translatable
* Fixed shortcode not to show "AnsPress shortcode cannot be used inside AnsPress content"
* Updated registering option functions and hooks
* Fixed PHP warnings and improved option save action
= 2.4.8 =
* Fixed AnsPress menu not appearing in menu editor.
= 2.4.7 =
* Do not allow using [anspress] shortcode inside [anspress]
* Do not pass $this to class AnsPress_Common_Pages
* Added filter ap_future_post_notice
* Merged question and answer options.
* Added option to show default date format.
* Add translation support in ap_human_time()
* Added future post
* Added comment count in user profile
* Fixed activation error
* Added image uploader in test
* Load AnsPress in plugin_loaded hook
* Added before_loading_anspress action
* Add "have-comments" class when load comment form
* Fixed: overrides.css loading order
* Updated test
* Fix: GMT offset in activity time
* Improved: activities hook and activity time stamp
* Added option to keep stop words in slug
* Added filter: ap_active_user_page
* Improved: status change permission
* Improved: User can delete capability check
* Improved: ap_user_can_edit_question function
* Fixed: bugs reported by CI
* Moved classes to class folder
= 2.4.6 =
* Check Github
= 2.4.5 =
* Check Github
= 2.4.2 =
* Check Github
= 2.4.1 =
* Check Github
= 2.4 =
* Check Github
= 2.3.6 =
= 2.3.5 =
* Check Github
= 2.3.4 =
* Check Github
= 2.3.3 =
* Check Github
= 2.3.1 =
* Check github
= 2.3 =
* Check github
= 2.2 =
* Check github