is there a way to create bbcodes in a slightly different format?

Get help developing custom BBCodes or request one.
oferlaor
Registered User
Posts: 34
Joined: Sat Dec 04, 2004 6:31 am

is there a way to create bbcodes in a slightly different format?

Post by oferlaor »

the current format for entering bbcodes is

Code: Select all

[something]***[/something]
the problem is that my forum is in Hebrew, which is left to right, and the square parentheses is extremely hard to work with since it messes the order, it looks like a mess...

is there a way to create a start/stop tag that doesn't follow the square parentheses format through the admin interface?
User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 6410
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.

Re: is there a way to create bbcodes in a slightly different format?

Post by thecoalman »

You end with something like this in posting pane?

Code: Select all

[something]werbeH tfel ot thgiR[/something]
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”

Attributed - Thomas Edison
User avatar
halil16
Registered User
Posts: 1445
Joined: Fri Jul 24, 2020 11:30 pm
Location: Turkiye
Name: Halil

Re: is there a way to create bbcodes in a slightly different format?

Post by halil16 »

oferlaor wrote: Thu Nov 28, 2024 6:28 am is there a way to create a start/stop tag that doesn't follow the square parentheses format through the admin interface?
None by default. But, doesn't BBcode start from the left too?
Buy me a coffee ☕
Hire me for your phpBB board. 🚩
Introducing Mobile Upgrade! *Make your phpBB board like an app! 📱
O BeldeThatTowns*for sale*$1250 🛒
"The day we'll need ideas more than possessions, we'll find the secret to true wealth." - Peyami Safa /peˈjɑːmi saˈfɑː/
oferlaor
Registered User
Posts: 34
Joined: Sat Dec 04, 2004 6:31 am

Re: is there a way to create bbcodes in a slightly different format?

Post by oferlaor »

the problem is that the order is messed up because the post editing is RTL...

note the mess on top...
You do not have the required permissions to view the files attached to this post.
User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 6410
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.

Re: is there a way to create bbcodes in a slightly different format?

Post by thecoalman »

That's certainly a mess. ;) At the very least it should consistent. This is something to bring up in the bug tracker.

https://tracker.phpbb.com/secure/Dashboard.jspa

Edit: Just to add there may be reasons it's like that.....
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”

Attributed - Thomas Edison
oferlaor
Registered User
Posts: 34
Joined: Sat Dec 04, 2004 6:31 am

Re: is there a way to create bbcodes in a slightly different format?

Post by oferlaor »

it's not really a bug, it's just that the bbcode square parenthesis format doesn't really work well with RTL...

it's always been like that. It can't really be fixed.

The question is whether there is a way to use another format with phpbb 3 ?

Ultimately, this all works using a managed start tag, stop tag and some type of preg_replace array...
User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 6410
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.

Re: is there a way to create bbcodes in a slightly different format?

Post by thecoalman »

There is selection for improvement in bug tracker. There is nothing that can't be fixed but that might be a real problem.

The only suggestion that comes to mind is trying one of the BBcode editors. I'm pretty sure they use a WYSIWG interface so the BBcode would hidden, no idea if they are RTL compatible either.
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”

Attributed - Thomas Edison

Return to “Custom BBCode Development and Requests”