MyBB Community Forums

Full Version: list and numbered list bbcode not being parsed
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hello i have no idea why my forum can't parse the following bbcode
[ul]
[li]undefined[/li]
[/ul]

[ol]
[li]undefined[/li]
[/ol]

it would look like https://www.blackmarke7.org/thread-1354.html

but if i use
[list]
[*]
[/list]

[list=1]
[*]
[/list]

it parses fine

thx for the help!

hello, if any1 would be able to help me would be greatly appreciated
following is a picture of what i meant

[Image: X0x1vOX.png]

if i click the bullet list / number list bbcode button in source mode i do not get

[ul]
[li]undefined[/li]
[/ul]

[ol]
[li]undefined[/li]
[/ol]

instead i get whats shown in the picture
i'm pretty sure its theme related b/c when i use the default theme
the buttons works as expected


here is my forum https://www.blackmarke7.org

thanks for the help!
What's the difference between the your output (screenshot) and the expected? It's equal, fine.

[ExiTuS]
(2019-11-15, 03:55 PM)[ExiTuS] Wrote: [ -> ]What's the difference between the your output (screenshot) and the expected? It's equal, fine.

[ExiTuS]

oh damn!

i thought the correct format is

[list]
[*]
[/list]

[list=1]
[*]
[/list]

this is what my forum looks like

https://www.blackmarke7.org/thread-1354.html



i've edited the original post
It is definitely an editor issue!
MyBB parses "[ l i s t ]" only, correct.
The editor simply inserts content to the textfield. So the editor needs special investigation.

Which editor are you using and what's the release?
Which forum version are you running?
When did the error occur first - did you upgrade the forum in the meantime?

[ExiTuS]
(2019-11-15, 10:44 PM)[ExiTuS] Wrote: [ -> ]It is definitely an editor issue!
MyBB parses "[ l i s t ]" only, correct.
The editor simply inserts content to the textfield. So the editor needs special investigation.

Which editor are you using and what's the release?
Which forum version are you running?
When did the error occur first - did you upgrade the forum in the meantime?

[ExiTuS]

hi i'm using sceditor and forum is the most to up to date version 1.8.21
but i'm using https://community.mybb.com/mods.php?action=view&pid=409 for quick reply
Hello, this is a very old topic but I had the same.
So what was the case for me is that the file /jscripts/bbcodes_sceditor.js was not loaded. In this file are the bbcodes that have to be parsed.
It can have two reasons:

 1. in the template " codebuttons" there is a wrong link, it has to be:


<script type="text/javascript" src="{$mybb->asset_url}/jscripts/bbcodes_sceditor.js"></script>

2. The file is not there on your server. In that case copy one from a MyBB upload folder to the right location.

Good luck!
(2020-07-15, 04:15 PM)Jopie Wrote: [ -> ]Hello, this is a very old topic but I had the same.
So what was the case for me is that the file / WalgreensListen /bbcodes_sceditor.js was not loaded. In this file are the bbcodes that have to be parsed.
It can have two reasons:

 1. in the template " codebuttons" there is a wrong link, it has to be:


<script type="text/javascript" src="{$mybb->asset_url}/jscripts/bbcodes_sceditor.js"></script>

2. The file is not there on your server. In that case copy one from a MyBB upload folder to the right location.

Good luck!

Great post. It was much needed. Love your simplistic style of explanation.  Smile