MyBB Community Forums

Full Version: [F] <A> tag in forum description
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
It totally messes up the design when adding an <A HREF> tag to a forum description in the admin CP.
Can't confirm, works fine here. Maybe you could post exactly what you entered into the description field?
I entered

Use this forum to post about anything miscellaneous, as long as it abides by the <A HREF="http://mysite.myhost.com/mybb_140_beta_1/announcements.php?aid=1">Rules and Regulations</A>.

I get the same effect after refresh.
Ok, confirmed using that description. It seems that the description is truncated after the opening tag which messes things up around it.
It's not the end of the world--it still works on the home page. But it would be a nice fix if someone would do so.
fyi..that code is not xhtml compliant...not sure it will matter though but this is how you would do it:


Use this forum to post about anything miscellaneous, as long as it abides by the <a href="http://mysite.myhost.com/mybb_140_beta_1/announcements.php?aid=1">Rules and Regulations</a>.

XHTML tags cannot be upper case

Alright...other problems come out of this too.

I tried to use single quote and it worked. Yet it totally screwed the forum to make it unmanageable:

http://upload44.com/uploads/957-070208-185533.png

I can only assume that the description is screwing up the ajax or something. The "option" button for the forum isn't clickable anymore. To delete it I have to delete the entire forum category. Total problem. It's in IE and Opera.
The easiest solution would simply be to not truncate the description in the Admin CP.
or we could strip the html?

Which should we do?
But people use HTML in descriptions, if you stripped it some people would be angry. (Unless you mean just stripping it for the Admin CP part and not the front end). Changes are forum descriptions wouldn't be so long they would break anything by not being truncated?
(2008-07-03, 02:22 AM)MrDoom Wrote: [ -> ]But people use HTML in descriptions, if you stripped it some people would be angry. (Unless you mean just stripping it for the Admin CP part and not the front end). Changes are forum descriptions wouldn't be so long they would break anything by not being truncated?

Just the admin cp.
Pages: 1 2