Please or Register to create posts and topics.

Forum Placed with Shortcode in Kadence Blocks Tab Loses All Formatting

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

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.

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

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

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.

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:
  • forum-format-error-in-tab.png

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).

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

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

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.

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