MyBB user documentation?

8 Replies, 1839 Views

Hi,

Is there a list of supported MyBB tags? Like quote, list, etc?

I checked the MyBB web site and they have a lot of documentation for installation and administration but I couldn't find any user documentation. Is there any MyBB user documentation on-line?

Thanks
The first gulp from the glass of science will make you an atheist, but at the bottom of the glass God is waiting for you - Werner Heisenberg. (More at my Blog & Website)
(This post was last modified: 2018-07-11, 12:40 AM by Jim_Smith.)
[-] The following 1 user Likes Jim_Smith's post:
  • Ninshub
Hi Jim,

A help document listing supported tags comes with the installation - simply click the Help link top-right of this page and then click MyCode.

There is also an online document listing MyBB codes for the previous major version of MyBB, the 1.6 series: the current major version, which we are using, is the 1.8 series, but I doubt that any of the tags have changed since 1.6.

I'm not sure how complete either of these lists is, but you can always test a MyCode using "Preview Post".

Though I doubt this is what you're looking for, the definitive list can of course be compiled from the source code for MyBB itself, in particular the inc/class_parser.php file, and especially the cache_mycode() function.

We have also, though, added a few custom MyCodes to our installation - indent, iurl, and anchor -  which might be best explained by illustration. The following MyCodes:

Code:
[indent]This text is indented.[/indent]

[iurl=my-internal-anchor]This links internally (i.e., within the page) to the "my-internal-anchor" anchor...[/iurl]

[anchor=my-internal-anchor]...which is here.[/anchor]


Render like this:

This text is indented.

This links internally (i.e., within the page) to the "my-internal-anchor" anchor...

...which is here.
(This post was last modified: 2018-07-11, 12:59 AM by Laird.)
[-] The following 3 users Like Laird's post:
  • Typoz, Ninshub, Jim_Smith
Thanks.

I was hoping to find a way to have a white background color for quotes the way code does. I didn't see any.

Quote:test

Code:
test


I find the gray background hard to read. I understand that the different color helps to distinguish between a reply and the quoted message being replied to. But for quotes from outside sources I think it would be nice to have the option of having a white background.

My vision is normal (I assume) but a gray background reduces contrast and can make it very hard to read for some people with vision problems.
https://www.nngroup.com/articles/low-contrast/
Quote:Low-Contrast Text Is Not the Answer
by Katie Sherwin on June 7, 2015

Summary: Low-contrast text may be trendy, but it is also illegible, undiscoverable, and inaccessible. Instead, consider more usable alternatives.


A low-contrast design aesthetic is haunting the web, taking legibility and discoverability with it. It’s straining our eyes, making us all feel older, and a little less capable. Lured by the trend of minimalism, sites are abandoning their high-contrast traditions and switching to the Dark Side (or should I say, the Medium-Gray Side). For sites willing to sacrifice readability for design prowess, low-contrast text has become a predictable choice, with predictable, persistent usability flaws.

The examples in the article are more extreme than the quote tag on this forum so so if there is no way to change it, I'll leave it as a suggestion/request of low priority.

Thanks
The first gulp from the glass of science will make you an atheist, but at the bottom of the glass God is waiting for you - Werner Heisenberg. (More at my Blog & Website)
(2018-07-11, 01:22 AM)Jim_Smith Wrote: I was hoping to find a way to have a white background color for quotes the way code does. I didn't see any.

Oh, I see now what you're after. As it happens, for MyBB's default theme the default is a white background for quotes - we customised that colour to match that of quotes on Skeptiko because we thought it set off the quotes helpfully. If, though, it's not helpful, then it can be reverted. Perhaps others can weigh in with their preference.

Ideally, it would be possible for members to customise styling like that for themselves, but right now it doesn't seem to be possible.
[-] The following 1 user Likes Laird's post:
  • Jim_Smith
(2018-07-11, 01:47 AM)Laird Wrote: ... we customised that colour to match that of quotes on Skeptiko 

I didn't notice the problem on skeptiko, so I looked into what the difference is. If I use font size #3 (one size smaller than the default) and use italics on this forum it matches skeptiko more closely and I don't notice a problem.

If other people want to discuss their preference that's fine. 

But at this point I don't think there is a need to remove the gray background. And I am not suggesting that the default font size or style be changed.

If it would be possible to have a choice of background color at some time in the future, I think that would be a nice feature.
The first gulp from the glass of science will make you an atheist, but at the bottom of the glass God is waiting for you - Werner Heisenberg. (More at my Blog & Website)
Jim, I've implemented your request by cloning the default theme and changing the background colour of quotes in the cloned theme. If you select in the drop-down at the very bottom of the page the theme "--Default (but quotes have white background)" you should then see quotes with a white background.
[-] The following 1 user Likes Laird's post:
  • Jim_Smith
People should be aware that themes that are preferred by some might not be readable for those using other themes. For example, Michael posted something in the Trump thread which didn't show for me. Turned out that, for me, it was white text on white background (I think I use the default or whatever theme appears automatically).
I do not make any clear distinction between mind and God. God is what mind becomes when it has passed beyond the scale of our comprehension.
Freeman Dyson
[-] The following 2 users Like Kamarling's post:
  • Laird, Ninshub
(2018-07-11, 03:14 AM)Kamarling Wrote: People should be aware that themes that are preferred by some might not be readable for those using other themes. For example, Michael posted something in the Trump thread which didn't show for me. Turned out that, for me, it was white text on white background (I think I use the default or whatever theme appears automatically).
Same here. I thought that was some kind of error.
[-] The following 2 users Like Ninshub's post:
  • Kamarling, Laird
(2018-07-11, 03:14 AM)Kamarling Wrote: People should be aware that themes that are preferred by some might not be readable for those using other themes. For example, Michael posted something in the Trump thread which didn't show for me. Turned out that, for me, it was white text on white background (I think I use the default or whatever theme appears automatically).

Yes, that was invisible for me too - I didn't see it until you quoted it. The font's white colouring was part of Michael's post itself, i.e., that invisible text was enclosed in color MyCodes like this (#ffffff specifies white):

Code:
[color=#ffffff]The white text in Michael's post.[/color]


It seems to show up on at least one theme we've got installed (I didn't check them all), "DarkBB a black & blue theme", but not on the "Default" theme. Good advice of yours for people to be aware of this.
[-] The following 1 user Likes Laird's post:
  • Kamarling

  • View a Printable Version
Forum Jump:


Users browsing this thread: 2 Guest(s)