Any BBCode indent?

Post your topics and discussions here that you can't find a good section for.
Post Reply
User avatar
TheyCallMeTim13
Administration
Administration
Posts: 1375
Joined: Fri Mar 03, 2017 12:31 am
Reputation: 417
Contact:

Any BBCode indent?

Post by TheyCallMeTim13 » Fri Aug 17, 2018 2:06 pm

Does anyone have a good way to just indent with BBCode, list works but the spacing and bulletin point are off putting to me. An HTML non-breakable space doesn't work, can't use HTML. The best I could come up with was background colored text, but any style changes would suck and CSS modding browser extensions would be a issue.

Image
Post

User avatar
STN
Founder
Founder
Posts: 3300
Joined: Thu Mar 02, 2017 7:48 pm
Reputation: 761

Re: Any BBCode indent?

Post by STN » Fri Aug 17, 2018 5:30 pm

TheyCallMeTim13 wrote:
Fri Aug 17, 2018 2:06 pm
Does anyone have a good way to just indent with BBCode, list works but the spacing and bulletin point are off putting to me. An HTML non-breakable space doesn't work, can't use HTML. The best I could come up with was background colored text, but any style changes would suck and CSS modding browser extensions would be a issue.

Image
Post
HTML should have never been allowed, it's a huge security as you must know.

I am pretty sure this can be done through bbcode. You can make bbcode replacements for almost every html tag. I'll do it once i get a breather from porting tables.
For site updates, follow FRF's official Twitter, Facebook

Don't PM me asking for cheats, I'll just ignore you. Use the search function instead.

User avatar
Deepthroat
Expert Cheater
Expert Cheater
Posts: 104
Joined: Mon Aug 28, 2017 10:54 pm
Reputation: 3
Contact:

Re: Any BBCode indent?

Post by Deepthroat » Sat Aug 18, 2018 8:19 pm

Preformatted Text is what you looking for, is currently not working on this Forum though.

Code: Select all

[pre]  Indented Text[/pre]
STN can add it through the Custom BBCodes section, https://www.bbcode.org/examples/?id=16

User avatar
Dark❶
Noobzor
Noobzor
Posts: 7
Joined: Thu Mar 09, 2017 5:43 pm
Reputation: 0

Re: Any BBCode indent?

Post by Dark❶ » Sat Aug 18, 2018 8:33 pm

STN wrote:
Fri Aug 17, 2018 5:30 pm
TheyCallMeTim13 wrote:
Fri Aug 17, 2018 2:06 pm
Does anyone have a good way to just indent with BBCode, list works but the spacing and bulletin point are off putting to me. An HTML non-breakable space doesn't work, can't use HTML. The best I could come up with was background colored text, but any style changes would suck and CSS modding browser extensions would be a issue.

Image
Post
HTML should have never been allowed, it's a huge security as you must know.

I am pretty sure this can be done through bbcode. You can make bbcode replacements for almost every html tag. I'll do it once i get a breather from porting tables.
You might want to use ABBC3 : phpBB & GitHub
so that @TheyCallMeTim13 can use "Preformatted text" ie "[pre][/pre]" BBCode, & use space to indent.
BTW it's also stable.

Just Helping,
Best regards :+1:

User avatar
STN
Founder
Founder
Posts: 3300
Joined: Thu Mar 02, 2017 7:48 pm
Reputation: 761

Re: Any BBCode indent?

Post by STN » Sat Aug 18, 2018 9:54 pm

TheyCallMeTim13 wrote:
Fri Aug 17, 2018 2:06 pm
Does anyone have a good way to just indent with BBCode, list works but the spacing and bulletin point are off putting to me. An HTML non-breakable space doesn't work, can't use HTML. The best I could come up with was background colored text, but any style changes would suck and CSS modding browser extensions would be a issue.

Image
Post
Added. Not entirely sure if this is what you wanted.
For site updates, follow FRF's official Twitter, Facebook

Don't PM me asking for cheats, I'll just ignore you. Use the search function instead.

User avatar
TheyCallMeTim13
Administration
Administration
Posts: 1375
Joined: Fri Mar 03, 2017 12:31 am
Reputation: 417
Contact:

Re: Any BBCode indent?

Post by TheyCallMeTim13 » Sat Aug 18, 2018 10:23 pm

STN wrote:
Sat Aug 18, 2018 9:54 pm
...
Added. Not entirely sure if this is what you wanted.
Image
That works if I add spaces, but I feel it should just be "pre", since it converts to a PRE tag. "indent" seems like it should just set a margin or padding of a SPAN element to fake the indent and allow nesting of the tags inside lists and what not; at least it seemed to work that way with XF2.

User avatar
STN
Founder
Founder
Posts: 3300
Joined: Thu Mar 02, 2017 7:48 pm
Reputation: 761

Re: Any BBCode indent?

Post by STN » Sat Aug 18, 2018 10:26 pm

Oh, i just named it indent so you don't have to replace the post.
For site updates, follow FRF's official Twitter, Facebook

Don't PM me asking for cheats, I'll just ignore you. Use the search function instead.

User avatar
TheyCallMeTim13
Administration
Administration
Posts: 1375
Joined: Fri Mar 03, 2017 12:31 am
Reputation: 417
Contact:

Re: Any BBCode indent?

Post by TheyCallMeTim13 » Sat Aug 18, 2018 10:31 pm

I'd have to add the spaces any way, and with Sublime Text it goes pretty quickly either way.

User avatar
TheyCallMeTim13
Administration
Administration
Posts: 1375
Joined: Fri Mar 03, 2017 12:31 am
Reputation: 417
Contact:

Re: Any BBCode indent?

Post by TheyCallMeTim13 » Sat Aug 18, 2018 10:50 pm

Sweet, so now no padding characters needed.


Image
  • test test indent 1 test indent 2 test indent 3
And it can be nested inside lists.

Post Reply

Who is online

Users browsing this forum: No registered users