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

BBcode post import

Discussion in 'XenForo Pre-Sales Questions' started by rwm1962, Jul 4, 2014.

  1. rwm1962

    rwm1962 Active Member

    I've just posted some code from a post on my current forum into the demo & it doesn't show the images.

    We are an image intensive site so will need this to work.

    I see there is an option to write custom BBcode. Would sorting that pre-import resolve this issue

    This is how full & thumbnail images are placed on my current platform:

  2. Brogan

    Brogan XenForo Moderator Staff Member

    You can change the bb code tags either before you import or after.
    For any non-standard bb codes, you can create custom bb codes as required.
  3. rwm1962

    rwm1962 Active Member

    Thanks. That's good. Just need to figure out what the replacement code is.
  4. rwm1962

    rwm1962 Active Member

    I found the XF BBcode's in the help section. I can't see anywhere in the admin panel that shows the html code for standard BB code.

    If I have that I could create the equivalent BB codes for my imported codes.
    Last edited: Jul 5, 2014
  5. Brogan

    Brogan XenForo Moderator Staff Member

  6. rwm1962

    rwm1962 Active Member

    Thanks Brogan for the quick replies. Is the HTML replacement code available/viewable for current Xf BB code? I'm thinking it would be better to exactly replicate the code to create a custom code that did exactly the same thing. ie use the HTML code for XF IMG BB code to create a custom IMAGE BB code.

    We an image heavy site & I'm liking the choice (like we currently have on our EOL platfom) for thumb, full or both. Another platform I was looking at is one or the other, globally.
  7. Brogan

    Brogan XenForo Moderator Staff Member

    I'm not sure what you're asking.

    Custom BB Code needs to be manually created.
    If you want to replicate what you currently use then you will need to copy that.
  8. rwm1962

    rwm1962 Active Member

    You can probably tell I'm not a coder!
    I appreciate the custom BB code has to be created manually & know where in the XF ACP to do it. In my test post on my demo my IMAGE BB code didn't work. When I edited it to IMG it did. I'm thinking if I created a custom BB Code called IMAGE using the html code for IMG my imported posts using IMAGE would display correctly.

    If it's not possible to see the html code I guess I'll have to do my own but I thought it might be neater to use the same as XF have.
  9. Mike

    Mike XenForo Developer Staff Member

    Standard BB codes don't work like custom BB codes so they don't necessarily have HTML to share. You should just create what fits your needs.
  10. rwm1962

    rwm1962 Active Member

    Thanks. I was just looking for a possible shortcut in what is major headache of a move.

Share This Page