So you want a Userbar.... Again?

Discussion in 'General Chat' started by George, Sep 20, 2008.

  1. George

    George Active Member

    Joined:
    Oct 6, 2008
    Messages:
    1,355
    Likes Received:
    0
    I PRESENT TO YOU!

    THE FASTASTIC!

    AWSOME BRAIN POWER OF cpf!!!

    IN ASSOCIATION WITH [BB]Statistics, George Miller's Userbars AND cpfx.ca!!!!

    THE DYNAMIC USERBAR!!!

    Available for all at http://userbars.george-miller.com

    THANK GAWD
     
  2. limilim

    limilim Active Member

    Joined:
    Jun 22, 2008
    Messages:
    1,372
    Likes Received:
    0
    lol you spelled lambda wrong. But whatever we are getting new ranks : D : D : D :
     
  3. Robosmores

    Robosmores New Member

    Joined:
    Aug 5, 2008
    Messages:
    615
    Likes Received:
    0
    I challenged you! Check your requests!
     
  4. Robosmores

    Robosmores New Member

    Joined:
    Aug 5, 2008
    Messages:
    615
    Likes Received:
    0
    Heh, apparently I'm not using the right password for your site? I saw the userbar though, I didn't see any smores in there =P
     
  5. George

    George Active Member

    Joined:
    Oct 6, 2008
    Messages:
    1,355
    Likes Received:
    0
    Ermmm, I can reset your password if you want.
     
  6. Robosmores

    Robosmores New Member

    Joined:
    Aug 5, 2008
    Messages:
    615
    Likes Received:
    0
    If you would, I'll pm you.
     
  7. George

    George Active Member

    Joined:
    Oct 6, 2008
    Messages:
    1,355
    Likes Received:
    0
    There has been about 6 different people asking me to reset their passwords lol...

    Forgetful people...

    Anyway, I made a script, now you can click "login", and there is a link to reset your password.

    Type in your email address and poof!
    Password is reset to a randomly generated 6 digit combination (Different every time).

    Then you can change your password once you log back in.
     
  8. Whitefang

    Whitefang ( ͡° ͜ʖ ͡°)

    Joined:
    Jul 12, 2008
    Messages:
    4,009
    Likes Received:
    43
    rand(000000,999999)
     
  9. Spike111339

    Spike111339 Late '07 Vet

    Joined:
    Feb 23, 2008
    Messages:
    280
    Likes Received:
    0
    I <3 ur site :D
     
  10. George

    George Active Member

    Joined:
    Oct 6, 2008
    Messages:
    1,355
    Likes Received:
    0
    Not exactly, But close enough:

    I md5 and Random Int
    Then change the string size to 6.
     
  11. Whitefang

    Whitefang ( ͡° ͜ʖ ͡°)

    Joined:
    Jul 12, 2008
    Messages:
    4,009
    Likes Received:
    43
    $stringtoMD5 = rand(000000,999999);
    $MD5edstring = md5($stringtoMD5);
    mysql_query('UPDATE `lolzers` SET `password`='MD5edstring' WHERE *Whatever in here, dunno how you coded it.*');
     
  12. George

    George Active Member

    Joined:
    Oct 6, 2008
    Messages:
    1,355
    Likes Received:
    0
    $code = md5(uniqid(rand(), true));
    $new = substr($code, 0 , 6);
    $new = md5($new);
    mysql_query("UPDATE users SET password='$new' WHERE email='$email'") or die(mysql_error());
     
  13. George

    George Active Member

    Joined:
    Oct 6, 2008
    Messages:
    1,355
    Likes Received:
    0
    Anyway, I have Spike working on making more Premade Userbars.

    So there will be more I hope!
     
  14. Whitefang

    Whitefang ( ͡° ͜ʖ ͡°)

    Joined:
    Jul 12, 2008
    Messages:
    4,009
    Likes Received:
    43
    Critical errors :p

    mysql_query("UPDATE `users` SET `password`='$new' WHERE `email`='$email'") or die(mysql_error());
     
  15. George

    George Active Member

    Joined:
    Oct 6, 2008
    Messages:
    1,355
    Likes Received:
    0
    Works Fine

    the ` are not needed.
     
  16. limilim

    limilim Active Member

    Joined:
    Jun 22, 2008
    Messages:
    1,372
    Likes Received:
    0
    Still waiting for my animated userbar :p
     
  17. George

    George Active Member

    Joined:
    Oct 6, 2008
    Messages:
    1,355
    Likes Received:
    0
    Advantage Handles those.
     
  18. Whitefang

    Whitefang ( ͡° ͜ʖ ͡°)

    Joined:
    Jul 12, 2008
    Messages:
    4,009
    Likes Received:
    43
  19. limilim

    limilim Active Member

    Joined:
    Jun 22, 2008
    Messages:
    1,372
    Likes Received:
    0
    I know
     
  20. George

    George Active Member

    Joined:
    Oct 6, 2008
    Messages:
    1,355
    Likes Received:
    0
    Yep, expect a while.