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

Trying to finish IPB 3.4.5 import

Discussion in 'Installation, Upgrade, and Import Support' started by nodle, Jun 16, 2013.

  1. nodle

    nodle Well-Known Member

    Hello i got everything imported and everything went fine. But now I am trying to use:

    Post Content Find / Replace tool

    http://xenforo.com/community/resources/post-content-find-replace.1549/

    Now i want to convert my:

    <blockquote class="ipsBlockquote"


    I found this thread with the same problem.

    http://xenforo.com/community/threads/ipb-3-4-4-to-xf.48573/page-2

    And I found this thread for the solution:

    http://xenforo.com/community/threads/find-replace-help.45290/#post-486353

    I do have the tool installed correctly (I have even re-installed it 3 times now). Everything time I copy/paste the codes above. No matter if I put a check mark box in save or not, nothing happens. I have read though all the post but still can't figure out how to get them to work. Is there a change since it's 3.4.5? Or is there something wrong with the tool? I just need to convert my quotes and videos them I am done. Anyone have any ideas?
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    You linked to my post with that replacement. If it isn't working then I need you to provide an example of the complete blockquote code in one of your forum posts.
     
  3. nodle

    nodle Well-Known Member

    This is one example:

    This video one is just a standard Youtube link.
     
  4. nodle

    nodle Well-Known Member

    This is the one I tried to use for the video:

    Code:
    Quick Find: <a href
    Regular Expression: #<a href="http://www\.youtube\.com/watch\?v=([^"]+)">.+</a>#siU
    Replacement String: [media=youtube]\1[/media]

    And this is the one I tried for the quotes:

    Code:
    Quick Find: <blockquote
    Regular Expression: #<blockquote class="ipsBlockquote" data-author="([^"]+)".+>([^<]+)</blockquote>#siU
    Replacement String: [quote=\1]\2[/quote]
     
  5. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    It looks correct to me. Send me a PM with a URL and admin login, and a link to one of the posts. I will take a look.
     
  6. nodle

    nodle Well-Known Member

    Sent.
     
  7. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Your blockquotes have one extra space in them. Try this:

    Quick Find: <blockquote

    Regular Expression: #<blockquote +class="ipsBlockquote" +data-author="([^"]+)".+>([^<]+)</blockquote>#siU

    Replacement String: [quote=\1]\2[/quote]
     
    nodle likes this.
  8. nodle

    nodle Well-Known Member

    Yes sir that fixed the Quotes, i wonder if its a change between 3.4.4 and 3.4.5? Now just need the media code and I should be good to go.
     
    Last edited: Jun 16, 2013
  9. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Quick Find: youtu.be

    Regular Expression: #http://youtu\.be/([\w_\-]+?)#siU

    Replacement String: [media=youtube]\1[/media]
     
    nodle likes this.
  10. nodle

    nodle Well-Known Member

    It worked Jake! I just wanted to say thankyou for taking time and helping me with this. Your awesome!:)
     

Share This Page