# No Avatars Here? Why?

**URL:** <https://boards.straightdope.com/t/no-avatars-here-why/625626>\
**Category:** About This Message Board\
**Created:** [June 19, 2012, 9:55am UTC](https://boards.straightdope.com/t/no-avatars-here-why/625626 "2012-06-19T09:55:01Z")\
**Posts on this page:** 20\
**Page:** 27

<div class="post-metadata">

**Author:** ![Crazyhorse](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/crazyhorse/32/31_2.png) [@Crazyhorse](https://boards.straightdope.com/u/Crazyhorse)\
**Post date:** [June 29, 2012, 7:13am UTC](https://boards.straightdope.com/t/no-avatars-here-why/625626/521 "2012-06-29T07:13:58Z")

</div>

> [@jackdavinci](#):
>
> All kidding aside, I encounter this sort of thing not only in java based websites but also in apps and facebook related logins. It’s often not obvious why a script or app needs certain specific permissions. I wonder how this can be mitigated.

With user script installation it’s good to have a notice that you’re installing something that changes the behavior of the browser. Otherwise without any message, and one-click installation possible a malicious script could be installed without permission by just clicking any link on the web. They need to at least ask ‘Are you sure you want to install a user script?’, and at that point they might as well mention there are possible security considerations if you have a malicious script. But without a human reading it and determining what it does there isn’t any way they can say that it is or isn’t malicious but just to be aware that it could be.

Unlike facebook apps and whatnot, scripts are wide open and able to be read by everyone. The SDMB Avatar script is simple and even non-programmers can pretty much understand what it does by just reading it. Anyone with even a modicum of scripting knowledge can quickly determine it is safe. So a malicious user script is possible but it won’t make it very far due to that transparency in the code. What goes on behind the scenes at Facebook is another question.

---

<div class="post-metadata">

**Author:** ![elmwood](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/elmwood/32/3060_2.png) [@elmwood](https://boards.straightdope.com/u/elmwood)\
**Post date:** [June 29, 2012, 11:35am UTC](https://boards.straightdope.com/t/no-avatars-here-why/625626/522 "2012-06-29T11:35:11Z")

</div>

Imgur ([http://www.imgur.com](http://www.imgur.com)) is a fairly reliable image upload/remote hosting service that doesn’t require an account. It’s the go-to image host for Reddit users.

EDIT: I found one bug with the script. Links to images on other vBulletin-based message boards will display as images.

---

<div class="post-metadata">

**Author:** ![Drunky\_Smurf](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/drunky_smurf/32/449_2.png) [@Drunky\_Smurf](https://boards.straightdope.com/u/Drunky_Smurf)\
**Post date:** [June 29, 2012, 3:51pm UTC](https://boards.straightdope.com/t/no-avatars-here-why/625626/523 "2012-06-29T15:51:27Z")

</div>

> [@Crazyhorse](#):
>
> Damn you found us out. 🙂

I wasn’t really worried about it since it was made by SDMBers and I did read the script just becasue I wanted to see if I remembered any info from high school when we made scripts for our calculaters back in '95. A couple things looked familiar.

---

<div class="post-metadata">

**Author:** ![Crazyhorse](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/crazyhorse/32/31_2.png) [@Crazyhorse](https://boards.straightdope.com/u/Crazyhorse)\
**Post date:** [June 29, 2012, 6:40pm UTC](https://boards.straightdope.com/t/no-avatars-here-why/625626/524 "2012-06-29T18:40:08Z")

</div>

> [@elmwood](#):
>
> EDIT: I found one bug with the script. Links to images on other vBulletin-based message boards will display as images.

Do you mean “will display as images [other than those that were linked to]”?

Normally you’d want images to display as images, but I’m guessing you mean they return some “remote image linking not allowed” image, which is understandable. Other than sites specifically intended for linking to images most others don’t appreciate it. It uses their bandwidth without increasing direct visitors to their sites.

---

<div class="post-metadata">

**Author:** ![Measure\_for\_Measure](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/measure_for_measure/32/557_2.png) [@Measure\_for\_Measure](https://boards.straightdope.com/u/Measure_for_Measure)\
**Post date:** [June 29, 2012, 7:52pm UTC](https://boards.straightdope.com/t/no-avatars-here-why/625626/525 "2012-06-29T19:52:54Z")

</div>

> [@Crazyhorse](#):
>
> It is an attention grabbing alert box, and it has a good reason to exist but this script is open-source, human-readable, and isn’t up to any shenanigans. …
> 
> (and even if you were it would be impossible to steal it with this particular script and any attempt to do so would be visible to all in the source code).

I noticed my installation was set to automatic update. That could represent an intriguing point of attack for crims from foreign lands and bridge dwellers at home with a habit of breaking into less than airtight servers. Of course they would presumably be attracted to distributed code with a larger set of users.

---

<div class="post-metadata">

**Author:** ![Crazyhorse](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/crazyhorse/32/31_2.png) [@Crazyhorse](https://boards.straightdope.com/u/Crazyhorse)\
**Post date:** [June 29, 2012, 8:42pm UTC](https://boards.straightdope.com/t/no-avatars-here-why/625626/526 "2012-06-29T20:42:40Z")

</div>

> [@Measure\_for\_Measure](#):
>
> I noticed my installation was set to automatic update.

I don’t know what you mean exactly. It may be that your browser was offering you an automatic update. From what I’ve seen so far when installing SDMB Avatars in Chrome you get a message that you are installing a user script and in FF you get a message that you are installing a user script. [Userscripts.org](http://Userscripts.org) does have a means of offering [automatic updates](http://userscripts.org/scripts/show/2296) of user scripts but the SDMB script doesn’t make use of it.

> [@](#):
>
> That could represent an intriguing point of attack for crims from foreign lands and bridge dwellers at home with a habit of breaking into less than airtight servers. Of course they would presumably be attracted to distributed code with a larger set of users.

Depending on what you mean, well I don’t know what you mean so I can’t really address this concern. Individual users going to a link specifically to get a user script probably won’t worry too much about the security alert but I don’t see how it presents an opportunity for ‘attack’ beyond any that exists in the nature of using computers and the internet in general.

---

<div class="post-metadata">

**Author:** ![Measure\_for\_Measure](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/measure_for_measure/32/557_2.png) [@Measure\_for\_Measure](https://boards.straightdope.com/u/Measure_for_Measure)\
**Post date:** [June 29, 2012, 10:21pm UTC](https://boards.straightdope.com/t/no-avatars-here-why/625626/527 "2012-06-29T22:21:38Z")

</div>

> [@Crazyhorse](#):
>
> [Userscripts.org](http://Userscripts.org) does have a means of offering [automatic updates](http://userscripts.org/scripts/show/2296) of user scripts but the SDMB script doesn’t make use of it.

Ok. I don’t know whether that setting could be changed or not.

By default Greasemonkey enables automatic checking for updates of scripts and automatic installation of the same. Here are some screen grabs:  
[http://wm40.inbox.com/thumbs/5b\_130b63\_9ea3ca81\_oP.png.thumb](http://wm40.inbox.com/thumbs/5b_130b63_9ea3ca81_oP.png.thumb)  
Those options can be unchecked. I see that there’s a box that says “Require secure updates”.

Frankly, I’m unfamiliar with all of this.

---

<div class="post-metadata">

**Author:** ![Crazyhorse](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/crazyhorse/32/31_2.png) [@Crazyhorse](https://boards.straightdope.com/u/Crazyhorse)\
**Post date:** [June 29, 2012, 11:19pm UTC](https://boards.straightdope.com/t/no-avatars-here-why/625626/528 "2012-06-29T23:19:32Z")

</div>

> [@Measure\_for\_Measure](#):
>
> Ok. I don’t know whether that setting could be changed or not.
> 
> By default Greasemonkey enables automatic checking for updates of scripts and automatic installation of the same. Here are some screen grabs:  
> [http://wm40.inbox.com/thumbs/5b\_130b63\_9ea3ca81\_oP.png.thumb](http://wm40.inbox.com/thumbs/5b_130b63_9ea3ca81_oP.png.thumb)  
> Those options can be unchecked. I see that there’s a box that says “Require secure updates”.
> 
> Frankly, I’m unfamiliar with all of this.

Ah, I thought you were describing an alert message you received while installing the SDMB script. That is a setting within Greasemonkey itself. Even though GM has a feature to make it easy to do, the script itself still needs to be written with auto-updating in mind, at least as far as I can tell from this [blog post](http://www.greasespot.net/2012/02/automatic-script-updates-come-to.html)about the feature.

---

<div class="post-metadata">

**Author:** ![Sister\_Vigilante](https://avatars.discourse-cdn.com/v4/letter/s/9de0a6/32.png) [@Sister\_Vigilante](https://boards.straightdope.com/u/Sister_Vigilante)\
**Post date:** [June 29, 2012, 11:33pm UTC](https://boards.straightdope.com/t/no-avatars-here-why/625626/529 "2012-06-29T23:33:35Z")

</div>

This is looking great for me at home. Can’t do it at work but that’s okay. Welcome to the 21st century, SDMB (even if done by haxxing and not adminning). 🙂

---

<div class="post-metadata">

**Author:** ![Crazyhorse](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/crazyhorse/32/31_2.png) [@Crazyhorse](https://boards.straightdope.com/u/Crazyhorse)\
**Post date:** [June 30, 2012, 9:18pm UTC](https://boards.straightdope.com/t/no-avatars-here-why/625626/530 "2012-06-30T21:18:43Z")

</div>

An updated version of the SDMB Avatar script is [available here](http://userscripts.org/scripts/show/136815).

This release includes 2 new optional features:

1. Ability to specify a default avatar to display for all posters that don’t have an avatar specified.

2. Ability to set an avatar to display for any poster who has been banned.

Thanks to \*\*cmyk \*\*for the feature requests, and \*\*ntucker \*\*for doing most of the work. They are both good ideas (personally I prefer not to have a default avatar for all users without avatars, but I did set up a ‘banned’ avatar for banned posters.)  
[This screenshot](http://img29.imageshack.us/img29/5202/sdmbavatars.jpg) demonstrates the new features in use. It shows, in order of appearance, a poster with no avatar specified displaying a ‘default’ avatar, a poster who has added the ‘SDMB Avatar’ line to their profile, a banned poster, and a poster with a built-in profile avatar.

Additionally the comments have been cleaned up and instructions have been added for using these new features. There is no need to get the updated version unless you want to make use of these new features.

---

<div class="post-metadata">

**Author:** ![elmwood](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/elmwood/32/3060_2.png) [@elmwood](https://boards.straightdope.com/u/elmwood)\
**Post date:** [July 1, 2012, 6:33pm UTC](https://boards.straightdope.com/t/no-avatars-here-why/625626/531 "2012-07-01T18:33:04Z")

</div>

> [@Crazyhorse](#):
>
> Do you mean “will display as images [other than those that were linked to]”?

I mean links to images using the URL tag on _other_ message boards; e.g. not the SDMB. Images linked with [noparse](image URL)[/noparse] will display as images, not remain as links to those images.

The script should not have any affect on sites other than the SDMB, but it does. This can be a problem because most sites have a _one-click_ NSFW policy, rather than the _two-click_ rule of the SDMB.

---

<div class="post-metadata">

**Author:** ![elmwood](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/elmwood/32/3060_2.png) [@elmwood](https://boards.straightdope.com/u/elmwood)\
**Post date:** [July 1, 2012, 6:38pm UTC](https://boards.straightdope.com/t/no-avatars-here-why/625626/532 "2012-07-01T18:38:52Z")

</div>

EDIT: It’s the SDMB inline image script that has the problem.

---

<div class="post-metadata">

**Author:** ![Yookeroo](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/yookeroo/32/323_2.png) [@Yookeroo](https://boards.straightdope.com/u/Yookeroo)\
**Post date:** [July 2, 2012, 11:16pm UTC](https://boards.straightdope.com/t/no-avatars-here-why/625626/533 "2012-07-02T23:16:31Z")

</div>

This script has stopped working. The page endlessly loads and no avatars. I’m in Firefox on a Mac.

---

<div class="post-metadata">

**Author:** ![Tangent](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/tangent/32/3098_2.png) [@Tangent](https://boards.straightdope.com/u/Tangent)\
**Post date:** [July 2, 2012, 11:35pm UTC](https://boards.straightdope.com/t/no-avatars-here-why/625626/534 "2012-07-02T23:35:13Z")

</div>

Still working for me in both Chrome and Firefox on PC.

---

<div class="post-metadata">

**Author:** ![Crazyhorse](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/crazyhorse/32/31_2.png) [@Crazyhorse](https://boards.straightdope.com/u/Crazyhorse)\
**Post date:** [July 3, 2012, 12:53am UTC](https://boards.straightdope.com/t/no-avatars-here-why/625626/535 "2012-07-03T00:53:49Z")

</div>

They are working fine for me too. Occasionally the CGI stops responding for short times but it’s usually back within minutes. During those times avatars linked from user’s profiles don’t load but custom-assigned avatars, default avatars and banned user avatars still do.

I PM’ed \*\*ntucker \*\*with some details about the occasional outages and he said he would look into it and do some logging on the server to see if he could identify any problem there. That was several days ago and I haven’t noticed any outages in recent days.

---

<div class="post-metadata">

**Author:** ![Crazyhorse](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/crazyhorse/32/31_2.png) [@Crazyhorse](https://boards.straightdope.com/u/Crazyhorse)\
**Post date:** [July 7, 2012, 7:07am UTC](https://boards.straightdope.com/t/no-avatars-here-why/625626/536 "2012-07-07T07:07:03Z")

</div>

> [@Crazyhorse](#):
>
> An updated version of the SDMB Avatar script is [available here](http://userscripts.org/scripts/show/136815).
> 
> This release includes 2 new optional features:

It just came to my attention that I included a typo in the latest release that would case the custom-assigned avatars to fail. There is now a corrected copy at the link above, or to fix it directly just make the following edit to your existing script:

```auto

if(username in CustomAvatars) imageurl = **customavatars** [username];

```

Should be changed to:

```auto

if(username in CustomAvatars) imageurl = **CustomAvatars** [username];

```

“customavatars” should be changed to “CustomAvatars”

Sorry about that.

---

<div class="post-metadata">

**Author:** ![MsWhatsit](https://avatars.discourse-cdn.com/v4/letter/m/eb8c5e/32.png) [@MsWhatsit](https://boards.straightdope.com/u/MsWhatsit)\
**Post date:** [July 8, 2012, 8:29pm UTC](https://boards.straightdope.com/t/no-avatars-here-why/625626/537 "2012-07-08T20:29:44Z")

</div>

Dude. This script _rules_. Avatars! At last!

Would it be possible to break this out into its own thread, or rename the current thread (something like “Want avatars? Here’s a script” or something) because I’ve been avoiding this thread on the grounds that I am tired unto death of the ongoing avatars/no avatars fight.

---

<div class="post-metadata">

**Author:** ![Irishman](https://avatars.discourse-cdn.com/v4/letter/i/b487fb/32.png) [@Irishman](https://boards.straightdope.com/u/Irishman)\
**Post date:** [July 8, 2012, 9:16pm UTC](https://boards.straightdope.com/t/no-avatars-here-why/625626/538 "2012-07-08T21:16:19Z")

</div>

I would suggest a new thread, with link backs.

---

<div class="post-metadata">

**Author:** ![PlainJain](https://avatars.discourse-cdn.com/v4/letter/p/5daacb/32.png) [@PlainJain](https://boards.straightdope.com/u/PlainJain)\
**Post date:** [July 8, 2012, 9:18pm UTC](https://boards.straightdope.com/t/no-avatars-here-why/625626/539 "2012-07-08T21:18:36Z")

</div>

I’ll start one.

---

<div class="post-metadata">

**Author:** ![Crazyhorse](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/crazyhorse/32/31_2.png) [@Crazyhorse](https://boards.straightdope.com/u/Crazyhorse)\
**Post date:** [July 8, 2012, 9:38pm UTC](https://boards.straightdope.com/t/no-avatars-here-why/625626/540 "2012-07-08T21:38:17Z")

</div>

I think it’s a good idea. I wasn’t sure if it should be an ATMB thread or not. \*\*PlainJain \*\*if you start one up I will add a post with all the details (installing, configuring, etc.) one time in that thread too.

It might be a good idea to specify in the OP that the new thread is for discussion of the SDMB Avatar script and not for debating the merits of avatars in general or asking TPTB to enable them board-wide.

[Previous page](https://boards.straightdope.com/t/no-avatars-here-why/625626.md?page=26)

[Next page](https://boards.straightdope.com/t/no-avatars-here-why/625626.md?page=28)
