Current time: 08-01-2014, 09:50 AM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 2 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Identicon Avatars
12-18-2011, 07:40 AM (This post was last modified: 12-18-2011 07:49 AM by Maj.)
Post: #20
RE: Identicon Avatars
I made my avatars based on user's ID. It solves 2 problems:

1. Now each registered user have it's own unique avatar.
2. No more security risk of exposing user IP addresses.

To do it, open identicon_avatar.php, find:

if($post['uid']) {$ip = $post['regip'];} else {$ip = $post['ipaddress'];}

and change it to:

if($post['uid']) {$ip = $post['uid'];} else {$ip = $post['ipaddress'];}

Gvinevra.ru
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Identicon Avatars - Paul H. - 12-13-2011, 08:01 PM
RE: Identicon Avatars - Tom K. - 12-13-2011, 08:26 PM
RE: Identicon Avatars - Paul H. - 12-13-2011, 08:28 PM
RE: Identicon Avatars - Maj - 12-13-2011, 08:32 PM
RE: Identicon Avatars - Paul H. - 12-13-2011, 08:49 PM
RE: Identicon Avatars - Maj - 12-13-2011, 08:55 PM
RE: Identicon Avatars - Tom K. - 12-13-2011, 08:58 PM
RE: Identicon Avatars - Paul H. - 12-13-2011, 09:01 PM
RE: Identicon Avatars - Maj - 12-13-2011, 09:12 PM
RE: Identicon Avatars - Paul H. - 12-13-2011, 09:28 PM
RE: Identicon Avatars - Euan T - 12-13-2011, 09:42 PM
RE: Identicon Avatars - Maj - 12-14-2011, 06:46 AM
RE: Identicon Avatars - crazy4cs - 12-14-2011, 06:57 AM
RE: Identicon Avatars - Maj - 12-14-2011, 07:12 AM
RE: Identicon Avatars - Paul H. - 12-14-2011, 05:04 PM
RE: Identicon Avatars - Paul H. - 12-14-2011, 08:31 PM
RE: Identicon Avatars - Maj - 12-15-2011, 08:19 AM
RE: Identicon Avatars - Paul H. - 12-15-2011, 03:55 PM
RE: Identicon Avatars - Maj - 12-15-2011, 05:01 PM
RE: Identicon Avatars - Maj - 12-18-2011 07:40 AM
RE: Identicon Avatars - Paul H. - 12-18-2011, 04:30 PM
RE: Identicon Avatars - Maj - 12-18-2011, 06:34 PM
RE: Identicon Avatars - Paul H. - 12-18-2011, 07:11 PM
RE: Identicon Avatars - Maj - 12-19-2011, 12:45 PM
RE: Identicon Avatars - Paul H. - 12-20-2011, 11:25 PM
RE: Identicon Avatars - Maj - 02-09-2012, 09:11 AM
RE: Identicon Avatars - Maj - 03-08-2012, 01:20 AM
RE: Identicon Avatars - Paul H. - 03-08-2012, 01:36 AM
RE: Identicon Avatars - Maj - 05-30-2012, 10:21 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | MyBB | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication