jerx
10-09-2008, 01:22 PM
I have imported many pictures from another mod to vb' s album. Unfortunately the album picture count is not correct, if a user has more than 1 picture. Eg "Picture 3 of 1 from Album AlbumName" (View Picture page).
I was not able to find the album count. I think that these are the only tables which are important for the pictures:
album
albumpicture
picture
picturecomment and picturecommenthash should be unimportant.
Or isn' t it stored in the database? How is the album picture count generated?
The template uses this to generate the text:
<phrase 1="$pic_location[pic_position]" 2="$albuminfo[picturecount]" 3="$albuminfo[title]">$vbphrase[picture_x_of_y_from_album_z]</phrase>
I think it might have been calculated incorrectly, because I had wrong values for creation date and last picture update for the album. Now I have correct values, but the problem persists. I have also tried to update the counters by setting a new max for the allowed picture quantity, but still no luck.
Can anybody please help me on this issue?
I was not able to find the album count. I think that these are the only tables which are important for the pictures:
album
albumpicture
picture
picturecomment and picturecommenthash should be unimportant.
Or isn' t it stored in the database? How is the album picture count generated?
The template uses this to generate the text:
<phrase 1="$pic_location[pic_position]" 2="$albuminfo[picturecount]" 3="$albuminfo[title]">$vbphrase[picture_x_of_y_from_album_z]</phrase>
I think it might have been calculated incorrectly, because I had wrong values for creation date and last picture update for the album. Now I have correct values, but the problem persists. I have also tried to update the counters by setting a new max for the allowed picture quantity, but still no luck.
Can anybody please help me on this issue?