Gaigemasta wrote:Ryoko wrote:Its 2 days old.
And partly unfinished in regards to admin, styling etc.
But its a pretty hardcore script I might say.
did you make the whole php code? or copypasta?
From scratch, minus the basic forum frame.
As complex as the code gets, the logic driving is quite simple.
Get users who qualify
Parse the year, months of those users
If have an avatar, bring it in using the GD functions
Make some X, Y calculations and resize it with GD functs, then
Add it to the current image strip
Add the user name and info to the text strings
New month? New year? Exceeded the strip? Save it, write the HTML and begin a new strip.
The rest, formatting , CSS and error handling.
Usually when creating something new, I jot down the logic on a notepad, and start breaking it into segments, functions and then finally real code. Followed by debugging, details and formatting. It took a couple evenings, I pulled a 4am-er the first night - the old "just one more thing" syndrome

























