Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[RESOLVED] Nasty Bug in first thread posts (post thinks it is HTML)
#1
ISSUE FIXED: Phew, I can't believe I randomly stumbled upon the answer. While looking to see what a recommended thread display count was for a plugin I recently downloaded, I found they posted a critical update that fixed a problem with their plugin that caused some posts to get "stuffed." When I read that I knew that was it, and sure enough it was, and my problem is now fixed.

-------------------------- ORIGINAL COMPLAINT ------------------------------
I have a really nasty bug that has emerged relatively recently on my own MyBB forums, that's causing some real headaches.

It seems that the first post of every thread (and only the first post) acts as if it requires HTML for proper spacing.

If you write three lines like this:

Hello #1
Hello #2
Hello #3

It shows up like this:

Hello#1 Hello #2 Hello #3

[Image: 2jb8uog.png]

This can be resolved by using html code to break the lines, but obviously I don't allow HTML to my forum users.

Another peculiarity, is that even when you go back into edit and fix the spacing (without using html), and save it... it will appear as if it is fixed, until you refresh the page at which point it breaks again.

Possible causes: This has only become a problem relatively recently, and started occurring around the same time I installed an HTML permissions plugin to give only myself HTML access. I don't think anyone else has had trouble with the plugin, and disabling it doesn't seem to solve the problem, so that might be a red herring.

The fact that it also only occurs for the first post (a new thread basically) makes me think it has something to do with HTML not being closed somewhere outside of the page, which causes it to somehow think it needs HTML on the first post, since I guess that sucks in information when you make a new post? Whereas a thread reply is constrained and can't be contaminated.

I tried to sort of cheat the system to see if this might be it, by adding a closed html tag as the very first line of the new post (with my html enabled), and that didn't solve it so I'm not sure if it is an open tag issue or not, or how to even go about fixing that if it is.
I just ran the forums through validation and it seems to have a ton of errors (30+) with unclosed tags. However, I noticed this when the theme was first installed and was working perfectly fine for a while and it's a fairly popular theme so I never found need to do anything.

How can I go about resolving those errors, or more accurately, what are the ones that are probably most likely related to this issue that I should fix right away? And how do I do that? (if that is indeed the culprit) I'm slowly going through the ones I know how to get to now, but I don't know how to access all of them.
-------------------------------------------------------
[Image: 315bd3l.png]
Reply
#2
If anyone could figure this out, I'd really appreciate it. This really is an odd bug.
-------------------------------------------------------
[Image: 315bd3l.png]
Reply
#3
Test account??
MyBB Support Team Lead
Reply
#4
Username: PROBLEM SOLVED! THANKS EVERYONE
Password: PROBLEM SOLVED! THANKS EVERYONE

Go to Test Area sub-forum.

Inside you will find two areas, one for testing with HTML enabled and one without.

If you meant an administrative test account, please PM me with the access you'd require.
-------------------------------------------------------
[Image: 315bd3l.png]
Reply
#5
Good luck, hope you fix it.
[Image: deities.jpg]
Reply
#6
Thanks Deities. It's quite unusual and the kind of bug that could force a forum to start over.
-------------------------------------------------------
[Image: 315bd3l.png]
Reply
#7
I have never encountered this problem. Maybe it's the version of MyBB you're using? Could be a new/old feature.
Site Owner: http://www.awesomelounge.com

Feel free to join. It's full of greatness.


[Image: s1ckl3r2.png]
Reply
#8
I'm using the latest MyBB (assuming 1.6 didn't just come out).

As I said it worked perfectly fine for a long time, this is a relatively recent problem that seems to of come out of nowhere.
-------------------------------------------------------
[Image: 315bd3l.png]
Reply
#9
Just an update for everyone. Problem is solved! It was apparently coming from a plugin that I had installed around the same time as HTML permissions, so as I thought that was just a red herring. More details about the plugin and the fix posted in the original post.
-------------------------------------------------------
[Image: 315bd3l.png]
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Easy Members Thread's/Post's Serch (TUT) BannedPoop 0 534 06-10-2011, 06:41 AM
Last Post: BannedPoop
  [RESOLVED] Force quick-reply on users? DLight03 5 1,575 05-11-2010, 05:14 AM
Last Post: MattR
  From MyBB To HTML (HQ Post) Kaleb 17 6,297 04-13-2010, 08:03 AM
Last Post: Elektrisk
  [RESOLVED] Removing this navigation from Index? DLight03 2 854 04-08-2010, 02:50 AM
Last Post: DLight03

Forum Jump:


Users browsing this thread: 1 Guest(s)