Create topics for new blog posts in the following forum – Ideas and comments
Quote from Jan on December 7, 2017, 10:25 amHi, option “Create new posts in the following forum” – great features, exactly what I was looking for.
I have a few comments:
1) I would like to limit the length of the copied text. Now the whole post is copied. Only without pictures. Ideal would be a choice from two options:
a. no limitations (such as now)
b. limiting the maximum number of characters or words.2) In the topic I would like a link to an post. Is it possible?
3) topics is also created when creating every new page (I use multisite) – bug?
4) I use several subdomains in multisite. Topics are created only from posts on one subdomain. On the subdomain on which this forum is active. This is not ideal. And these topics can only be written in one forum on this subdomain. This is also not ideal.
Maybe I have a badly configured forum. But I tried both variants.
First option: Forum on the main domain – the same problem.
The second option: a forum on a special subdomain for the forum – forum.xxx.xy – the same problem.For multisite – would this be possible?
new post on Subdomain1.xxx.ab – automatically creates new topic on Forum1 on subdomain Forum.xxx.ab
new post on Subdomain2.xxx.ab – automatically creates a new topic on Forum2 on the subdomain Forum.xxx.ab
new post on Subdomain50.xxx.ab – automatically creates a new topic on Forum50 on subdomain Forum.xxx.abAn even better solution (but probably more complicated):
new post on Category1 on Subdomain1.xxx.ab – automatically creates a new topic on Forum1 on subdomain Forum.xxx.ab in Category1
new post on Category8 on Subdomain3.xxx.ab – automatically creates new topic on Forum3 on subdomain Forum.xxx.ab in Category8
new post on Category4 on Subdomain50.xxx.ab – automatically creates new topic on Forum50 on subdomain Forum.xxx.ab in Category4Forum location – now it is a page that contains shortcode [forum]. It would be necessary to specify exactly where it is. On which subdomain this page is.
Would these changes be possible?
Thank you for your help and your answer.
Regards, Jan
Hi, option “Create new posts in the following forum” – great features, exactly what I was looking for.
I have a few comments:
1) I would like to limit the length of the copied text. Now the whole post is copied. Only without pictures. Ideal would be a choice from two options:
a. no limitations (such as now)
b. limiting the maximum number of characters or words.
2) In the topic I would like a link to an post. Is it possible?
3) topics is also created when creating every new page (I use multisite) – bug?
4) I use several subdomains in multisite. Topics are created only from posts on one subdomain. On the subdomain on which this forum is active. This is not ideal. And these topics can only be written in one forum on this subdomain. This is also not ideal.
Maybe I have a badly configured forum. But I tried both variants.
First option: Forum on the main domain – the same problem.
The second option: a forum on a special subdomain for the forum – forum.xxx.xy – the same problem.
For multisite – would this be possible?
new post on Subdomain1.xxx.ab – automatically creates new topic on Forum1 on subdomain Forum.xxx.ab
new post on Subdomain2.xxx.ab – automatically creates a new topic on Forum2 on the subdomain Forum.xxx.ab
new post on Subdomain50.xxx.ab – automatically creates a new topic on Forum50 on subdomain Forum.xxx.ab
An even better solution (but probably more complicated):
new post on Category1 on Subdomain1.xxx.ab – automatically creates a new topic on Forum1 on subdomain Forum.xxx.ab in Category1
new post on Category8 on Subdomain3.xxx.ab – automatically creates new topic on Forum3 on subdomain Forum.xxx.ab in Category8
new post on Category4 on Subdomain50.xxx.ab – automatically creates new topic on Forum50 on subdomain Forum.xxx.ab in Category4
Forum location – now it is a page that contains shortcode [forum]. It would be necessary to specify exactly where it is. On which subdomain this page is.
Would these changes be possible?
Thank you for your help and your answer.
Regards, Jan
Quote from Asgaros on December 7, 2017, 3:00 pmHello Jan,
because I dont want to overload the forum with hundreds of settings for small features, I will adding new filters and hooks to the forum which allows you to modify stuff.
I would like to limit the length of the copied text
I will add two new filters with the next update which allows you to modify the title and content of the automatically created topics:
- asgarosforum_filter_automatic_topic_title
- asgarosforum_filter_automatic_topic_content
Here is the patch:
https://github.com/Asgaros/asgaros-forum/commit/4eaa1840a6fd0cc3924f8d5cc6f2ed3ab00549ef
In the topic I would like a link to an post. Is it possible?
You will be able to append/generate this to the end of the topic-content via theĀ asgarosforum_filter_automatic_topic_content filter as well.
topics is also created when creating every new page (I use multisite) – bug?
This was a bug and has already been fixed in the development-version. Here you can find a patch:
https://github.com/Asgaros/asgaros-forum/commit/22d8783a85f6d9e75bbeae2d8190f362b4c0c5fd
Forum location – now it is a page that contains shortcode [forum]. It would be necessary to specify exactly where it is. On which subdomain this page is.
This is not possible at the moment. I mainly use this option to check, if the user currently visits the page where the forum is located to not execute code which I dont need to run otherwise. And to generate the widget-links. Why I need this setting at all? Because a user generally can place the forum-shortcode on every page he wants. And when it is located on multiple pages – maybe for testing purposes or because he is using shortcode-parameters to show different forums on different pages – the widget for example doesnt know internally to which page he should link.
Maybe I can find a better way for this one day but I assume that this brings the need for a lot of internal changes and refactoring. So I cant tell you now when this will happen.
Hello Jan,
because I dont want to overload the forum with hundreds of settings for small features, I will adding new filters and hooks to the forum which allows you to modify stuff.
I would like to limit the length of the copied text
I will add two new filters with the next update which allows you to modify the title and content of the automatically created topics:
- asgarosforum_filter_automatic_topic_title
- asgarosforum_filter_automatic_topic_content
Here is the patch:
https://github.com/Asgaros/asgaros-forum/commit/4eaa1840a6fd0cc3924f8d5cc6f2ed3ab00549ef
In the topic I would like a link to an post. Is it possible?
You will be able to append/generate this to the end of the topic-content via theĀ asgarosforum_filter_automatic_topic_content filter as well.
topics is also created when creating every new page (I use multisite) – bug?
This was a bug and has already been fixed in the development-version. Here you can find a patch:
https://github.com/Asgaros/asgaros-forum/commit/22d8783a85f6d9e75bbeae2d8190f362b4c0c5fd
Forum location – now it is a page that contains shortcode [forum]. It would be necessary to specify exactly where it is. On which subdomain this page is.
This is not possible at the moment. I mainly use this option to check, if the user currently visits the page where the forum is located to not execute code which I dont need to run otherwise. And to generate the widget-links. Why I need this setting at all? Because a user generally can place the forum-shortcode on every page he wants. And when it is located on multiple pages – maybe for testing purposes or because he is using shortcode-parameters to show different forums on different pages – the widget for example doesnt know internally to which page he should link.
Maybe I can find a better way for this one day but I assume that this brings the need for a lot of internal changes and refactoring. So I cant tell you now when this will happen.