Hidden 10 yrs ago Post by Everblight
Raw
OP
Avatar of Everblight

Everblight

Member Seen 7 yrs ago

The BBcode for Centering seems to only work on one line. So you can center one line of text but for instance if you have a large block of text and you try to center the entire post it doesn't seem to work e.g



vvvvvvvvvvvvvvvvvvvvvvvvvvvv
vvvvvvvvvvvvvvvvvvvvvvvvvvvv
vvvvvvvvvvvvvvvvvvvvvvvvvvvv
vvvvvvvvvvvvvvvvvvvvvvvvvvvv

Hidden 10 yrs ago Post by Mahz
Raw
Avatar of Mahz

Mahz ¯\_(ツ)_/¯

Admin Seen 12 hrs ago


vvvvvvvvvvvvvvvvvvvvvvvvvvvv
vvvvvvvvvvvvvvvvvvvvvvvvvvvv
vvvvvvvvvvvvvvvvvvvvvvvvvvvv
vvvvvvvvvvvvvvvvvvvvvvvvvvvv




vvvvvvvvvvvvvvvvvvvvvvvvvvvv
vvvvvvvvvvvvvvvvvvvvvvvvvvvv
vvvvvvvvvvvvvvvvvvvvvvvvvvvv
vvvvvvvvvvvvvvvvvvvvvvvvvvvv



You can see my code if you click View Raw. Not sure what you could be doing differently.
Hidden 10 yrs ago Post by Captain Jordan
Raw
Avatar of Captain Jordan

Captain Jordan My other rocket is a car

Member Seen 11 mos ago

He's putting linebreaks in.



There's two linebreaks above this.
And below this.




One linebreak above this.
And below this.


No linebreaks above this.
Or below this.


All on one line. Works just fine.


EDIT: Whelp, interesting, that all works. Let's see if his exact code does the same thing:



vvvvvvvvvvvvvvvvvvvvvvvvvvvv
vvvvvvvvvvvvvvvvvvvvvvvvvvvv
vvvvvvvvvvvvvvvvvvvvvvvvvvvv
vvvvvvvvvvvvvvvvvvvvvvvvvvvv



EDIT2: Glitch fixed already? Does your QQCode evaluate on post submission or post load? If the former, it could be code that's already fixed.
Hidden 10 yrs ago Post by Mahz
Raw
Avatar of Mahz

Mahz ¯\_(ツ)_/¯

Admin Seen 12 hrs ago

I haven't touched anything. I just copy and pasted Everblight's code into the textarea and submitted.

A post is rendered and cached to an html file on post creation and update.
Hidden 10 yrs ago Post by Captain Jordan
Raw
Avatar of Captain Jordan

Captain Jordan My other rocket is a car

Member Seen 11 mos ago

Mahz said
I haven't touched anything. I just copy and pasted Everblight's code into the textarea and submitted.A post is rendered and cached to an html file on post creation and update.


Fix any QQCode code recently? Or something related?

Also, does this mean you're using a flat file format instead of a database?
Hidden 10 yrs ago Post by Mahz
Raw
Avatar of Mahz

Mahz ¯\_(ツ)_/¯

Admin Seen 12 hrs ago

Captain Jordan said
Fix any QQCode code recently?


No, and especially not since OP posted. I can't reproduce the issue.

Captain Jordan said
Also, does this mean you're using a flat file format instead of a database?


I store the raw QQCode/post in the database but cache the rendered html to flat files.
Hidden 10 yrs ago Post by Captain Jordan
Raw
Avatar of Captain Jordan

Captain Jordan My other rocket is a car

Member Seen 11 mos ago

Mahz said
No, and especially not since OP posted. I can't reproduce the issue.


Well, you can see how easily I reproduced it. IOW, not at all.

Mahz said
I store the raw QQCode/post in the database but cache the rendered html to flat files.


Okay, interesting. Just curious there.
Hidden 10 yrs ago Post by Everblight
Raw
OP
Avatar of Everblight

Everblight

Member Seen 7 yrs ago


vvvvvvvvvvvvvvvvvvvvvvvvvvvv
vvvvvvvvvvvvvvvvvvvvvvvvvvvv
vvvvvvvvvvvvvvvvvvvvvvvvvvvv
vvvvvvvvvvvvvvvvvvvvvvvvvvvv




vvvvvvvvvvvvvvvvvvvvvvvvvvvv
vvvvvvvvvvvvvvvvvvvvvvvvvvvv
vvvvvvvvvvvvvvvvvvvvvvvvvvvv
vvvvvvvvvvvvvvvvvvvvvvvvvvvv



Now it seems to work o.O

I just edit and reposted my original post and it's fixed!

But it doesn't seem to be working for a large CS I've posted on another thread.
Hidden 10 yrs ago Post by Captain Jordan
Raw
Avatar of Captain Jordan

Captain Jordan My other rocket is a car

Member Seen 11 mos ago

I've seen IntChks and OOCs that use large blocks of text within [ center ] have troubles, too. Not sure what the cause of those were.
↑ Top
© 2007-2024
BBCode Cheatsheet