1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

BB Code Help text / image

Discussion in 'XenForo Questions and Support' started by erich37, Dec 3, 2011.

  1. erich37

    erich37 Well-Known Member

    I am no expert regarding BB-Code stuff, so I have a question regarding this:


    when going to:
    http://www.domain.com/help/bb-codes

    you see in this list the following:

    -------------------------------

    - Image
    Display an image, using the wrapped text as the URL.

    -----------------------------------

    Example:
    Code:
    [IMG]http://www.domain.com/styles/default/xenforo/avatars/avatar_s.png[/IMG]



    Questions:
    - why is this image-explanation related to the "Avatar"-image ?
    - how to customize this code-example for my own website / is this a special path?
    - can I skip the word "xenforo" from the image-path?

    Thanks!
     
  2. Lycaon

    Lycaon Well-Known Member

    You can edit the help_bb_codes template and define your own path but of course you'll need to upload an image for it to display.

    I imagine the reason the image is an avatar is because it's safe to assume that there will be an avatar image so the help docs actually display one.

    Also as each style can have different avatars keeping it as is means that whatever style your members use will display the correct avatar for that style.
     
    erich37 likes this.

Share This Page