FAP SUPPORT - FAP Personal Pic In Portal


Subject: FAP SUPPORT - FAP Personal Pic In Portal
Hi

I can switch in CMS only show pictures from public but its shows also from personal
user_2_album_block

Can anyone help me ???

Pepi

Subject: Re: FAP Personal Pic In Portal
I'm not that familar with Icy Phoenix, but I think this may help

OPEN blocks/blocks_imp_album.php

FIND
Code: [Download] [Hide] [Select]
'WHERE cat_id <> 0'


REPLACE WITH
Code: [Download] [Hide] [Select]
'WHERE cat_user_id = 0'

Profile PM  
Subject: Re: FAP Personal Pic In Portal
Hi Artie
and many thanks it works etsch

for normal phpbb EZ protal album block
OPEN when installed portal.php
FIND
Code: [Download] [Hide] [Select]
// Build Categories Index
$sql = "SELECT c.*
FROM ". ALBUM_CAT_TABLE ." AS c
LEFT JOIN ". ALBUM_TABLE ." AS p ON c.cat_id = p.pic_cat_id
WHERE cat_id <> 0
GROUP BY cat_id
ORDER BY cat_order ASC";
if ( !($result = $db->sql_query($sql)) )

IN LINE FIND
Code: [Download] [Hide] [Select]
WHERE cat_id <> 0

REPLACE WITH
Code: [Download] [Hide] [Select]
WHERE cat_user_id = 0


Pepi

Subject: Re: FAP Personal Pic In Portal
I should have already fixed it... but glad to see that there is another solution here! :wink:


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.1566s (PHP: 11% SQL: 89%)
SQL queries: 10 - Debug Off - GZIP Enabled