forum.coppermine-gallery.net
Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: elwave on June 19, 2011, 03:16:16 pm
-
Hey hey :)
Basically, I made all these changes:
http://forum.coppermine-gallery.net/index.php?topic=68822.0
and all is good, but as the creator noted, permissions changes for viewing full images (such as disabling it for guests) now do not work. I intend to obviously have another good look to work out why (I tried disabling the plugin I made based on this post - http://forum.coppermine-gallery.net/index.php/topic,68822.msg340148.html#msg340148 but it didnt work!) but I'd love a pointer if anyone knows what it could be!
Wave :)
-
permissions changes for viewing full images (such as disabling it for guests) now do not work.
Will they be stored and updated in the database? I haven't looked yet at all of those changes, but we should figure out if the permissions settings are broken or if the settings are applied wrongly.
-
yeah it's odd, and thanks for the reply - sorry about the double post (I actually didn't spot your reply when I made the second thread!)
So erm, I mean would a good move now be for me to check where the permissions changes SHOULD be being applied so I can work out if it's being done properly or not? Or can you think of a better approach?
Also, I tried limiting guest access to intermediate images instead (just because I was getting desperate to increase forum traffic!) and it still didn't work :(
I wonder which SEO change permanently affected the permissions settings (regardless of whether the SEO tweak code is still there or not) and how it can be changed back >.<
-
sorry, bump! hehe :)
-
Use a tool like PHPMyAdmin to check if the permission settings will be stored and updated in the database.
-
ah ok, so they're just stored as normal permissions in the DB? I'll take a look! :)
-
yup, it's definitely changing the access level for guests in the usergroups table. As I said the crazy thing is I'm pretty sure I reverted back ALL the SEO changes >.<
Can you think of where else it could be breaking? I keep checking it as a guest in incognito mode in Chrome and no matter what I do it lets me access everything as a guest.. weeeird.
Thanks so much :)
-
Try to replace all files with unmodified versions from the official Coppermine package.
-
ok cool I'll do that asap :)
I already reverted back I think everything to do with my theme, so I don't think the problem is in there (and judging by the contents of the theme files it seems unlikely o.O )
So yeah, I'll do it and see if it fixes it!