AnsPress 4.1.0

10.76K viewsUpdates4.1.0 latest review upgrade
0

Upgraded to 4.1.0 to see what the changes are. Looks fantastic, apart from some minor “changes” ?

  • ASK page now works as a page in it’s own right. This is great, but you lose the slug (in my case, “community”) so (example) https://www.phenomlab.com/community/ask now becomes https://www.phenomlab.com/ask. Not that big a deal, but doesn’t look great from the cosmetic perspective
  • Add-Ons seem to be broken in terms of layout – looks as though JS or CSS is not being loaded properly. I thought that this may be a caching issue, but it isn’t. Nothing logged in the developer console either. Actually, it does appear “functional”, but not really intuitive.
  • Questions now appear like “post views” – is this intentional ? It’s broken my layout slightly ?
0

Used latest commit from branch 4.1.0 this morning and updated all files. Not sure what has changed, apart from a couple of additions in the settings panel ? Still not working as follows

  • Reputation link (when clicking a user, get a 404)
  • Tags are still being stripped as previous
  • Tags are not shown on question page

@rahul – did I miss something ?

Thanks

0

Tags are definitely not being saved from what I see. Using wp-admin backend to effectively edit the question, and the tags are not saved when selecting “Update”

commented on answer

Interestingly, using the front end to submit a new question, it seems to work fine. However, you can replicate this issue by accessing the question at the back end and then click update – it will strip your tags. Able to reproduce on every occasion.

I think this issue is related to tags permalink which is unfinished at the moment. Today I am working on comments and I will fix rewrite/permalink issue once finished.

Makes sense. Thanks Rahul.

0

Rahul,

Will the Github updater plugin automatically pull in updates for the 4.1.0 branch, or should I perform a periodic update / clone ?

Thanks

commented on answer

Not sure about public users but as a repository owner our testing site get auto updated every time I commit. I will try as a public user.

Right. Could you do me a favour, and let me know when the updates are being pushed ? I’d like to keep up to date with the progress. You can reach me on the email address assigned to my login here. Thanks

Simply follow AnsPress repository in github.

Thanks. Already doing so.

0

@Rahul – tags do not seen to be saved when editing a question – either from the front-end or back-end. Is this expected ?

commented on answer

No this is not expected behavior. Though its working fine in our dev site. Is there any JS issue?

Not as far as I can see, but I’ll check again

Also, tags are not shown when viewing a question as far as I can tell.

Just checked again, strpping all plugins. Tags are not even saved using wp-admin ??

Confirmed, issue related to permalinks. I will push unfinished tasks tomorrow. Thanks for reporting

🙂 No problems

1

Fixed lots of code on my site – Rahul is correct. I do have a custom wp-single.php file that I wrote for the theme I use, as it enables Parallax. So, I needed to make a small change

Essentially, look for a populated value – if it doesn’t exist, use the below hard coded image (just a test). If it does, then use the image specified in the post.

if (the_post_thumbnail_url(full) == NULL) {
$imageurl = “https://www.phenomlab.com/wp-content/uploads/2017/10/forensic.jpg”;
} else {
$imageurl = the_post_thumbnail_url(full);
}

That cures the missing image !

commented on answer

Nice. Featured image is on my list. I will notify you when its get added.

0

Seems to be a CSS change in terms of ap-comments -> apcomments ?

1

I HAVE to say, this is a MASSIVE improvement. Thanks very much to Rahul and the rest of the team. It’s so much faster too !

commented on answer

Well deserved ! Will the GitHub updater plugin automatically detect changes as you add them ? Happy for my site to be the testing lab !

1

Right. Got it. Dropped main plugin directory name of “anspress-question-answer” and then uploaded the GIT based plugin instead as a zip. All “cosmetic” issues appear to be resolved 🙂

commented on answer

Please avoid updating live site. Use localhost instead for testing.

Am testing on live – Big fan of bleeding edge, and I can help you work out the bugs faster !

1

Mark,

Thanks for trying it out.

  1. If you want community slug before ask then simply make ask page a child of community. 🙂
  2. May be CSS cache but not sure.
  3. I think its because of question.php template you are overriding. There is a slight change in template. This is a major change done in this version. Single question now behave like real WP single post. So that all other 3rd party widget and plugin should work as expected. But layout should be same there is not any change in single question layout.
commented on answer

“Single question now behave like real WP single post”. I think that’s the issue. I use the X-Pro theme, so each question is now including a header and image – not the end of the world, but a bit annoying 🙂 I’ve fixed the /ask slug – it’s now a child page of /community, so the URL works as expected.

0

Hmm. User profile links are now broken /user/username now throws up a 404.

commented on answer

Yes, user, category and tags url will give 404 error. I am working on it.

Got it. Thanks. Let me know as soon as it’s ready !

I expect that’s also why the existing tags and categories are now missing ?

Just to be clear, the tags and categories are still in the actual post, but do not show in the front-end