Next, Previous, & Flimstrip
I posted this once before - maybe it got lost since I don't see the BETA forum anymore. But we talked about this issue...
As a regular member.
When I open a gallery, I do not have the film strip displayed and when I click NEXT and PREVIOUS the i= in the link is empty so no image is shown.
I have checked and rechecked permissions, I JUST redownloaded the entire 2.5 package and also updated all templates and the product. Same error.
I had to do this:
In showimage.php I had to comment out lines 140-143:
// if ($userid)
// $wherequery = 'images.userid = ' . $userid;
You won't see this error as an administrator, only a regular user browsing another user's gallery.
I don't do a lot of restrictions on my site - pictures are not moderated and I only have three member groups, ADMIN, MOD, and USER... ADMIN and MOD same permissions, USER have just about everything - except ...others posts type permissions.
Any ideas on this one?
I remember this issue... but I remember also i could not reproduce the error..
As i just did a fresh install on my localhost.. (to also test something else)
I just looked into it.. and still could not reproduce...
if i understand you correctly, I tried following..
2 users Admin and Tester
I did not change anything in category configuration so I have:
Main Category --> Main Album
Admin uploads 10 images, Tester uploads 5 images (all to Main Album)
Filmstrip is set to 0 (disabled)
Now I login as tester and start browsing
I get the page of his images, click on the first one-
From the browseimage page the link to the image is:
I then click on the Next link
Link is: h ttp://localhost/site/gallery/showimage.php?i=13&goto=next&c=member&imageuser=1
and so on.. all links are working...
Am I doing something different than you are?
Have you any hacks installed?
PS: I remember in the betaforum, I could reproduce the error when adding a wrong link manually,... but cant remember what it was..
What I suspect is that some hack is setting the userid to something thus triggering the error...
because the $userid should be empty anyway...
Therefor you can safely remove those lines of code without loosing any functionallity!!!
to test this... add following line of code above
echo $userid; exit;
now when you click a next link... you should get a blank page...
if not, (you get a white page with number) you would have to search through the plugins which one is adding the userid...
but if I were you, i just stick to the working fix.. by removing those lines..
Other possibility.. you have some error on your browseimage.php... so that the first link when you go to showimage is allready wrong.. having userid instead of imageuser!!! in that case its a completely different problem..
I've had this problem reported to me by several users.
I couldn't reproduce so I kinda blew it off.
Going to try the fix in the first post and see what the reports are, thanks!
I would highly suspect a hack conflict as well. I remember this one as well and no one was able to reproduce the issue.
It would be interesting to find the reason....
its not only the userid...
as a matter of fact.. i suspect its a hack interfearing with browseimages.php.. and then giving the wrong url to showimage.php.. where the error then shows...
its extremly annoying when you cant reproduce an error...
A vBgallery hack or a vB modification?
We are both talking vbulletin hacks plugins.
Basically what Luciano and I both have commented is this can not be reproduced on a default install with no hacks/plugins or clean install if you will.
The problem with vbulletin to some degree with all the addons and mods out there is that there are conflicts and unwanted behaviors when you run alot of these things. This addon doesnt play well with this and that one does play well with this other one etc.
The issue as it is being seen here is the userid variable which should be empty under all but a few urls is being used or defined by some plugin/hack thus triggering the problem
Not a problem but yeah you have tons of hacks so thats the prevailing idea
|All times are GMT -5. The time now is 08:10 AM.|
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0