Icy Phoenix


Archived phpBB Topics (Styles, Mods, Support) - FAP SUPPORT - Problem In Recent Public Pics And Most Viewed Pictures Block



fracs [ Fri 19 Jan, 2007 16:05 ]
Post subject: FAP SUPPORT - Problem In Recent Public Pics And Most Viewed Pictures Block
When I set in ACP > Configuration > Thumbnail Settings > View full pic as a popup: Yes,
in Recent Public Pics Block and Most Viewed Pictures Block I have error in link:

Code: [Hide]
  1. album_pic.$phpEx?pic_id=5 


All other block (Highest Rated Pictures and Random Pictures) are ok.

Bye.


Artie [ Fri 19 Jan, 2007 18:21 ]
Post subject: Re: Problem In Recent Public Pics And Most Viewed Pictures B
See if this will work for you.

OPEN album_mod/album_hierarchy_sql.php

FIND
Code: [Hide] [Select]
$template->assign_block_vars('recent_pics_block.recent_pics.recent_col', array(

IMMEDIATELY BELOW FIND
Code: [Hide] [Select]
'U_PIC' => ($album_config['fullpic_popup']) ? append_sid(album_append_uid("album_pic.$phpEx?pic_id=". $recentrow[$j]['pic_id'])) : append_sid(album_append_uid($album_show_pic_url. '?pic_id='. $recentrow[$j]['pic_id'])),


REPLACE WITH
Code: [Hide] [Select]
'U_PIC' => ($album_config['fullpic_popup']) ? append_sid(album_append_uid('album_pic.' .$phpEx. '?pic_id=' . $recentrow[$j]['pic_id'])) : append_sid(album_append_uid($album_show_pic_url. '?pic_id='. $recentrow[$j]['pic_id'])),




FIND
Code: [Hide] [Select]
$template->assign_block_vars('mostviewed_pics_block.mostviewed_pics.mostviewed_col', array(

IMMEDIATELY BELOW FIND
Code: [Hide] [Select]
'U_PIC' => ($album_config['fullpic_popup']) ? append_sid(album_append_uid('album_pic.' . '$phpEx?pic_id=' . $mostviewed[$j]['pic_id'])) : append_sid(album_append_uid($album_show_pic_url . '?pic_id=' . $mostviewed[$j]['pic_id'])),


REPLACE WITH
Code: [Hide] [Select]
'U_PIC' => ($album_config['fullpic_popup']) ? append_sid(album_append_uid('album_pic.' . $phpEx. '?pic_id=' . $mostviewed[$j]['pic_id'])) : append_sid(album_append_uid($album_show_pic_url . '?pic_id=' . $mostviewed[$j]['pic_id'])),


fracs [ Fri 19 Jan, 2007 20:36 ]
Post subject: Re: Problem In Recent Public Pics And Most Viewed Pictures B
Very thank's Artie


Artie [ Fri 19 Jan, 2007 20:42 ]
Post subject: Re: Problem In Recent Public Pics And Most Viewed Pictures B
You are so welcome


Mighty Gorgon [ Tue 23 Jan, 2007 02:10 ]
Post subject: Re: FIXED -Problem In Recent Public Pics And Most Viewed Pic
You're right... it was my fault... I'm sorry.

I should have fixed this and some other wrong edited links.

I'll have to update the version soon.




Powered by Icy Phoenix