Please or Register to create posts and topics.

Some doubts about the logic of the use of plug-ins

The first one is about subscriptions.
Subscribe to the forums and subscription topics, I can understand this, but in the editor below, there is a checkbox option, which is also the subject of the subscription, I would like to ask this subscription is the post or post reply to this post?

The second one is about quoting.
First of all, if the first person I subscribe to replies to subscribe to their reply, then others reference to my post is not similar to reply to my message?

The third one is about page judgment.
Do not know if there is a function plug-in can be used to determine the page? The current forum has three pages, the forum home page, category list page, the content page. I can is like isPress () is_home (), is_category (), is_single ()
The same function to determine the forum page? I currently use WordPress is_page (ID) to judge, but I feel a bit too simple, for example, if I judge the page inside my theme, I do not know other people’s page id.

Fourth, the quoted text is truncated
I think citation should be used to truncate the quoted text because if the quoted text is a large piece of text, then it would be a catastrophe for the person browsing because I’m not sure exactly which is the real content, for example This one:https://asgaros.com/support/?view=thread&id=35&part=1#postid-138

I would like to ask this subscription is the post or post reply to this post?

With this checkbox you subscribe to the topic. When you already have a subscription to this topic and post an answer, this checkbox is marked by default.

With the asgarosforum object you can access information about the current page from a forum-view in which you are located. Properties are:

var $current_category = false;
var $current_forum = false;
var $current_forum_name = false;
var $current_topic = false;
var $current_topic_name = false;
var $current_post = false;
var $current_view = false;
var $current_page = 0;
var $parent_forum = false;
var $parent_forum_name = false;
var $category_access_level = false;

I will check if I can truncate long post in a future version.

If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!

Hello again,

long quotes will get truncated in the next update. You can find the github-commit for it here:

https://github.com/Asgaros/asgaros-forum/commit/6c6c75f54cf0fb814e86a0e7598d7d367896cde4

If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!