Want to see avatars on the SDMB? Here's a script.

Can you see mine?

I can’t -even after editing the post.

I can see yours. Never heard of lupus porn before.

Regarding all this, there was a bug in the script that was causing it to grab your old profile pic even though one is not visible on your profile. I fixed that. It’s probably a bug in vbulletin that it even allows people to get that old pic, but I guess it’s pretty obscure.

Since I run the avatar-looker-upper, I’m the one to complain to if it’s not displaying the right picture, not Crazyhorse. Feel free to post here if you see oddities, or PM me. And if your avatar mysteriously turns into something completely unexpected … uh, it was gnomes. But feel free to PM me to say “ha ha very funny now put it back, jerk.”

BTW, it seems that you can convert an imgur page url into the corresponding image url just by appending “.jpg” to it, so I made the script do that automatically if you post an imgur url without an extension (which is why Stickler’s avatar is working now).

Ah, I was wondering. I noticed the same thing and then between the time I posted that and viewed the thread again his avatar had already appeared without any changes. That CGI is a firecracker. I hope we aren’t taxing the server with too many requests as the script gets more use. It is taking one for the team and allowing SDMB users to have avatars without the SDMB servers themselves having to take the brunt of the traffic and bandwidth use.

Not at all. It’s no longer actually a CGI, since that’s actually a bit more resource intensive than a dedicated app. It’s barely a blip in the server load. And bandwidth is minuscule as well, since its only job is to sit there and return redirection urls. The images themselves get loaded from photobucket or wherever people want to host them.

I found the comments explaining how to edit the code, but what app do I use to do the edits? I tried to open the script by double-clicking on it but got “error - document is undefined”. I can drag it into notepad and made the edits, but then how to save it so that it’s still a .js file?

Where was the info to assign someone an avatar? Right now I’m too lazy to look for it. :wink:

That was wicked easy. Thanks for setting it up and explaining it!

Actually I found the instructions embedded along with the script itself. When I drag the script into notepad, the instructions are there. Here’s the relevant bit:


// CUSTOM-ASSIGNED AVATARS
// Optionally add SDMB usernames and URLs in the list below to assign custom avatars to any posters.
// This can be used to block a given avatar by overriding their avatar choice, or to assign
// avatars to individual posters for any reason.

// Use the format <'username' : 'URL'> as shown in the examples below to add to the list.

var CustomAvatars = 	{

				'SDMB Username' : 'http://link.to.image/image.jpg',

				'SdMb username 2' : 'http://another.image.link/image2.gif',
				
				'sdmb username 3' : 'http://another.link/image3.png' //<-- no comma after the final entry

				};

I remember you use chrome so to find the copy of the avatar script that it is currently using follow the path in this post earlier in this thread.

Once you find it, open it in a text editor and just add any name and URL combo you want to the list, and save it. As Patty said once you get it open, it has instructions inside but here is the short version:

Instead of the example:

‘SDMB Username’ : ‘www. URL.com - MediaOptions

you would add

‘Fear Itself’ : ‘URL.com - MediaOptions image you want’

Make sure the username and the URL are each enclosed in their own set of single quotes, and have a colon between them.

I’m not finding a folder called documents and settings – and it’s not letting me in to edit the script. :frowning:
Which version of windows is that? I’m using Vista.

That was probably for XP, this site shows the Chrome userscript location for all supported OS’s: User Data Directory

In vista it would be:

C:\Users&lt;username>\AppData\Local\Google\Chrome\User Data\Default

I found out how. Just drag the script into notepad, make the edit and hit save (not “save as”).

Thanks!

As long as I’m here… I am seeing the frog in the ice cube with the “domain unregistered…” notice under it as an avatar for several people. Crazyhorse, cmyk and SisterVigilante are three examples.

I assume they’re not putting this link there on purpose… what’s up?

Really?

I’m using imageshack. Anyone else seeing the frog, and not my gorgeous 8-bit face?

I see the face.

The only frog I see is Goatse Kermit. All avatars are displaying fine for me.

I don’t see the frog for anyone including myself, but from what I can find after a quick search it looks like imageshack does this as some kind of advertising scheme. If so, I will be getting a different image host very quickly.