- Ideas for phpBB 3.2 -

General discussion of development ideas and the approaches taken in the 3.x branch of phpBB. The current feature release of phpBB 3 is 3.3/Proteus.
Forum rules
Please do not post support questions regarding installing, updating, or upgrading phpBB 3.3.x. If you need support for phpBB 3.3.x please visit the 3.3.x Support Forum on phpbb.com.

If you have questions regarding writing extensions please post in Extension Writers Discussion to receive proper guidance from our staff and community.
User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 1904
Joined: Thu Mar 02, 2006 4:29 pm
Location: Earth
Contact:

Re: - Ideas for phpBB 3.2 -

Post by DavidIQ »

nekkidblogger wrote:Allow HTML in posts for admins, both when writing and editing.

As admin I can change the phpBB files on my server, but I can't insert a div, add a class to an image or style my posts to make them look prettier. I would like to add classes to images, for instance, so that small images can be floated left or right with the text flowing nicely on their side, while I want large images to be centered. And so on and so forth. A little html can do a lot to prettify.

Not to be able to use it is frustrating. Many posts could look much, much better - and looks matter.

Not very satisfying. It's actually a bit 1990-ish.
Not happening. This opens up the door to security issues and is why it's not in phpBB 3 and why we don't condone the disabling of this limitation. Also even if you were to limit this to just admins or a particular group of users what do you do when someone quotes said post? Show the text without the formatting? That would look rather silly.

All of the HTML replacements should be handled via BBCodes which is very NOT 1990-ish.
Image

nekkidblogger
Registered User
Posts: 7
Joined: Mon Jul 18, 2011 6:24 pm

Re: - Ideas for phpBB 3.2 -

Post by nekkidblogger »

Not being able to make posts look tidy and neat is pretty old-fashioned.

DavidIQ writes:
Also even if you were to limit this to just admins or a particular group of users what do you do when someone quotes said post? Show the text without the formatting? That would look rather silly.
Even if if wouldn't look as good as the original, it is worse to have the both the original AND quote look bad :)

I see the security issues. However, other php-based software like WordPress can handle it, so I am sure it can be handled here as well. It is actually pretty hard to do code-injection in a WordPress-blog these days.

DavidIQ:
All of the HTML replacements should be handled via BBCodes which is very NOT 1990-ish.
An alternative would, I agree, be to use the BBCodes. However, as they stand, they are too limited in scope. So one would have, in that case, to expand the BB-code system - for instance with left, right and centered images, where left and right means text floats nicely on their sides as when images are floated. As it is, there is only one "class" for images in posts. I have spent a lot of time trying to bend the BBCodes to allow for at least three different CSS classes to allow predefined formatting to be applied (padding, placement, float or not), and not been able to achieve much.

So I strongly feel that either HTML in posts or an expanded BB-code system is needed. For sites like this one - more or less pure text - all is quite well. For sites that are more "multimedia" - lots of images etc., all is not very well. That is, if you, as me, think that looks matter.

Best,
Peter

User avatar
callumacrae
Former Team Member
Posts: 1046
Joined: Tue Apr 27, 2010 9:37 am
Location: England
Contact:

Re: - Ideas for phpBB 3.2 -

Post by callumacrae »

WYSIWYG? ;)
Made by developers, for developers!
My blog

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 1904
Joined: Thu Mar 02, 2006 4:29 pm
Location: Earth
Contact:

Re: - Ideas for phpBB 3.2 -

Post by DavidIQ »

As callum said you're probably referring to a WYSIWYG editor which has been considered (CKEditor) though no formal decision has been made on that. That would really be the way to go as most users would not be able to benefit from being able to use HTML tags anyways.
Image

nekkidblogger
Registered User
Posts: 7
Joined: Mon Jul 18, 2011 6:24 pm

Re: - Ideas for phpBB 3.2 -

Post by nekkidblogger »

I don't know that editor (but will have a look at it), but that sounds like a possible solution to me.

Best,
Peter

PS: Looked good to me.

User avatar
AmigoJack
Registered User
Posts: 110
Joined: Wed May 04, 2011 7:47 pm
Location: グリーン ヒル ゾーン
Contact:

Re: - Ideas for phpBB 3.2 -

Post by AmigoJack »

hanakin wrote:As for the lists there is an value for what type you can do
  1. for number or
    1. for lowercase alpha etc...
I wasn't talking about the existing (first) parameter of the list=-code - re-read my numbers IV, V and VII:
  • Make the list item ([ * ]) have an optional parameter, like
  • [/b] which would render to <li value="{NUMBER}"> and so give the possibility to force a new iteration value instead of the one counted automatically.


  • Same goes for (
    • [/b]) itself: let it have an optional second parameter, like
      • [/b] which would render to <ol type="{IDENTIFIER}" start="{NUMBER}"> and so give the possibility to defining a starting value.


        • [/b] should also allow the type none and all CSS2 types: lower-greek, hebrew, decimal-leading-zero, cjk-ideographic, hiragana, katakana, hiragana-iroha and katakana-iroha. (Improvement ticket)
With implementing the first two of these three points I could have easily fully quoted my text along with the historic list numbers (IV, V and VII instead of bullets or just an iteration starting from new, like I, II, III).

Post Reply