Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-16194

Smilie PAK Installation → Installed Smilies Order Doesn't Match PAK File

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Minor
    • Resolution: Unresolved
    • 3.2.8
    • None
    • ACP
    • None

    Description

      *+What Is Occurring?
      +*I have 119 new Emoji to upload. They are ordered in the Smilie.PAK file according to how I would like them to be ordered on the forum. But after uploading the file, the order is broken in several areas. After seeking support, it was determined that the file order broke as soon as it encountered a differing value in the "Display On Posting Page" field.

      If all values are set to '1' or '0', then the images will install (during PAK installation) in the proper order. The value of the first image establishes whether 1's or 0's will be expected in all images that come after it. As soon as phpBB encounters an image with an opposite setting in this field, then the order is disrupted; with one exception. I did an install where the first 54 files were set to '1' and the last 65 were set to '0'. The files displayed correctly.

       

      What Is The Expected Behavior?

      The files should upload in the same order they are listed in the PAK file, regardless of their Display setting.

       

      Procedure
      1. Deleted all files in [c]/images/smilies/[/c]
      2. Uploaded images and PAK file to same location.
      3. Installed through the ACP (Posting → Smilies), choosing the "Delete All" option during installation.

       

      +Helpful Files
      +Note: Added files to Issue, but also linking to remote resources for convenience.

      1. The contents of my PAK file.
      2. Smilies Listing in the ACP: Part One, Part Two, Part Three
      3. Side-by-Side Comparison (all 119 images)

      Attachments

        1. 1a. phpBB ACP, Smilies Page 1 (Full).png
          461 kB
          Mulsiphix [X]
        2. 1b, phpBB ACP, Smilies Page 2 (Full).png
          506 kB
          Mulsiphix [X]
        3. 1c. phpBB ACP, Smilies Page 3 (Full).png
          102 kB
          Mulsiphix [X]
        4. 1d. phpBB ACP, Smilies Pages 1 thru 3 (Joined).png
          237 kB
          Mulsiphix [X]
        5. 2. Side-by-Side-Comparison (Complete).png
          935 kB
          Mulsiphix [X]
        6. Discourse_Emoji.pak
          6 kB
          Mulsiphix [X]

        Activity

          People

            Unassigned Unassigned
            Mulsiphix Mulsiphix [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: