You sorted out the CSS for the TML login.

Thank you.

But with new account generation, the form content still appears on the extreme left of the screen.

When I try to upload an image to a question I get an error message saying the max upload size is 10 bytes. Where can I update this setting to increase the size?

I get this error message: “Something went wrong, last action failed.” When I try to follow categories, tags or questions.

when I try to follow user I do not get the message and it seems that work but it does not becouse when i recharge the page i am not loger follow the user.

Hi,

I would like to use your plugin on my website as a forum. However, I cannot seem to find an option to allow people to register/login to the forum only without registering for the access of my wordpress website. After registering people seem to have an access to the wordpress dashboard. I just want people to be able to register only to the forum just like on your website. Is there a way to do this somehow?

I’d really appreciate your assistance with this,

Many thanks,

V.

I have added such string to ap-ru_RU.po to have three different strings for my translation for every message:

“Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n”

And some messages have three variants:

msgid “1 Answer”
msgid_plural “%d Answer”
msgstr[0] “%d ответ”
msgstr[1] “%d ответа”
msgstr[2] “%d ответов”

But poedit yells me with errors:

POEdit Error:
nplurals = 3…
2 issues with the translation found.

What do I do wrong?

As Administrator I am getting all the emails I should but users arn’t getting any.

I’ve installed the PHP(Mail) Log and can see the emails are being sent to me but AnsPress for some very odd reason isn’t even trying to send them to the users.

Could this be a settings issues something or somethign I have overlooked?

 

Matt

Hi,

Is there no ‘AP recent posts’ widget? (Either just Questions or both Questions and Answers)

Or is there any other (simple) way to do it?

 

Thanks

WARNING: this will break things if your question have more than one page of answers!!! Do not use in production!

By default, you get links like http://localhost/question/example/?show_answer=201#answer_201. This is bad for many reasons:

  • caching plugins may fail
  • page getting reloaded instead of just jumping around if clicked
  • default answers order getting mixed (especially bad if you, like me, are using “oldest first” to make it look like a forum)
  • some possible SEO issues

The only benefit of such querystring, is reordering of answers (I consider it a bad thing, but some may like it)

To remove querystrings, leaving just the hashtag part, use snippet:

add_filter('ap_answer_post_type_link', 'd_ap_answer_post_type_link', 10, 2);
function d_ap_answer_post_type_link($link, $post) {
	if ($post->post_type == 'answer' && $post->post_parent != 0) {
		$link = get_permalink($post->post_parent) . "#answer_$post->ID";
	}

	return $link;
}

Now it will be http://localhost/question/example/#answer_201.

 

I also highly recommend using CSS like the one I use:

:target {
    background-color: rgba(34, 168, 216, 0.1) !important;
    border: 3px dashed #22A8D8 !important;
}
.target-id-fullwidth:target {
    padding-left: 20px;
}
#answers .type-answer:target {
    padding: 12px;
    margin-left: -15px;
    margin-right: -15px;
}

Example usage: http://dima.stefantsov.com/q/prisedaniya-dlya-mh-v-myshtsah/#answer_2117