![]() |
Photo Navigation I've got a new install of PP and everything seems to work OK. Except for the Photo Navigation. If I'm logged in, I can see all of the photo navigation just fine including the Next and Previous Buttons, the Preview Thumbnails, and the Slideshow Button. But when I log out and become a guest, all of the navigation disappears and it just shows the photo. I have "Enable next and previous photo previews?" set to Yes, and can't find anywhere for setting usergroup permissions for the navigation. Am I missing something? Any ideas why this is happening? |
http://www.reeftalk.com/gallery/showphoto.php?photo=395 HMM what do you see here? Please post your url. |
The Photo Navigation to the reeftalk site you sent looks fine for me as a guest. Not sure what my problem was, but I created a new category and then uploaded some new photos to that category and the photo navigation works fine now when not logged in. |
After some more testing, I found out what was causing the problem. The Photo Navigation shows up fine for guests, until I enter a value into one of the Additional Text Fields that I have set up in the category. For some reason, the Additional Text Fields are interferring with the Photo Navigation for guests. Is this a bug? |
I will have to do some testing on this and let you know |
Try the following to replicate the problem I'm having: 1. Upload two photos to a category that has an Additional Text Field set up, without entering anything into the Text Fields. 2. Then, go back and edit one of the photos and enter something into the Additional Text Field. Now when you log out and go to the category, the photo you just edited will no longer show up in the Photo Navigation for guests. |
Are you talking about the photo not appearing in the navigation or the navigation buttons not showing. Just clarifying here as your posts indicate two different issues here |
I figured out where the bug is by looking at the MySQL table for the photos. When I enter or change the value for an Additional Text field, the value in the last column in the MySQL table (column name is "ismature") changes from "0" to "1". If I manually change the value back to "0", then the photo navigation for guests works fine. |
Quote:
|
ok thanks |
OK. I figured that the ismature column had something to do with the Mature Content filter. So, I set the Mature Content Filter to Yes in Admin and now the Photo Nav for guests seems to work fine when I change or enter values in the Additional Text Fields. So I'm OK now, but this does seem like a bug. |
well trying to replicate this but so far no go http://www.reeftalk.com/gallery/show...1279&nocache=1 There is a photo I edited after adding an additional extra field and I see the prev links. The next previous buttons are all shown based on the query that is given for the next prev options. If your marking photos as mature content they are not going to be shown on that page. That is what I am saying so having alot of mature content is going to surpress alot of navigation. |
I'm not planning on having any mature content which is why I had the Mature Content Filter set to "No". But the only way I could get past my problem was to set the Mature Content Filter to "Yes". |
Try in showphoto.php around line 399 and 414 you add the code in bold and try turning off the mature switch Code: Content visible to verified customers only. |
Thanks. I'll give it a try. On the subject of Additional Text Fields...I'd like one of the fields to show up underneath each of the Random Image thumbnails on the main Index page. I've tried adding the variable "$extra1" to the feature.tmpl (see below). But that didn't work. <span class="{$Style['small']}">{$ptitle[$x]}<br />{$puser[$x]}<br />$extra1</span> |
That is because whenever you use a variable you need to first define such variable in the php scripts and extra fields are not shown on random photo blocks. |
| All times are GMT -5. The time now is 07:58 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0