Bottom
PLease help in users DIR have 10000 avatars
  • Posted: 08.04.2006, 20:58
    Invité
    rank:
    1
    registered:
     December 2003
    Status:
    offline
    last visit:
    06.03.05
    Posts:
    0


    PLease help! I have images/avatar/users DIR - above 10000 avatars

    index.php?module=pnavatar shows error time error

    Whats happen.

    Please help !!!

  • Posted: 08.04.2006, 22:06
       
    vedrine
    rank:
    Site Admin Site Admin
    registered:
     December 2003
    Status:
    offline
    last visit:
    09.10.08
    Posts:
    266
    Could you try:
    index.php?module=pnavatar&mode=1
    To see if it help.
    If it don't work, I think I will need to modify the module because I never conceived it to manage such a big amount of avatars.
    Maybe we can introduce avatar categories and use subdirectories ?
    How was it working before you install pnavatar ? How your users can choose an avatar from a menu with 10000 lines ?
  • Posted: 08.04.2006, 22:25
       
    vedrine
    rank:
    Site Admin Site Admin
    registered:
     December 2003
    Status:
    offline
    last visit:
    09.10.08
    Posts:
    266
    I looked at the code and I think I can introduce some caching that will greatly improve performance in the case of numerous avatars.
    The problem was that the getall function needed 2 database queries for each avatar wich was very bad !!
    Send me a private message on this website with your mail and I will send you a modified pnuserapi.php file to test.
Quick reply
 
  • Options
Code:
Font color:  
Font size: