Dev Updating stats in signture

Discussion in 'Hobbies' started by My Dime Is Up, Dec 6, 2016.

  1. My Dime Is Up

    My Dime Is Up Its my dime to code VIP

    Short but quick post. I made myself a self-updating signature image which updates my stats every 2 minutes. Basically just takes a photo of the stats page and crops and resizes it. The I used PHP to output the image. Take a look below at my signature and wait ~ 3 minutes (Round must end before stats update) and watch them update!

    Oh, and an ugly update log. Need to update soon (Even I like my private stuff looking nice)
    [​IMG]

    Edit: New Dashboard:
    [​IMG]
     
    Last edited: Dec 6, 2016
    • Like Like x 6
    • Creative Creative x 1
  2. Chai

    Chai returned; VIP

    I always wanted to have a dynamic signature that's shows my playtime and other meaningful information.

    One way you could do this is by scraping the data from !stats page and using the data to create the image with PHP.
    Therefore, minimizing bandwidth and there's no need to pay for a VPS when you could use a free webhost.
    Plus, you can even make your own design and show it off.

    This is pretty cool, good one!
     
    • Like Like x 2
    • Friendly Friendly x 1
  3. Togo ✿

    Togo ✿ Nobody Gets it VIP Silver

    I want a dynamic sig as well
     
  4. My Dime Is Up

    My Dime Is Up Its my dime to code VIP

    I already need a VPS for my portfolio anyway. But from what I am getting from you is that I retrieve the html code via SQL and print it out as JSON (Using Yahoo API) then create my own custom image instead of screenshotting the whole stats page?
     
    • Agree Agree x 1
  5. Chai

    Chai returned; VIP

    Or you could scrape the html through PHP.

    You get the idea.
     
    • Agree Agree x 1