Hi
I have look recently for module which could really handle user pictures... I want to make some functions for community like user album, user picture instead of avatar everything in one good module like Pagesetter :D. First I start to think about Mediashare but I wasn't sure about it, then I have found on elfisk.dkhttp://www.sexyandfamous.com...
Ok so I make some changes:
First user able to have only one module with nested level 2 - called User main module
At the beginning of user edit view function, when function is called without aid I add check if user have already his own main album. If yes then pass it's aid to edit function, if not create album with his name as a title and then pass newaid to edit function.
I have add small function to handle check if user have album:
it's not perfect but it's working correctly.
Now main item in main user album is the main user picture :D and here I have problem. This function is called every time when user picture is needed so in comments last seen block members list forum...
I don't know how big load it will generate to the database...
Other thing is that I'm calling this function from templates and I'm using pnmodapifunc I think some kind of plug-in would be better way to use this than calling but I don't which way is faster...
Any ideas?