FAP CUSTOMIZATION - Personnal Gallery »  Show posts from    to     

Icy Phoenix


Archived phpBB Topics (Styles, Mods, Support) - FAP CUSTOMIZATION - Personnal Gallery



DWho [ Tue 17 Apr, 2007 00:36 ]
Post 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..



DWho [ Tue 17 Apr, 2007 12:09 ]
Post 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: [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..



DWho [ Tue 17 Apr, 2007 12:24 ]
Post subject: Re: Personnal Gallery
Hi

I have switched on this bit of code

Code: [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: [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 ..



Zuker [ Tue 17 Apr, 2007 12:50 ]
Post subject: Re: Personnal Gallery
Moved fo FAP Support


DWho [ Tue 17 Apr, 2007 16:23 ]
Post 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...




Artie [ Tue 17 Apr, 2007 18:41 ]
Post 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


DWho [ Tue 17 Apr, 2007 21:14 ]
Post 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: [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...



Artie [ Tue 17 Apr, 2007 23:33 ]
Post 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
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


DWho [ Tue 17 Apr, 2007 23:40 ]
Post 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
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...



pepi [ Wed 18 Apr, 2007 22:35 ]
Post 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


Artie [ Sat 21 Apr, 2007 01:06 ]
Post 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.


Mighty Gorgon [ Mon 07 May, 2007 01:21 ]
Post subject: Re: Personnal Gallery
It should work fine in this new RC release. Try and let me know.




Powered by Icy Phoenix