VB > XF

Discussion in 'XenForo Discussions' started by Iconic, Oct 15, 2013.

  1. Iconic

    Iconic The Original

    Joined:
    Nov 2, 2011
    Messages:
    353
    Likes Received:
    135
    Location:
    Australia
    I have come across a little problem when we did a test convert from vb 4.2 to xF. I noticed that [MENTION=503]Tyler[/MENTION] in a lot of posts. Does anyone have an idea on how to change it to @ or something similar on all those posts? Or should I just uninstall it before we convert?
     
  2. Ludwig

    Ludwig Regular Member

    Joined:
    Jul 15, 2013
    Messages:
    21
    Likes Received:
    17
    Location:
    Mx
    There's probably a better way, but there's a mod for xenForo that allows you search and replace text in posts. In theory it should work for what you want.
     
  3. Code Monkey

    Code Monkey Regular Member

    Joined:
    Apr 15, 2013
    Messages:
    230
    Likes Received:
    170
    You are going to want to use the mod above and change every instance of [MENTION=userid]Username[/MENTION] to [ USER=userid]Username[/USER ]. Just mention that in that addons thread. Lot's of knowledgeable people monitor it and can help you with the regex.

    Note: I had to put the space by the brackets to keep it from parsing.
     
    Last edited: Oct 15, 2013
    Dan Hutter and Iconic like this.
  4. Iconic

    Iconic The Original

    Joined:
    Nov 2, 2011
    Messages:
    353
    Likes Received:
    135
    Location:
    Australia
    Thanks heaps for your help!
     
  5. Caddyman

    Caddyman engiwebmastechanic

    Joined:
    Sep 12, 2013
    Messages:
    63
    Likes Received:
    36
    Location:
    Delaware
    i thought this topic was called "VB (is greater than) XF"

    when i read it on the topic list, lulz
     
    Dan Hutter and Brandon like this.
  6. Brandon

    Brandon Regular Member

    Joined:
    Jun 1, 2009
    Messages:
    6,602
    Likes Received:
    1,706
    Location:
    Topeka, Kansas
    First Name:
    Brandon
    maybe this would have been better

    vB ≠ xF
     
    Iconic likes this.
  7. Iconic

    Iconic The Original

    Joined:
    Nov 2, 2011
    Messages:
    353
    Likes Received:
    135
    Location:
    Australia
    @Brandon I did that last night and got a reply but the server is throwing out an error which is in that thread on xf.com.
     
  8. Code Monkey

    Code Monkey Regular Member

    Joined:
    Apr 15, 2013
    Messages:
    230
    Likes Received:
    170
    Did you go back to that thread and did you do what was suggested to resolve the error?
     
  9. Iconic

    Iconic The Original

    Joined:
    Nov 2, 2011
    Messages:
    353
    Likes Received:
    135
    Location:
    Australia
    Yes very fast surprisingly compared to vBulletin. Turned out to be a memory issue causing it not to function right, added something to the file limiting it and it worked. Thank you for the suggestion.
     
  10. Code Monkey

    Code Monkey Regular Member

    Joined:
    Apr 15, 2013
    Messages:
    230
    Likes Received:
    170
    No problem. There are lot's of brilliant minds over there.
     
    Iconic likes this.

Share This Page