PHPbb 3.2 doesnot accept paragraphs

Do not post support requests, bug reports or feature requests. Discuss phpBB here. Non-phpBB related discussion goes in General Discussion!
Ideas Centre
User avatar
Mick
Support Team Member
Support Team Member
Posts: 19986
Joined: Fri Aug 29, 2008 9:49 am
Location: Cardiff

Re: PHPbb 3.2 doesnot accept paragraphs

Post by Mick » Fri Jun 22, 2018 7:35 am

The indent Custom BBCode still works well as far as I’m aware.

82B276AB-0914-4732-9A10-2E60B192D4C0.jpeg
"The more connected we get the more alone we become" - Kyle Broflovski

There are no ‘threads’ in phpBB, they are topics.

CHItA
Development Team Member
Development Team Member
Posts: 145
Joined: Sat Dec 06, 2008 10:27 pm
Location: Budapest, Hungary

Re: PHPbb 3.2 doesnot accept paragraphs

Post by CHItA » Fri Jun 22, 2018 1:30 pm

You could also request or write an extension, that would configure the text formater in a way that it would generate paragraphs. I think it should be fairly easy to do, as the library we use supports that and after that custom styling could be added to indent the first lines of paragraphs.

User avatar
Lumpy Burgertushie
Registered User
Posts: 64877
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: PHPbb 3.2 doesnot accept paragraphs

Post by Lumpy Burgertushie » Fri Jun 22, 2018 1:59 pm

Ger wrote:
Fri Jun 22, 2018 6:46 am
Or simply do as I wrote earlier and let CSS handle this. Open up your theme's content.css and look for

Code: Select all

.postbody .content {
And add below:

Code: Select all

    text-indent: 50px;
That handles it for everyone writing posts on your board.
would that not indent all the text equally instead of only the first line?


robert
I am available for custom work on a donation basis. Please send me a PM with your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

OK, so what's the speed of dark?

User avatar
Ger
Recognised Extension Developer
Posts: 1668
Joined: Wed Jan 02, 2008 7:35 pm
Location: 192.168.1.100
Contact:

Re: PHPbb 3.2 doesnot accept paragraphs

Post by Ger » Fri Jun 22, 2018 2:09 pm

Lumpy Burgertushie wrote:
Fri Jun 22, 2018 1:59 pm
would that not indent all the text equally instead of only the first line?
nope
My extensions:
Simple CMS, Feed post bot, Avatar Resize, Modbreak, Magic OGP, Live topic update, Modern Quote, Quoted Where (GDPR) and Autoresponder.
Newest: FAQ manager for 3.2

Like my work? Buy me a coffee to keep it coming. :ugeek:
-Available for custom work-

User avatar
Mick
Support Team Member
Support Team Member
Posts: 19986
Joined: Fri Aug 29, 2008 9:49 am
Location: Cardiff

Re: PHPbb 3.2 doesnot accept paragraphs

Post by Mick » Fri Jun 22, 2018 2:10 pm

CHItA wrote:
Fri Jun 22, 2018 1:30 pm
I think it should be fairly easy to do, as the library we use supports that and after that custom styling could be added to indent the first lines of paragraphs.
Theres no need, the custom BBCode handles it, see this, the OP just wants the first line indented. This is the first time I’ve seen such a request so it seems a bit of an overkill to make a core change or write an extension for this one request.

I think what a lot of people are forgetting is that indenting the first line of paragraphs is antediluvian.
"The more connected we get the more alone we become" - Kyle Broflovski

There are no ‘threads’ in phpBB, they are topics.

User avatar
Ger
Recognised Extension Developer
Posts: 1668
Joined: Wed Jan 02, 2008 7:35 pm
Location: 192.168.1.100
Contact:

Re: PHPbb 3.2 doesnot accept paragraphs

Post by Ger » Fri Jun 22, 2018 2:23 pm

Mick wrote:
Fri Jun 22, 2018 2:10 pm
I think what a lot of people are forgetting is that indenting the first line of paragraphs is antediluvian.
There are many boards out there with far more uglier formatting than this. I've even seen Comic Sans a while ago. No accounting for taste I'd say.
My extensions:
Simple CMS, Feed post bot, Avatar Resize, Modbreak, Magic OGP, Live topic update, Modern Quote, Quoted Where (GDPR) and Autoresponder.
Newest: FAQ manager for 3.2

Like my work? Buy me a coffee to keep it coming. :ugeek:
-Available for custom work-

CHItA
Development Team Member
Development Team Member
Posts: 145
Joined: Sat Dec 06, 2008 10:27 pm
Location: Budapest, Hungary

Re: PHPbb 3.2 doesnot accept paragraphs

Post by CHItA » Fri Jun 22, 2018 2:38 pm

Mick wrote:
Fri Jun 22, 2018 2:10 pm
I think what a lot of people are forgetting is that indenting the first line of paragraphs is antediluvian.
Well, it is a one line extension pretty much, and the CSS changes proposed in this topic. IMHO we might use the paragraph markup in posts in some future release and then this will be only a CSS change.

User avatar
Lumpy Burgertushie
Registered User
Posts: 64877
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: PHPbb 3.2 doesnot accept paragraphs

Post by Lumpy Burgertushie » Fri Jun 22, 2018 3:17 pm

Ger wrote:
Fri Jun 22, 2018 2:09 pm
Lumpy Burgertushie wrote:
Fri Jun 22, 2018 1:59 pm
would that not indent all the text equally instead of only the first line?
nope
well, it doesn't work at all in my custom style. have no idea why.
it also does not work very well in prosilver.
It indents the first line when you start typing. however, it does not indent the first line of the next paragraph or any subsequent paragraphs.

I can see no reason why that css indents only the first line and not any other lines but I am certainly no expert in css.



robert
I am available for custom work on a donation basis. Please send me a PM with your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

OK, so what's the speed of dark?

User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 49481
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: PHPbb 3.2 doesnot accept paragraphs

Post by stevemaury » Fri Jun 22, 2018 5:00 pm

Mick wrote:
Fri Jun 22, 2018 2:10 pm

I think what a lot of people are forgetting is that indenting the first line of paragraphs is antediluvian.
Not really. Many style manuals require it. https://www.grammarly.com/blog/great-in ... on-debate/
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. PM or email me.

All unsolicited PMs will be ignored.

CHItA
Development Team Member
Development Team Member
Posts: 145
Joined: Sat Dec 06, 2008 10:27 pm
Location: Budapest, Hungary

Re: PHPbb 3.2 doesnot accept paragraphs

Post by CHItA » Sat Jun 23, 2018 9:11 am

Lumpy Burgertushie wrote:
Fri Jun 22, 2018 3:17 pm
I can see no reason why that css indents only the first line and not any other lines but I am certainly no expert in css.
Becuase the are not paragraphs in the markup but simply double line breaks. So what this CSS does is indenting the first line of the block, which is the <div> containing your whole post.

Post Reply

Return to “phpBB Discussion”

Who is online

Users browsing this forum: Acorn and 18 guests