Icy Phoenix

     
 


Post new topic  This topic is locked: you cannot edit posts or make replies. 
Page 1 of 1
 
 
Reply with quote Download Post 
Post 015-0003 - Wrong link on Personal Gallery 
 
after delete one image on personal gallery, there is 2 link

---> Return on your personal gallery
---> Return to album index
 
all 2 links are wrong:

first link:  
bug_003

second link: not to album index but to personal gallery!
 



 
hplSend 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: BUG - 015-0003 - Wrong link on Personal Gallery 
 
Can you try if this solves the issue please?

OPEN album_delete.php
FIND
Code: [Download] [Hide] [Select]
    if ($album_user_id == ALBUM_PUBLIC_GALLERY)
    {
        $message .= '<br /><br />' . sprintf($lang['Click_return_category'], '<a href="' . append_sid(album_append_uid('album_cat.' . $phpEx . '?cat_id=' . $cat_id)) . '">', '</a>');
    }
    else
    {
        $message .= '<br /><br />' . sprintf($lang['Click_return_personal_gallery'], '<a href="' . append_sid(album_append_uid('album_personal.' . $phpEx . '?user_id=' . $cat_user_id)) . '">', '</a>');
    }

    $message .= '<br /><br />' . sprintf($lang['Click_return_album_index'], '<a href="' . append_sid(album_append_uid('album.' . $phpEx)) . '">', '</a>');

    message_die(GENERAL_MESSAGE, $message);

REPLACE WITH
Code: [Download] [Hide] [Select]
    if ($album_user_id == ALBUM_PUBLIC_GALLERY)
    {
        $message .= '<br /><br />' . sprintf($lang['Click_return_category'], '<a href="' . append_sid(album_append_uid('album.' . $phpEx . '?cat_id=' . $cat_id)) . '">', '</a>');
    }
    else
    {
        $message .= '<br /><br />' . sprintf($lang['Click_return_personal_gallery'], '<a href="' . append_sid(album_append_uid('album.' . $phpEx . '?user_id=' . $cat_user_id)) . '">', '</a>');
    }

    $message .= '<br /><br />' . sprintf($lang['Click_return_album_index'], '<a href="' . append_sid(album_append_uid('album.' . $phpEx)) . '">', '</a>');

    message_die(GENERAL_MESSAGE, $message);

 




____________
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
Reply with quote Download Post 
Post Re: 015-0003 - Wrong link on Personal Gallery 
 
Don't u have missed

Code: [Download] [Hide]
  1. message_die(GENERAL_MESSAGE, $message); 


in the replace code?

i get

Click here to return to the personal gallery

Click here to return to the Album Index

But both links are related to personal gallery
 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: 015-0003 - Wrong link on Personal Gallery 
 
Yes, I missed that... I've replaced it in my post.

Anyway I cannot understand why the second link point to the personal gallery when it states album.php...

I'll check... at least we did remove the first error.
 




____________
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
Reply with quote Download Post 
Post Re: 015-0003 - Wrong link on Personal Gallery 
 
Mighty Gorgon wrote: [View Post]
Yes, I missed that... I've replaced it in my post.

Anyway I cannot understand why the second link point to the personal gallery when it states album.php...

I'll check... at least we did remove the first error.

I think you need to remove the album_append_uid().

Code: [Download] [Hide] [Select]
$message .= '<br /><br />' . sprintf($lang['Click_return_album_index'], '<a href="' . append_sid('album.' . $phpEx) . '">', '</a>');

Same link problem (album index) after uploading a pic.
 



 
ArtieSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: 015-0003 - Wrong link on Personal Gallery 
 
So it isn't working fine on picture upload as well?

I've never noticed it... I'll check...

Thanks.
 




____________
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
Reply with quote Download Post 
Post Re: 015-0003 - Wrong link on Personal Gallery 
 
Nice shoot Artie... I don't know why but it seems to work fine now.

I'll close this, hoping it has been definitely fixed.

Thanks.
 




____________
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
Post new topic  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