FIXED FAP SUPPORT - Problem In Recent Public Pics And Most Viewed Pictures Block


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: [Download] [Hide]
  1. album_pic.$phpEx?pic_id=5 


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

Bye.

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: [Download] [Hide] [Select]
$template->assign_block_vars('recent_pics_block.recent_pics.recent_col', array(

IMMEDIATELY BELOW FIND
Code: [Download] [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: [Download] [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: [Download] [Hide] [Select]
$template->assign_block_vars('mostviewed_pics_block.mostviewed_pics.mostviewed_col', array(

IMMEDIATELY BELOW FIND
Code: [Download] [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: [Download] [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'])),

Profile PM  
Subject: Re: Problem In Recent Public Pics And Most Viewed Pictures B
Very thank's Artie 8)

Subject: Re: Problem In Recent Public Pics And Most Viewed Pictures B
You are so welcome :mryellow:

Profile PM  
Subject: Re: FIXED -Problem In Recent Public Pics And Most Viewed Pic
You're right... it was my fault... I'm sorry. :sad:

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

I'll have to update the version soon. :roll:


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.1373s (PHP: 17% SQL: 83%)
SQL queries: 10 - Debug Off - GZIP Enabled