FAP SUPPORT - FAP Personal Pic In Portal »  Show posts from    to     

Icy Phoenix


Archived phpBB Topics (Styles, Mods, Support) - FAP SUPPORT - FAP Personal Pic In Portal



pepi [ Fri 23 Mar, 2007 11:44 ]
Post 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


Artie [ Fri 23 Mar, 2007 17:50 ]
Post 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: [Hide] [Select]
'WHERE cat_id <> 0'


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


pepi [ Sat 24 Mar, 2007 00:06 ]
Post 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: [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: [Hide] [Select]
WHERE cat_id <> 0

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


Pepi


Mighty Gorgon [ Tue 27 Mar, 2007 01:17 ]
Post subject: Re: FAP Personal Pic In Portal
I should have already fixed it... but glad to see that there is another solution here!




Powered by Icy Phoenix