Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+4 votes
939 views
in Plugins by
edited by

Now that 1.5 is here(ish), it's time for the scary part... finding out what is broken with our themes and plugins, figuring out how to transfer our core hacks to the new version, etc.

So, seems proper to create a thread for problems with specific plugins.  Gideon already promised to try to be as backward compatible as possible; I've got 1.5 beta working now, and copied over the badge plugin - so far so good, the badge widget shows up fine, admin/plugins works, manual badge reawarding works... still have to test automatic badge awarding, but everything looks great - thanks again, Gideon :)

Plugins that I won't be updating:

  • close question plugin
  • comment collapse plugin
  • ajax comment plugin
  • bookmark plugin

may be others, will have to see one by one how they work with the new code.  But this would be a good place to help find answers to the question of which plugins are incompatible.

 

Q2A version: 1.5b
by
AFAIK, here are the main things in plugins that could break in Q2A 1.5:

1. Trying to access the database from qa-plugin.php. If you need to do this early on during Q2A's processing, consider using a process module.

2. Calling any of the Q2A core functions which are not backwards compatible - see the list on: http://www.question2answer.org/versions.php

3. An editor module which only updates the text field contents when the full web page is POSTed - this doesn't happen with Ajax answer submission. Instead, you can provide a Javascript to run before submission in an update_script(...) method - see qa-wysiwyg-editor.php for an example.
by
Thanks for the info.

2 Answers

0 votes
by

Hi NoahY! I could not find a smiley!

by
okay, I've fixed this - it now shows in the markdown toolbar again.  It still won't show in the initial answer, since it looks like the ajax submission isn't letting plugins do their thing... not sure about that though, have to ask Gideon.  Once you reload the page, though, the smilies show up.
+1 vote
by
User badges pages error!

Notice: Undefined index: value in /home/surakz5/public_html/qa-include/qa-app-format.php(1452) : eval()'d code on line 42

http://image.kz/img/8f/8f852a0f9041210ae7c01b3403793727.png

Polls page too

http://image.kz/img/98/98370333db9b0075f821ae7350a4cf51.png
...