Some doubts about the logic of the use of plug-ins
Quote from 风起云落 on November 5, 2017, 4:35 amThe 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
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
Quote from Asgaros on November 5, 2017, 2:41 pmI 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.
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.
Quote from Asgaros on November 24, 2017, 12:30 pmHello 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
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