forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: elwave on June 19, 2011, 03:16:16 pm

Title: The Coppermine SEO tweaks broke some of my permissions settings and I was wondering why?
Post 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 :)
Title: Re: The Coppermine SEO tweaks broke some of my permissions settings and I was wondering why?
Post by: Αndré on June 22, 2011, 12:31:36 pm
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.
Title: Re: The Coppermine SEO tweaks broke some of my permissions settings and I was wondering why?
Post by: elwave on June 28, 2011, 10:43:26 am
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 >.<
Title: Re: The Coppermine SEO tweaks broke some of my permissions settings and I was wondering why?
Post by: elwave on July 06, 2011, 02:50:27 pm
sorry, bump! hehe :)
Title: Re: The Coppermine SEO tweaks broke some of my permissions settings and I was wondering why?
Post by: Αndré on July 13, 2011, 04:02:52 pm
Use a tool like PHPMyAdmin to check if the permission settings will be stored and updated in the database.
Title: Re: The Coppermine SEO tweaks broke some of my permissions settings and I was wondering why?
Post by: elwave on July 16, 2011, 03:02:05 pm
ah ok, so they're just stored as normal permissions in the DB? I'll take a look! :)
Title: Re: The Coppermine SEO tweaks broke some of my permissions settings and I was wondering why?
Post by: elwave on July 16, 2011, 03:10:07 pm
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 :)
Title: Re: The Coppermine SEO tweaks broke some of my permissions settings and I was wondering why?
Post by: Αndré on July 16, 2011, 03:30:20 pm
Try to replace all files with unmodified versions from the official Coppermine package.
Title: Re: The Coppermine SEO tweaks broke some of my permissions settings and I was wondering why?
Post by: elwave on July 18, 2011, 01:11:09 pm
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!