FAP CUSTOMIZATION - Personnal Gallery


Subject: FAP CUSTOMIZATION - Personnal Gallery
Hi

Properly something really obvious that I have missed but I have never seen this before....

I wanted to add a pic to my personal album but it states that I am not authorised... I have checked all the admin settings though I could not see something that I could turn on that would stop this...

Public galleries work just fine...

Any help would be greatly appreciated..

:mrgreen: :mrgreen:

Subject: Re: Personnal Gallery
hi

I tried changing the code found in this post Here but nothing happens....

Any help would be great ... thank you..

this is the code in my includes/album_mod/album_personal.php

Code: [Download] [Hide] [Select]
// ------------------------------------------------------------------------
// Check view permissions
// ------------------------------------------------------------------------

// Old AUTH Check for PG
//$auth_data = album_permissions($album_user_id, $cat_id, ALBUM_AUTH_ALL, $thiscat);

// Used in album_cat.php
//$auth_data = album_get_auth_data($cat_id);

// New AUTH check for PG
$auth_data = album_get_auth_data(album_get_personal_root_id($album_user_id));

if ( !album_check_permission($auth_data, ALBUM_AUTH_VIEW) )
{
if (!$userdata['session_logged_in'])
{
redirect(append_sid(LOGIN_MG . '?redirect=album.' . $phpEx . '&user_id=' . $album_user_id));
}
else
{
message_die(GENERAL_MESSAGE, $lang['Not_Authorised']);
}
}
//
// END check permissions
//


I will keep trying to find a solution..

:mrgreen: :mrgreen:

Subject: Re: Personnal Gallery
Hi

I have switched on this bit of code

Code: [Download] [Hide] [Select]
// 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]
// 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 ..

:mrgreen: :mrgreen:

Subject: Re: Personnal Gallery
Moved fo FAP Support

Subject: Re: Personnal Gallery
Hi

As I am running icyphoenix on my site and I have a problem with FAP do I have to post in the FAP section and not the icy phoenix section...??

Sorry but it seems a bit confusing to have to post in different sections when the problem could lie with icy phoenix...


:mrgreen: :mrgreen:

Subject: Re: Personnal Gallery
If it's FAP related you should probably post it here under FAP.

There was a bug in the Personal Galleries for Icy Phoenix... it is supposedly fixed.
Check this thread to see if it is the same problem as you are having.

http://www.icyphoenix.com/viewtopic.php?p=12009

Profile PM  
Subject: Re: Personnal Gallery
Hi

thank you for confirming that...makes it easier to post ...

Thank you for the link as well but it is leading me to a restricted page..

Code: [Download] [Hide] [Select]
Sorry, but only users granted special access can read topics in this forum.


Could you possibly copy the code changes and let me know here...

Thanks for the help...

:mrgreen: :mrgreen:

Subject: Re: Personnal Gallery
DWho wrote: [View Post]
Thank you for the link as well but it is leading me to a restricted page..


Sorry bout that :oops:
Anyway, I do not know the code changes...the post says it will be fixed in the next update/patch.
This was posted after 011.001 was released.

The patch is here:

http://www.icyphoenix.com/viewtopic.php?p=11694

but I'm not sure if the fix is included in this patch

Profile PM  
Subject: Re: Personnal Gallery
Artie wrote: [View Post]
DWho wrote: [View Post]
Thank you for the link as well but it is leading me to a restricted page..


Sorry bout that :oops:
Anyway, I do not know the code changes...the post says it will be fixed in the next update/patch.
This was posted after 011.001 was released.

The patch is here:

http://www.icyphoenix.com/viewtopic.php?p=11694

but I'm not sure if the fix is included in this patch


No problem

the path you gave a link for doesnt fix my problem so I will wait for it to be included elsewhere...

Thank you for your help...

:mrgreen: :mrgreen:

Subject: Re: Personnal Gallery
Artie wrote: [View Post]

This was posted after 011.001 was released.
The patch is here:

http://www.icyphoenix.com/viewtopic.php?p=11694

but I'm not sure if the fix is included in this patch


Hi Artie

is not fixed ....... in 011.001
Pepi

Subject: Re: Personnal Gallery
pepi wrote: [View Post]

Hi Artie

is not fixed ....... in 011.001
Pepi

Thanks Pepi
I wasn't sure if this was fixed in a current release/patch... only that MG had attended to it.

Profile PM  
Subject: Re: Personnal Gallery
It should work fine in this new RC release. Try and let me know.


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.1641s (PHP: 13% SQL: 87%)
SQL queries: 10 - Debug Off - GZIP Enabled