00:00
00:00
Newgrounds Background Image Theme

qamar123 just joined the crew!

We need you on the team, too.

Support Newgrounds and get tons of perks for just $2.99!

Create a Free Account and then..

Become a Supporter!

username -> id/avatar

1,058 Views | 9 Replies
New Topic Respond to this Topic

username -> id/avatar 2008-01-22 14:53:22


hello,

is there a way (probably a php file) to get the user's id by just knowing his name?
I mean: I have the name of somebody: "TomFulp" and I want his id (or whatever you would call this, to finally get the path of his avatar:
"http://uicon.ngfiles.com/0/1.gif"

is that possible?

thanks

Response to username -> id/avatar 2008-01-22 15:00:04


Why do you need it if you already have their username?

Response to username -> id/avatar 2008-01-22 15:05:56


At 1/22/08 02:53 PM, milchreis wrote: hello,

is there a way (probably a php file) to get the user's id by just knowing his name?
I mean: I have the name of somebody: "TomFulp" and I want his id (or whatever you would call this, to finally get the path of his avatar:
"http://uicon.ngfiles.com/0/1.gif"

is that possible?

thanks

If you want to view someone's profile but you only know their name just add them on your contacts list.

Response to username -> id/avatar 2008-01-22 15:08:54


At 1/22/08 03:05 PM, Tommy wrote: If you want to view someone's profile but you only know their name just add them on your contacts list.

Then why not just put this in the address bar?

http://www. [username goes here] .newgrounds.com

Then just right-click their image and select "View Image"?

Response to username -> id/avatar 2008-01-22 15:46:23


At 1/22/08 03:05 PM, Tommy wrote:
At 1/22/08 02:53 PM, milchreis wrote: hello,

is there a way (probably a php file) to get the user's id by just knowing his name?
I mean: I have the name of somebody: "TomFulp" and I want his id (or whatever you would call this, to finally get the path of his avatar:
"http://uicon.ngfiles.com/0/1.gif"

is that possible?

thanks
If you want to view someone's profile but you only know their name just add them on your contacts list.

uuhmm, as2 can't add anybody to any contact list ;D
I should have mentioned this: I want to use this in a script.
I think there is a script that I just send the name as a variable and it gives something back...at least I hope that, maybe any of the official coders could answer this?

Response to username -> id/avatar 2008-01-22 16:05:10


At 1/22/08 03:22 PM, doberman7 wrote:
At 1/22/08 03:08 PM, bicostp wrote: Then why not just put this in the address bar?

http://www. [username goes here] .newgrounds.com
You dont use the world wide web (www) part in it.

Actually, "www. [username] . newgrounds.com" redirects you to [username] .newgrounds.com.


Surf Nazis must die! || Wi/Ht? #38

Response to username -> id/avatar 2008-01-23 01:15:48


At 1/22/08 04:35 PM, citricsquid wrote:
Understand?

yes, but that' not a good solution I think, workarounds never are...

thanks guys anyway.

Response to username -> id/avatar 2008-01-26 22:31:30


At 1/22/08 04:35 PM, citricsquid wrote: You could right a script which opens "http://<username>.newgrounds.com" then finds their userpage header, so it looks for "http://uimg.ngfiles.com/banners/###/###
#####/gif" then use some sort of function to take the last few numbers, so the numbers before .gif as that is the users number.

So my number is
http://uimg.ngfiles.com/banners/1257/125 7732.gif
1257732

Understand?

Here's a question for you guys, since I didn't even know the old user ID#s were present in the form of the banner icon name...

can you take a user id# and backtrack to a username? Everything in this topic has been about the other direction (knowing a username, getting to a user ID#), but for someone like me, who has a list of 100s of user id#s, and the names I've got on my list might be old names that were changed before the username lockdown... well, you can understand why I'd want to use the user ID#s to get to the usernames.

And as I found out a few weeks ago, trying to use those old user ID# profile links just takes you to your own profile/account page or whatever. Which BLOWS HARD.


gfox // wi/ht?#9 // defunct PentaList (final update: 3/15/2008) // Cyberdevil's HexaList!

a long, long time ago: 60000 b/p (#2) // 36000 blams (#3) // 24000 saves (#1)

BBS Signature

Response to username -> id/avatar 2008-01-26 22:43:13


At 1/26/08 10:31 PM, gfoxcook wrote: can you take a user id# and backtrack to a username?

That's actually quite possible using the old review page links.

http://www.newgrounds.com/portal/readrev iew.php3?user_id=XXXXX

Replace "XXXXX" with whatever id you want, and you'll go right to the review section of that user's userpage (it works whether they have reviews or not). If it redirects to the front page instead, it means the account doesn't exist.

And as I found out a few weeks ago, trying to use those old user ID# profile links just takes you to your own profile/account page or whatever. Which BLOWS HARD.

Yeah, that's odd. I figure if they fixed the review links the profile links wouldn't be any more difficult.


BBS Signature

Response to username -> id/avatar 2008-01-26 23:36:47


At 1/26/08 10:43 PM, absent wrote:
At 1/26/08 10:31 PM, gfoxcook wrote: can you take a user id# and backtrack to a username?
That's actually quite possible using the old review page links.

http://www.newgrounds.com/portal/readrev iew.php3?user_id=XXXXX

Replace "XXXXX" with whatever id you want, and you'll go right to the review section of that user's userpage (it works whether they have reviews or not). If it redirects to the front page instead, it means the account doesn't exist.

Thanks, man. It's good to know that workaround still works. I need to at least use that link with all the profiles on my spreadsheet just to verify names before I hit 10k posts so I'm READY for the final pentalist update, at least.

Thanks for the super-link-filled response to my "WHO IZ TEH JAMROCK?" question in that other thread, too. I'll check 'em out later and ejudicate my mind a bit later tonight, if I feel so inclined.

Oh, but speaking of user ID#, I meant to mention that I noticed the fannet list still shows the user id#s of the people on it... but that's no way to find people for the pentalist. I can't just go combing trhough 50 users at a time by who has the most popular fannet sites... that won't correspond to who has 2 of 5 stats over 10k.... sadly. #;-}>

And as I found out a few weeks ago, trying to use those old user ID# profile links just takes you to your own profile/account page or whatever. Which BLOWS HARD.
Yeah, that's odd. I figure if they fixed the review links the profile links wouldn't be any more difficult.

I think I read a post by liljim or another admin where they just basically made it sound like username = all we need now, so screw user id#. And that makes me sad, because I love user id#s. I think BOTH should re-direct to the same profiles, but oh well.

I'll just do a mass find/replace on a text file filled with all the old user id#-filled profile URLs of the people on my pentalist where I replace everything up to the id# with the review link you pasted up there... and then use that new list of URLs to find out the usernames. Should work lickity-split fast, relatively speaking. Just wish I didn't have like 400 people to do it with. Grumble grumble. #;-}>


gfox // wi/ht?#9 // defunct PentaList (final update: 3/15/2008) // Cyberdevil's HexaList!

a long, long time ago: 60000 b/p (#2) // 36000 blams (#3) // 24000 saves (#1)

BBS Signature