FAP CUSTOMIZATION - Personal Photo Gallerie In Viewprofile »  Show posts from    to     

Icy Phoenix


Archived phpBB Topics (Styles, Mods, Support) - FAP CUSTOMIZATION - Personal Photo Gallerie In Viewprofile



Sorren [ Mon 17 Sep, 2007 18:33 ]
Post subject: 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 ]
Post subject: 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 ]
Post subject: Re: Personal Photo Gallerie In Viewprofile
Yes i get one mistake, and i can't solve it. It was this:
Code: [Hide]
  1. Could not count pics 


and i searched this in my code and find this rows:
Code: [Hide]
  1. // ------------------------------------  
  2. // Count Pics  
  3. // ------------------------------------  
  4.  
  5. $sql = "SELECT COUNT(pic_id) AS count  
  6. FROM ". ALBUM_TABLE ."  
  7. WHERE pic_cat_id = ". PERSONAL_GALLERY ."  
  8. AND pic_user_id = $user_id";  
  9. if( !($result = $db->sql_query($sql)) )  
  10. {  
  11. message_die(GENERAL_ERROR, 'Could not count pics', '', __LINE__, __FILE__, $sql);  
  12. }  
  13.  
  14. $row = $db->sql_fetchrow($result);  
  15.  
  16. $total_pics = $row['count']; 


Sorren [ Sat 22 Sep, 2007 13:30 ]
Post subject: Re: Personal Photo Gallerie In Viewprofile
has nobody an idea, why the error appears?


Mighty Gorgon [ Sun 23 Sep, 2007 11:06 ]
Post subject: Re: Personal Photo Gallerie In Viewprofile
Sorren wrote: [View Post]
has nobody an idea, why the error appears?

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 ]
Post subject: 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 ]
Post subject: Re: Personal Photo Gallerie In Viewprofile
does nobody know what i want?




Powered by Icy Phoenix