|Help needed - BML developer
||[Oct. 7th, 2002|02:13 pm]
We have a specific request, in reference to the new user interface for Livejournal. Someone with their own goathack is preferable, but I have one as well. We need some work done to get the 4 random user pics working. They will not be completely random so we need somewhere to store the images and linkage.|
Read this thread for what Mart suggested we do - "I'd say go for creating a table for now as I described before. The idea may well be refined later, but that'll work well enough for now and it'll be pretty easy to change it later if need be... The shorter the code in generic.look the better. I realize that the front-page userpics are in index.bml rather than global.look, but the same principle applies there. Pass scalar references rather than returning values in all non-trivial cases to minimize string copying. Incidentally, you can use use vars to make variables persist between code blocks without putting them in an explicit package if desired."
I can provide more info for those who are interested.