The Coppermine SEO tweaks broke some of my permissions settings and I was wondering why? The Coppermine SEO tweaks broke some of my permissions settings and I was wondering why?
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

The Coppermine SEO tweaks broke some of my permissions settings and I was wondering why?

Started by elwave, June 19, 2011, 03:16:16 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

elwave

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 :)

Αndré

Quote from: elwave on June 19, 2011, 03:16:16 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.

elwave

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 >.<


Αndré

Use a tool like PHPMyAdmin to check if the permission settings will be stored and updated in the database.

elwave

ah ok, so they're just stored as normal permissions in the DB? I'll take a look! :)

elwave

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 :)

Αndré

Try to replace all files with unmodified versions from the official Coppermine package.

elwave

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!