Ever since the recent [url=http://cityoftitans.com/forum/site-maintenance]site maintenance[/url], there seems to be an error in Forum Post Formatting, where extra HTML line-breaks and paragraphs are being introduced to all posts, including old postings.
I think I saw a suggestion that this may have been introduced by a hiccup between the storage database and the HTML-composer? That makes a certain sense to me, since I've seen such things in my own dayjob, where pages come out all wrong, in unexpected fashion.
Could we have feedback and discussion about fixing this? Sometimes I want my posts to come out looking a particular way.
Be Well!
Fireheart
The quoting appears to be having some issues, as well. Using the [ quote ] code works normally for nested quotes but in several cases the quoted text has become one large block of text. [url=http://cityoftitans.com/comment/102995#comment-102995]This post[/url] is a weird example since the original post includes both single and double line breaks and the quote maintains the single line break but has removed the double line breaks. Admittedly, I am assuming that the posters have made no changes to the quoted text.
- - - - -
[font=Pristina][size=18][b]Hail Beard![/b][/size][/font]
Support [url=http://cityoftitans.com/comment/52149#comment-52149]trap clowns[/url] for CoT!
[Url=http://cityoftitans.com/forum/discuss-site-maintenance]This thread[/url] from Lin Chiao Feng was the first I heard about this issue.
Foradain, Mage of Phoenix Rising.
[url=https://cityoftitans.com/forum/foradains-character-conclave]Foradain's Character Conclave[/url]
.
Avatar courtesy of [s]Satellite9[/s] [url=https://www.instagram.com/irezoomie/]Irezoomie[/url]
The quotes getting bolloxed up is because, for some reason I don't know, the quoting mechanism has always replaced nested BBCode quote tags with HTML blockquote tags (and a lot more formatting), and now that HTML tags are ignored, it all turns into one run-on blob of text.
[i]Has anyone seen my mind? It was right here...[/i]
^^ Brutally pruned the excess code.
Yes, I moved the focus to here in the Bugs section, because that 'Site Maintenance' thread kept disappearing under the other Announcement Discussions.
Be Well!
Fireheart
It may be working as intended. The site went down because someone allowed malicious software in through HTML embedding. Now only admins can use HTML. In the process our BBCode was updated and refreshed, as it was going to be needed more :D.
[center]--------------------------[/center]
[center][color=#ff0000]Interior Map Lead and UI Designer[/color][/center]
I don't think the quote system is quite working as intended, especially for nested quotes.
Over on another thread, Radiac made [url=http://cityoftitans.com/comment/103062#comment-103062]a post[/url], from which I made this cut and paste copy, and then I used the Preview button below to make sure it's as close to the original as possible, though it doesn't have Radiac's .sig. The lines I put in to show where the quote begins and ends:
___________________________________________________________________________________________
As I understand the terms, "action MMO" means "twichiest player wins", CoX wasn't like that and it is my belief that they're not going to make CoT like that either, for that reason (spiritual successor).
I believe there will be tab to target and when powers are used, you'll hit or miss based primarily on a pseudorandomized "roll to hit" with modifications possible form a number of sources. I hesitate to say "gear" because people tend to assume that means "gear" in the WoW sense and not in the CoX sense, butto me it's still gear in some sense. Also, other factors, I know not which.
___________________________________________________________________________________________
Now here's what you get using the Quote button:
And finally, this is what you get when you quote blacke4dawn's [url=http://cityoftitans.com/comment/103081#comment-103081]post[/url] which quoted Radiac's [url=http://cityoftitans.com/comment/103062#comment-103062]post[/url]:
When I look at the text as I edit this post, I can clearly see < > codes, that, for example, delineate the end of Radiac's post in blacke4dawn's post, although don't seem to make it through to the preview...
Foradain, Mage of Phoenix Rising.
[url=https://cityoftitans.com/forum/foradains-character-conclave]Foradain's Character Conclave[/url]
.
Avatar courtesy of [s]Satellite9[/s] [url=https://www.instagram.com/irezoomie/]Irezoomie[/url]
I understand that the use of HTML tags allowed an exploit or a thousand. Frankly, I was surprised it was alllowed at all.
[b]But don't you dare for a second try to anoint the current mess as "working as intended."[/b] If I tried to pull that shit at work, I'd be fired.
Right now you guys are simply stripping all HTML tags, and inserting some hodgepodge as with the BBCode code tag. That's a stopgap. Your code is still converting quotes to HTML, among other things, and that is generating incorrect code.
So you've got a couple of options:
[list][*]Fix the parser so it handles the HTML in a way that is both correct and removes the exploit.
[list][*]If this fix breaks a few posts, send PMs to the post authors with links to those posts so they can fix them.
[*]If a lot of posts are still broken, e.g. all quote blocks are unformatted, you're not done; improve the parser.[/list]
[*]Permanently ban HTML and go BBCode-only.
[list][*]Update the parser to allow nested quotes, and go through the entire database (this could take a long time, like a day) and fix all the existing posts' quotes. Again, if there are a few that can't parse, have the post authors fix them.[/list][/list]
In any case, I consider the current site's state to be a "work in progress," believe that this issue will be resolved one way or another, and staunchly believe that it won't be left like this for the rest of the year.
And if you're really that short-handed and can't get the parser to behave, pitch me an NDA and I'll see what I can help with. I'm no fan of PHP (the intranet site I develop at work is Python-based on the back end, and I've had to do these kinds of database retcons before), but I'll try my best.
P.S. phpBB supports the BBCode-only route, all the extensions I see here except iframes, and it's already written in PHP. If all else fails, you can probably steal code from it. Then you just have to deal with the database retcon, and rip out the code that transmogrifies nested quotes because phpBB's parser is fine with nested quote tags.
[i]Has anyone seen my mind? It was right here...[/i]