https://www.icyphoenix.com/viewtopic.php?f=26&t=2815
-----------------------------------
Sorren
Mon 17 Sep, 2007 18:33

FAP CUSTOMIZATION - Personal Photo Gallerie In Viewprofile
-----------------------------------
hallo, i've find a to have the personal gallerie in the viewprofile mod on smartor's site, but it doesn't work. I think it is a problem wit the CH in the Album. Can someone help me to show me where i have to change the code?


-----------------------------------
KugeLSichA
Mon 17 Sep, 2007 23:48

Re: Personal Photo Gallerie In Viewprofile
-----------------------------------
Hi Sasha...

did you get any error after installing? If so which error do you get?

I´m too busy these days.. but if i found some time I can check it.


-----------------------------------
Sorren
Tue 18 Sep, 2007 14:33

Re: Personal Photo Gallerie In Viewprofile
-----------------------------------
Yes i get one mistake, and i can't solve it. It was this:
[code]Could not count pics[/code]

and i searched this in my code and find this rows:
[code]// ------------------------------------ 
// Count Pics 
// ------------------------------------ 

$sql = "SELECT COUNT(pic_id) AS count 
      FROM ". ALBUM_TABLE ." 
      WHERE pic_cat_id = ". PERSONAL_GALLERY ." 
         AND pic_user_id = $user_id"; 
if( !($result = $db->sql_query($sql)) ) 
{ 
   message_die(GENERAL_ERROR, 'Could not count pics', '', __LINE__, __FILE__, $sql); 
} 

$row = $db->sql_fetchrow($result); 

$total_pics = $row['count'];[/code]


-----------------------------------
Sorren
Sat 22 Sep, 2007 13:30

Re: Personal Photo Gallerie In Viewprofile
-----------------------------------
has nobody an idea, why the error appears?


-----------------------------------
Mighty Gorgon
Sun 23 Sep, 2007 11:06

Re: Personal Photo Gallerie In Viewprofile
-----------------------------------
[quote user="Sorren" post="19960"]has nobody an idea, why the error appears?[/quote]
That code is not for FAP.

FAP already has a picture block in profile.

Are you using FAP?


-----------------------------------
Sorren
Sun 23 Sep, 2007 12:32

Re: Personal Photo Gallerie In Viewprofile
-----------------------------------
I know, that this code isn't for the FAP. I use the FAP and i want to ask, that someone can help me to modify the code. I've install the picture block, but i want the personal gallery on my viewprofile.


-----------------------------------
Sorren
Thu 27 Sep, 2007 16:55

Re: Personal Photo Gallerie In Viewprofile
-----------------------------------
does nobody know what i want?


