Clear all

wpForo 1.x.x [Solved] User posted post that broke forum layout

3 Posts
2 Users
Posts: 993
Topic starter
Noble Member
Joined: 4 years ago

Hi, You may have just seen i posted about broken forum layout on a certain page. 

Well, I found the problem was in a certain users post. They had added some code to add a video and it messed with the page layout. 

Once i had deleted the post, everything went back to normal.

I dont think its right that code in users posts can have a effect on the lay out of the page? Is that a potential bug that needs fixing?


2 Replies
Posts: 9966
Support Team
Joined: 7 years ago

This can happen with any forum software. This is not a bug, this is the HTML programming language that is used by all browsers. If user copy an HTML content from other website and paste it in editor, and some <div> or other tags are not closed the forum layout will be broken in that topic. There is no way to scan copy/pasted HTML code and close all unclosed tags. And there is no way to filter those, because those are allowed and regular tags.

You should find that post in the forum database > wp_wpforo_posts table, edit the body and try to repair or strip the HTML. I'd recommend repair, because stripping HTML may remove images.

Repair HTML:

Strip HTML:


IMPORTANT: after fixing the HTML and updating the body field of that post in database, you should delete wpForo cache to see the result. The wpForo delete cache button is located in Dashboard > Forums > Dashboard admin page.


1 Reply
Joined: 4 years ago

Noble Member
Posts: 993

@robert I just deleted it mate 😉 

Thanks for the info, much appreciated