1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

[100 €] vb4 import with same IDs

Discussion in 'Add-on Requests [Archive]' started by Marcus, Oct 9, 2011.

  1. Marcus

    Marcus Well-Known Member

    Modify Paul M vbulletin 4 importer to have the following IDs the same in both source-vb4-forum and target-xenforo forum:
    • forumid
    • threadid
    • postid
    • userid
    • attachmentid
    The rights to this mod go exclusively to Paul M or the xenforo team or whatever. I don't want to hassle with copyrights :)
  2. principia

    principia Well-Known Member

    Have you contacted borbole ? I think he can do this
  3. James

    James Well-Known Member

    I think you'd have to modify XenForo_Model_Import to retain the IDs... I could be mistaken though.
  4. Marcus

    Marcus Well-Known Member

    Are you interested to do that for 100 €?
  5. xfrocks

    xfrocks Well-Known Member

    I can do this, send me a message if this job is still available :)
  6. EasyTarget

    EasyTarget Well-Known Member

    Curious to know what advantage their would be for keeping the same forumid, threadid?
    Userid I can understand because add-ons are using the userid as the key field.
  7. Marcus

    Marcus Well-Known Member

    You can very easy correct each and every internal link from posts etc. to the target forum format. That removes thousands of 301 redirects and therefore possible queries. All redirects will work without a database query looking up the matching ID and are therefore not only faster, but the server itself has less to do and will be faster for all other users.
    xfrocks and Fuhrmann like this.
  8. EasyTarget

    EasyTarget Well-Known Member

    This would only refer to if someone posted a link inside a post? If someone is coming externally, i.e. via google search, link on 3rd party website no matter what you will need to do the 301. Once they arrive to the forum when navigating you won't have any 301 issues, right? just curious.

    The overhead for the 301 script that Kier wrote is very low. It is doing a select statement on a hashed index. You can't do a simpler / faster query if you tried. The re-direct part does add an extra layer, but for the user they should never see the difference because of how fast the redirect will happen. 0 bytes are transmitted to the user before they are sent to the destination page. There shouldn't be any delays. Unless of course I haven't a clue as to what I am talking about, which is always a possibility. :D
  9. xfrocks

    xfrocks Well-Known Member

    The redirection script is fast but this guy probably wants it to be faster by doing a pure-htaccess redirect :D
    Marcus likes this.
  10. Marcus

    Marcus Well-Known Member

    With Kiers search and replace addon you can change all existing links to the new xenforo format very easy if you have the same IDs.
  11. Kier

    Kier XenForo Developer Staff Member

    For what it's worth, I think this is a pointless exercise. The 301 redirects are quick and efficient - I doubt that any of your users would even notice the redirect occurring.

    On the other hand, modifying the importer to maintain IDs could be a major undertaking.
  12. Marcus

    Marcus Well-Known Member

    One of the biggest reasons is that I have written dozens of add-ons which all make use of forumids, userids, threadids etc.

    It looks just changing them with simple database queries is much easier than modifying the importer, thanks for your reply!

Share This Page