Accsess Denied - Personal Galleries


Subject: Accsess Denied - Personal Galleries
Hi all, just a quick question really: when I try to open personal galleries I get an accsess denied message, I have searched these boards and found that others have had the same problem, but cant find a solution I am using build 101111_rc is this a known bug that cannot be fixed or is there a solution that I cannot find? I have set all permissions correct as far as I know and neither users or admin can create a personal gallery and just get this meesage.

Can anyone help?

Regards

K_S

PS site is not live yet, but am willing to PM details and any permisions to a mod to check it out :)

Profile PM  
Subject: Re: Accsess Denied - Personal Galleries
hi

try this on post #3
http://www.icyphoenix.com/viewtopic.php?t=1659

Pepi

Subject: Re: Accsess Denied - Personal Galleries
Below is from post 3 as suggested....


Hi

I have switched on this bit of code

Code: [Download] [Hide] [Select]
Code: [Download] [Show]
// Old AUTH Check for PG
$auth_data = album_permissions($album_user_id, $cat_id, ALBUM_AUTH_ALL, $thiscat);


and tuned off this bit...

Code: [Download] [Hide] [Select]
Code: [Download] [Show]
// New AUTH check for PG
//$auth_data = album_get_auth_data(album_get_personal_root_id($album_user_id));


Now my personal galleries are working..I can assume this is not the way it should be so has anyone got a better solution at all...

FYI this is a fresh install of the recent icy phoenix package on php 5 and mysql 5...

Thanks ..


Sorry but what is meant by switched on and turned off?, pretty new to this stuff but can edit php file spretty succsessfully :)

Thanks again for your help.

K_S

Profile PM  
Subject: Re: Accsess Denied - Personal Galleries
Never Mind I understand now and have changed it .

Now working :) , I think this should be highlighted as a fix somewhere sticky as it was harder to find than it should be .

Regards,

K_S

Profile PM  
Subject: Re: Accsess Denied - Personal Galleries
Hi

To switch of and turn on code as I aid is basically to addor remove these 2 slashes
Code: [Download] [Hide] [Select]
//


so I removed those 2 slashes from the first part of the code to turn the code on and addedd them to the second bit to turn that bit of code off....

I hope that helps

:mrgreen: :mrgreen:

Subject: Re: Accsess Denied - Personal Galleries
Yes thanks for that I finally worked it out and it all works fine now :)

Thanks for your help

K_S

Profile PM  
Subject: Re: Accsess Denied - Personal Galleries
No problem

Happy to help...

:mrgreen: :mrgreen:

Subject: Re: Accsess Denied - Personal Galleries
Ok guys another one for you :)

didnt start another topic thought it would be easier to add here.

Is it possible to create a pro user group and set an individual upload quota for each users personal gallery and add to the quota as they go?

does that make sense?


In other words say I had prouser 1 and prouser 2 I would like user 1 to have a personal gallery quota limit of 100 and user 2 to to have a limit of 60.

then at a later time I would like to increase user 2's limit to 100 is this possible?

Thank in advance.

K_S

Profile PM  

Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.5878s (PHP: 3% SQL: 97%)
SQL queries: 10 - Debug Off - GZIP Enabled