PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Bugs From 1.0.0 (http://www.photopost.com/forum/bugs-1-0-0/)
-   -   Filmstrip Issue (http://www.photopost.com/forum/bugs-1-0-0/117783-filmstrip-issue.html)

ConqSoft March 4th, 2005 07:09 PM

Filmstrip Issue
 
(My site requires registration to view images, but Brian has an account, so he will be able to see this issue.)

If you follow a link off the Gallery home page, newest images section, it will send you here for example:

http://www.fireblades.org/gallery/sh...atid=newimages

If you look at the filmstrip, it shows the correct images that were after that image in the newest section.

Now, if you view to full size image, the filmstrip switches to show all images in the Member's Category.


Same thing happens if you navigate to that user's Member Gallery, here:
http://www.fireblades.org/gallery/br...00&userid=8895

Click one of the images and the filmstrip looks fine, only showing images in this particular user's Member Gallery. But, click to view the full size version, and it does the same thing to the filmstrip.

ConqSoft March 4th, 2005 07:17 PM

Re: Filmstrip Issue
 
It looks like it's just not carrying along the catid to the link to the original.

Brian March 5th, 2005 12:24 PM

Re: Filmstrip Issue
 
If you'll look in your 'ADV_GALLERY_SHOWIMAGE' template for this:
Code:

Content visible to verified customers only.
And replace it with this:
Code:

Content visible to verified customers only.
That should take care of the problem.

ConqSoft March 5th, 2005 12:43 PM

Re: Filmstrip Issue
 
Sorry, forgot to mention that the links down in the fields are missing the catid as well. (the Resolution and File Size links that go to the original image)

ConqSoft March 18th, 2005 10:02 PM

Re: Filmstrip Issue
 
Also, another filmstrip issue. Related to a category that is set as a "Member's Category"

When you click on an image in the Random Images section of the main gallery page, it takes you to this link, for example:

http://www.fireblades.org/gallery/sh...3136&catid=500

At the top, in the breadcrumbs, you'll see that is says "G-Force Junkie's Images", as it should. But, the filmstrip isn't showing the next/previous images in that category.

If the link is changed to this, it works as expected:
http://www.fireblades.org/gallery/sh...tid=500&u=5319

ConqSoft March 18th, 2005 10:05 PM

Re: Filmstrip Issue
 
Quote:

Originally Posted by ConqSoft
Sorry, forgot to mention that the links down in the fields are missing the catid as well. (the Resolution and File Size links that go to the original image)

Any ideas on this?

Brian March 19th, 2005 11:09 AM

Re: Filmstrip Issue
 
For the first issue, if you'll look in your 'ADV_GALLERY_SHOWIMAGE' template for the filesize and dimensions section you should see a few links there. Just add $adv_sorturl after each and that should take care of the problem.


For the filmstrip issue, if you'll look in your showimage.php file for this code:
Code:

Content visible to verified customers only.
Replace with this:
Code:

Content visible to verified customers only.
Then find:
Code:

Content visible to verified customers only.
Add this right above it:
[php] if ($image['membercat'])
{
$wherequery[] = 'userid = ' . intval($image['userid']);
}
[php]

And that should take care of that problem.

ConqSoft March 19th, 2005 11:36 AM

Re: Filmstrip Issue
 
Quote:

Originally Posted by Brian
For the first issue, if you'll look in your 'ADV_GALLERY_SHOWIMAGE' template for the filesize and dimensions section you should see a few links there. Just add $adv_sorturl after each and that should take care of the problem.

That fixes it on the show image page, but not on those same links in the Newest Images section of the main gallery page. What template do I need to look in to fix those?

Thanks

ConqSoft March 19th, 2005 11:38 AM

Re: Filmstrip Issue
 
For the second part, I can't find any occurance of even "catimage" in showimage.php. :(

Brian March 19th, 2005 11:42 AM

Re: Filmstrip Issue
 
Sorry about that, I think I was looking at the file for RC4. I've just updated the post with the correct code.

ConqSoft March 19th, 2005 11:45 AM

Re: Filmstrip Issue
 
Yep, that did it for the second part. Thanks again.

Brian March 19th, 2005 11:48 AM

Re: Filmstrip Issue
 
Quote:

Originally Posted by ConqSoft
That fixes it on the show image page, but not on those same links in the Newest Images section of the main gallery page. What template do I need to look in to fix those?

Thanks

Sorry, 'adv_gallery_imagebits' should take care of those.

ConqSoft March 19th, 2005 11:50 AM

Re: Filmstrip Issue
 
Yep. All fixed now. Thanks! ;)


All times are GMT -5. The time now is 01:12 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97