Icy Phoenix

     
 


This forum is locked: you cannot post, reply or edit topics.  This topic is locked: you cannot edit posts or make replies. 
Page 1 of 1
 
 
Reply with quote Download Post 
Post 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..

   
 




____________
Mods and themes for Icy Phoenix 1.3

IcyPhoenix UK is off-line permanently due to lack of time to update mods.
if anyone is interested in my templates I will upgrade them to Icy 2.0.
 
DWhoSend private messageVisit poster's website  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post 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..

   
 



 
DWhoSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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 ..

   
 



 
DWhoSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Personnal Gallery 
 
Moved fo FAP Support
 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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...


   
 



 
DWhoSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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
 



 
ArtieSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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...

   
 



 
DWhoSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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
 



 
ArtieSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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...

   
 



 
DWhoSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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
 



 
pepiSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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.
 



 
ArtieSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Personnal Gallery 
 
It should work fine in this new RC release. Try and let me know.
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
This forum is locked: you cannot post, reply or edit topics.  This topic is locked: you cannot edit posts or make replies.  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
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


  

 

  cron