Announcement

Collapse
No announcement yet.

XMB Impex - Subforums retain relative path of forum they came from

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • XMB Impex - Subforums retain relative path of forum they came from

    Another problem discovered:

    While the main forum links relative to the main page work properly, the subforums link back to their original relative path.

    You can see this occur at http://www.puritanboard.com/vbb/

    The very first Form called Welcome to Puritanboard has this link: http://www.puritanboard.com/vbb/forumdisplay.php?f=20 (notice the vbb path)

    Its two sub-forum link back to the original forum:


    I tried moving the sub-forum out of their parent forum and back into their parent forum but that didn't fix it.

    How can I fix this?
    Rich

  • #2
    Aren't they in the description of the "Welcome To Puritanboard" forum and not vBulletin sub-forum links at all ?

    Check the description of the forum after the text : "Feel Free to introduce yourself here!".
    I wrote ImpEx.

    Blog | Me

    Comment


    • #3
      Did you actually take the time to navigate the site?

      These are sub-Forums, that have their own posts within them in XMB. They are not assuming the correct relative path but are retaining the old relative path.

      If it is was such a moronic fix as that I would have caught it. I'm really quite smarter than you might believe I am.

      If the Impex script cannot be fixed then how can I fix the sub-forums so they're links are correct?
      Rich

      Comment


      • #4
        Importing of Private Messages from XMB - Problem in Code

        I determined the error in Impex that is causing Importing problems.

        All U2U's (aka PM's) are contained in the Table xmb_u2u. Here is an example structure that demonstrates the problem:

        u2uid - msgto - msgfrom - type - owner - folder - subject
        1 user1 user2 incoming user1 Inbox Hi There
        2 user1 user2 outgoing user2 Outbox Hi There
        3 user2 user1 incoming user2 Inbox Re: Hi There
        4 user2 user1 outgoing user1 Outbox Re: Hi There

        Above represents an example when user2 sends a u2u to user1 with the Subject: Hi There. That message creates two dB entries - one owned by user1 in his Inbox, the other owned by user2 in his Outbox.

        User1 replies with Re: Hi There. This creates two more dB entries that are according to the above.

        Now, here's the problem. It appears that the ImpEx is importing all instances of the above. If user1 and user2 have both retained copies of the message then there are duplicate entries created in the PM Inbox of both user1 and user2. There are also duplicate entries created in the Outbox of both users for the Reply.

        If user1 deletes his copy, a message is still imported into his PM. Why? Because all the Impex seems to be checking is whether the msgto recepient.

        Recommended fix: The ImpEx should only import information into the PM Inbox when the msgto=owner. Also, it should only import inofrmation into the PM Outbox when msgfrom=owner.

        That should solve the problem.
        Rich

        Comment


        • #5
          Yes I did look at your site, and the sub forums links are being displayed as part of the description and not as popper sub-forums, I believe this because I even took the time to check the HTML to try and see where it was coming from.

          If you believe I am trying to imply you are moronic by taking my time to help you and giving a honest guess then I will leave you and refrain from offering any support on the forums.
          I wrote ImpEx.

          Blog | Me

          Comment


          • #6
            Originally posted by Jerry View Post
            Yes I did look at your site, and the sub forums links are being displayed as part of the description and not as popper sub-forums, I believe this because I even took the time to check the HTML to try and see where it was coming from.

            If you believe I am trying to imply you are moronic by taking my time to help you and giving a honest guess then I will leave you and refrain from offering any support on the forums.
            Jerry,

            I apologize for my tone. I'm not above rebuke by any means. I started thinking about what you had written initially and realized I hadn't checked the actual code in the description. Sure enough it was there.

            I guess we have to live and die by our own words. I was a moron for not checking more carefully. As I've told my Marines countless times: I'm not going to always be right and when I'm wrong I'll admit it.

            That particular issue is solved.

            I've put in a trouble ticket for the outstanding issues because these are still problems:
            1. Bio field imports into the Interests Field
            2. U2U's import into the incorrect mailbox (per the description of the dB above)
            3. Birthdates are not transferring over properly.

            I tried looking at the actual Impex code to see if there were any logic statements I could find where the databases were actually syncing up but I couldn't figure out where to look.
            Rich

            Comment


            • #7
              Originally posted by SemperFideles View Post
              Jerry,

              I apologize for my tone. I'm not above rebuke by any means. I started thinking about what you had written initially and realized I hadn't checked the actual code in the description. Sure enough it was there.

              I guess we have to live and die by our own words. I was a moron for not checking more carefully. As I've told my Marines countless times: I'm not going to always be right and when I'm wrong I'll admit it.

              That particular issue is solved.
              Thanks

              One issue down a few to go, seeing as you have opened a ticket with the details I'll look there.
              I wrote ImpEx.

              Blog | Me

              Comment

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