Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+29 votes
2.5k views
in Q2A Core by

I'm going to use this question to post various updates on Q2A development as it occurs. A few important things to note about v1.9:

  • The minimum PHP requirement will be version 5.4. Market share for <=5.3 has dropped below 20%, and those versions have not been officially supported by PHP for over 4 years. If you are still using PHP 5.3 I suggest looking to upgrade as soon as possible.
  • The old includes from qa-include/ (directly, not including subfolders) will be deleted. Since v1.7 they were moved to the subfolders (app/, db/ etc) and stubs added for backwards compatibility. Any plugins still using those should update to use the newer includes, for example change
    require_once QA_INCLUDE_DIR . 'qa-app-posts.php';
    to
    require_once QA_INCLUDE_DIR . 'app/posts.php';
  • Namespaces are being used in the core code. I wrote a little about this in the docs here but the main gist is that it's much easier to use certain classes - you just use them, no need to include PHP files first.

I will add answers with updates every so often.

Q2A version: 1.9-alpha :)
by
+1
Thats great! will this improve speed of q2a? or just good restructuring from coding point.

btw, When you are planning to release 1.9?
by
I know that I shouldn't be asking for a feature request when you are already working hard for the new version. But this feature is very very very very very very necessary to work with Q2A at this moment.
Please please please add a way to verify user by admin if, he/she doesn't receive an email. Nowadays I get so many messages that people are not able to register because they are not receiving emails and when it happens with a friend and you have no way to verify their account. Then it becomes quite frustrating and shameful at the same time. So it's a humble request, please provide a way to verify users by admins.
by
+2
@Gurjyot If people aren't receiving emails then it's worth checking your email provider. Users can also resend confirmation emails (at the /confirm link). Or you can get the link yourself using the 'emailcode' field in the users table and going to /confirm?c=CODE&u=USERNAME
by
I have talk to them and when they check then email reach to their account or to mine. Moreover, the mass mailing is working fine and a lot of new users do get verification emais. But those few who doesn't get are the main problem. They contact me through FB page or feedback page. And I really don't have anything to say to them other than try to resend the email. And being owner of website I feel like my hands are tied during that moment.
by
@scott, this will break many plugins. We need to tell users for checking plugin compatibility before installing 1.9.
by
@Gurjyot is it due to mail going to spam? Have you checked if any particular domain like yahoo is causing this?
by
+1
Hi @arjunsureh, actually it's not just because they are going in spam. After using SMTP, less emails started to go in spam and even if anyone had an issue the I first say them to check their spam folder. The problem arise when they doesn't find the email even in spam folder. Then I literally have no choice but to delete their account and ask them to try and register once again and then hope that they receive the email this time (in which case, sometimes they do receive the email and sometimes they don't).
by
+4
@ProThoughts Plugins have had years to update their includes. Q2A 1.8 gives deprecation notices (in debug mode) so you can check now if there would be any problems with the plugins you have installed.
by
Like removing accent in url , if you can this changing for tags , username and category will be better @Scott

Thanks a lot for all your works
by
+1
May we know if there are still progress for 1.9?
by
+2
@MathUser I am still working on Q2A when I can, unfortunately that is not very often.
by
+1
That's good to know, at least we will be waiting for the release when it's ready.
by
Hello @Scott, do you still have plans to continue working on this?

2 Answers

+12 votes
by

January 2019 update

Most of the recent updates have been reorganising/refactoring the code rather than new user-facing features. We've added a new "Controller" system similar to other frameworks like Laravel or CodeIgniter, where URLs like 'user/{str}' for the user profile are mapped to a function like \Q2A\Controllers\User\UserProfile::profile(). This adds a bit more flexibility to URLs and allows for new features like changing the user profile URL structure.

I've also added new database classes, DbConnection and DbResult which use PDO (built-in PHP database library). This has built-in "parameterised queries" which is a simpler system than current queries. There's also a "Service" system so using the database is quite easy and you can chain some commands:

$postList = qa_service('database')->query('SELECT * FROM ^posts WHERE id=?', array($id))->fetchAllAssoc();

Thanks to pupi1985 who helped with a few key parts of the above like adding support for WHERE...IN queries. And Spudley who has contributed a few other refactorings for emails and the recalc system.

by
+1
When will this release be published?
by
moved by
+2

I am missing you. Please come back crying 

by
moved by
+1
Plz update next version quickly
by
Hello, I love the Q2A software, I want it to improve constantly, I want it to come to a good place.

Glad to hear you're working on it for version 1.9

Thank you for offering this service for free.

Q2A both the management panel and the user panel need to be organized, it can be made more professional in order to be more professional.

You offer the Q2A software for free, I am aware that you cannot make any income from it, but after the system is built solid, you can make quality plugins and themes and sell them on your site and earn a profit.

I hope you will come to a good place and you will get a great reward for your efforts.
+1 vote
by

May we know if there are still progress for 1.9?

by
+1
Im still hoping @svivian will come back.

Atm, I think it would be better if @pupi1985 will takeover the development. He is very active here and on GitHub
...