Forum Placed with Shortcode in Kadence Blocks Tab Loses All Formatting
Quote from Forson on May 20, 2019, 10:06 amI am attempting to insert the forum shortcode [forum forum="2"] in a Kadence Blocks Tab module.
When I do the forum loses all formatting and becomes a text only version of the form where the links do not do as expected.
Do you have any suggestions as to what I could do to be able to embed forum using the shortcode above in a Tabs Module?
Thanks,
Andrew
I am attempting to insert the forum shortcode [forum forum="2"] in a Kadence Blocks Tab module.
When I do the forum loses all formatting and becomes a text only version of the form where the links do not do as expected.
Do you have any suggestions as to what I could do to be able to embed forum using the shortcode above in a Tabs Module?
Thanks,
Andrew
Quote from Asgaros on May 20, 2019, 12:40 pmHello @forson
If you dont use the content of WordPress posts or pages for the forum-shortcode, your plugin must save its data as a custom-posttype. If this is not the case, the forum will not be able to detect the URL to the corresponding datatype which is used by the plugin – thats why the links and stylesheets cannot get loaded properly.
I dont know the plugin which you are using but I suggest you to contact and ask them about how they store their content inside of the database.
Hello @forson
If you dont use the content of WordPress posts or pages for the forum-shortcode, your plugin must save its data as a custom-posttype. If this is not the case, the forum will not be able to detect the URL to the corresponding datatype which is used by the plugin – thats why the links and stylesheets cannot get loaded properly.
I dont know the plugin which you are using but I suggest you to contact and ask them about how they store their content inside of the database.
Quote from Forson on May 20, 2019, 7:14 pmHi @Asgaros,
Thank you for your responses here and on the Wordpress site. I think the problem may be because of the Forum location.
I am trying to have multiple implementations of your Forum in one website. So…
On page 2 – [forum forum="2"]
On page 3 – [forum forum="3"]
On page 4 – [forum forum="4"]
etc…
Is this possible? If so what should i set the Forum location too in settings?
Thanks
Hi @Asgaros,
Thank you for your responses here and on the Wordpress site. I think the problem may be because of the Forum location.
I am trying to have multiple implementations of your Forum in one website. So…
On page 2 – [forum forum="2"]
On page 3 – [forum forum="3"]
On page 4 – [forum forum="4"]
etc…
Is this possible? If so what should i set the Forum location too in settings?
Thanks
Quote from Gespanne on May 20, 2019, 11:56 pmI’m not sure that this will make a difference but are you using the widget block “shortcode”. If not the block may not pass I/O correctly. I don’t believe that Kadence publishes a shortcode block, it is part of the basic generic Gutenberg block set.
I’m not sure that this will make a difference but are you using the widget block “shortcode”. If not the block may not pass I/O correctly. I don’t believe that Kadence publishes a shortcode block, it is part of the basic generic Gutenberg block set.
Quote from Forson on May 21, 2019, 6:38 amI have now tried with the shortcode widget block, as well as placing the shortcode widget block within a “row” block. Neither work. All formatting and Forum functionality are lost when the Forum shortcode is placed within a tab block.
I have attached a screen cap of the issue…
Do you have any other suggestions?
Thanks
I have now tried with the shortcode widget block, as well as placing the shortcode widget block within a “row” block. Neither work. All formatting and Forum functionality are lost when the Forum shortcode is placed within a tab block.
I have attached a screen cap of the issue…
Do you have any other suggestions?
Thanks
Uploaded files:Quote from Asgaros on May 21, 2019, 7:54 pmHello @forson
Basically the location-setting is only relevant for widgets so they know to which instance they have to link if it is placed outside of a forum-page.
The main-issue on your side seems, that for some reason the Asgaros Forum plugin cannot figure out that you are actually on a page which contains the shortcode. Because of this, the entire scripts are not included and not getting executed to reduce server-load. Usually this issue only occurs, when the forum-shortcode is not saved inside of the content-area of a (custom) post-type. Maybe there are some other plugins active on your website which are modifying the content-area in some way that exactly this happens (for example page-builder extensions, etc).
Hello @forson
Basically the location-setting is only relevant for widgets so they know to which instance they have to link if it is placed outside of a forum-page.
The main-issue on your side seems, that for some reason the Asgaros Forum plugin cannot figure out that you are actually on a page which contains the shortcode. Because of this, the entire scripts are not included and not getting executed to reduce server-load. Usually this issue only occurs, when the forum-shortcode is not saved inside of the content-area of a (custom) post-type. Maybe there are some other plugins active on your website which are modifying the content-area in some way that exactly this happens (for example page-builder extensions, etc).
Quote from Forson on May 21, 2019, 8:48 pmDear Asgaros,
The issue is the Toolset Plugin. When placing the forum shortcode in a content template something happens that strips the forum of all the formatting.
I will be addressing this issue with them.
Thanks
Dear Asgaros,
The issue is the Toolset Plugin. When placing the forum shortcode in a content template something happens that strips the forum of all the formatting.
I will be addressing this issue with them.
Thanks
Quote from Asgaros on May 21, 2019, 9:15 pmI am happy to hear that you have found the component which is causing this issue. If the developers of the Toolset Plugin have some answer regarding this issue, please let me know. Maybe we can find a way to ensure compatibility between those two plugins.
I am happy to hear that you have found the component which is causing this issue. If the developers of the Toolset Plugin have some answer regarding this issue, please let me know. Maybe we can find a way to ensure compatibility between those two plugins.