comments dissapear when changing gallery order
Status: Abandoned
Brought to you by:
natasab
If you submit a comment to an image, then the admin
rearranges the order of the galleries, the comments
dissapear.
This is due to the fact that comments are stored in
files named as GID_PHID (example: 8_4)
When the GID changes, the files are not renamed, so the
comments dissapear.
When changing the order (the GID changes), the files
should be renamed to reflect the new GID.
Alternatively, the comment filenames should not have
the GID in them, so if the gallery order changes, the
comments will still be read.
examples:
"_4" for picture 4
"_8" for picure 8
Then there would be no need to rename the files, as
they would all be in separate directories anyway.
Logged In: NO
Well, In order yo modify gid-dirs file, you only have to
reorder the lines, not the numbers, that way you can change
you gallery index. For example, gid-dirs file looks like this:
1=>images1/
2=>images2/
You can change it to:
2=>images2/
1=>images1/
Now, gid 2 appears first on gallery index.
Anyway, on next release it will possible to reorder galleries.
NaTaSaB.
Logged In: YES
user_id=868982
Did it worked?