No announcement yet.

I need help with cleaner.php after migration

  • Filter
  • Time
  • Show
Clear All
new posts

  • [Forum] I need help with cleaner.php after migration

    Hello everyone, I have a problem with my forum that I recently migrated from MyBB 1.8.5 to vBulletin 4.2.3

    MyBB uses some different bbcodes to vBulletin, therefore, they have no format in posts, and therefore, the appearance thereof looks very bad.

    This is solved using the file cleaner.php has so far helped me solve simple bbcodes; however, there are some bbcodes they are giving me problems as alignment, for example:

    HTML Code:
    [align=center]some text[/align]
    [align=left]another text this is a [b]bold[/b][/align]
    [align=justify]This is a text in bold and this is a image[img][/img][/align]
    I wonder how to fix the alignment shown in the example above, without affecting other bbcodes; I only want to have a proper alignment in vBulletin as their bbcodes alignment are:

    HTML Code:
    [center]some text[/center]
    [left]another text this is a [b]bold[/b][/left]
    [justify]This is a text in [b]bold[/b] and this is a image [img][/img][/justify]
    Please, help me.
    Last edited by Fromend; Sat 29 Aug '15, 6:16am.

  • #2
    Anyone can help me?


    • #3
      I really need help in this thread, I am disappointed to have paid $ 250; to ignore me for days when I apply for support, nobody took the slightest discomfort to answer to me or even trying to help me.

      Is it too much solicit support for something that I paid?


      • #4
        We can't provide support for cleaner.php. You would have to ask over at
        Translations provided by Google.

        Wayne Luke
        The Rabid Badger - a vBulletin Cloud demonstration site.
        vBulletin 5 API


        • #5
          Your best bet with those alignment bbcodes is to create a new bbcode in bbcode manager called: align

          Go to Admin CP -> Custom BB Codes -> Add New BB Code

          Title: align
          BB Code Name: align
          <div style="text-align: {option}">{param}</div>
          Example: [align=center]some text[/align]
          Description: Alignment Compatibility BB Code
          Use {option}: YES
          Button Image: (leave blank)
          Remove Tag if Empty: Yes
          All others: No

          Save changes. If you get a warning when you save it is safe to continue just hit OK/next and it will save.

          That should restore the same alignments you were used to and the bbcodes will parse. You may need to refresh/clear the cache to see any difference.


          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.