Unclear explanation here at userscripts.org

in Userscripts.org discussion
Subscribe to Unclear explanation here at userscripts.org 14 posts, 4 voices



Photodeus Scriptwright

I am looking at my script admin page (/scripts/admin/<number>) and keep scratching my head.

It says:
"Daily stats are only available after July 7, 2009 forward. An install is counted any time http://userscripts.org/scripts/source/<number>.user.js is visited. So if you want good statistics, add ?update to the url in your update code."

The last phrase is puzzling me.
Am I supposed to tell people to click on http://userscripts.org/scripts/source/<number>.user.js?update when they install a new version?
If so, the wording should be made clearer. Maybe just show us the direct link to copy-paste.

Daily stats seem an interesting addition, but I doubt its usefulness right now.
Are you going to extend it to show installs + updates per version?

Since I just noticed this text I haven't actually incorporated this update feature in any of my scripts, so I don't know if some new interesting stats will show up. Better add it now! :)</number></number></number>

 
Photodeus Scriptwright

Heh, I see the <number> I wrote by hand was automatically closed with </number> when I posted it.

Oh another oddity here at uso.
Why does the stylesheet change daily, is it just me or is it really that experimental?
I find it hard to navigate around when there's an inconsistent look. Also the script description page keeps changing look too.
The headings < h2 > and < h3 > really should not change from day to day, please. I rely on proper sub-headings to make the page readable. Today the h2 had become the size of normal text.

 
Marti Scriptwright

@Photodeus,
I noticed that yesterday as well. My interpretation of it is that there is a query parameter for automatic script updaters. Whether or not the statistics will be shown is another story... maybe when Jesse pipes in he can elaborate a bit more about it. Imho, I'd prefer to have the total number of installs rather than separate out the statistics... "repeat customers" come back if they want to.

 
Photodeus Scriptwright

Well I added the ?update query part to one of my scripts. It'll be interesting to see what happens!
If it's "good", I want it :P

 
JoeSimmons Scriptwright

Any appendage to the user.js file excludes the script from being counted as an install.

 
Marti Scriptwright

Hrmmm would be interesting to append a variant of the meta.js routine to this query... wonder if that has passed through Jesse's mind?! ;)

 
Jesse Andrews Admin

JoeSimmons is correct. That is what I tried to say but I was writing it too late at night....

Marti, sorry don't parse - can you rephrase (I was helping some folks with their servers for 14 hours today so it is probably just me..)

 
Marti Scriptwright

Jesse Andrews wrote:
sorry don't parse
LOL hehe... you write at least two languages... English and Computerese! ;)

Well may have the normal link of http://userscripts.org/scripts/source/scriptid.user.js install and some other query parameter return what http://userscripts.org/scripts/source/scriptid.meta.js normally does... would tie everything together, maybe even the updater issues... just a brain spark. I'm a bit dain bread myself, so I may need to think this over a bit more... been a long week.

 
Photodeus Scriptwright

@Jesse
Appending the ?update part to user.js stopped it from triggering the Greasemonkey installation dialogue... So you should have a look at it.

 
JoeSimmons Scriptwright
Photodeus wrote:
@Jesse
Appending the ?update part to user.js stopped it from triggering the Greasemonkey installation dialogue... So you should have a look at it.
JoeSimmons wrote:
Any appendage to the user.js file excludes the script from being counted as an install.
It's supposed to do that.
 
Photodeus Scriptwright

Hence the topic...

Someone explain to me where and how to use the ?update querystring part! :P

 
JoeSimmons Scriptwright

What do you mean? lol. It's just used when you need the source (i.e., updater or just viewing) but don't want to boost the install count.

 
Photodeus Scriptwright

Why would I want that? Nobody of my script users needs just the source (since there is the view source code function already...)

But okay okay...
It was wrong to assume that there was supposed to be a method for us to separate install and update counts then.

Edit: But I'd still not say no to having a method to install a script without bumping up the install counter.

 
Jesse Andrews Admin

removed the ?update from the page. I don't know what I was thinking. to be continued as we need a way to do updates without increasing the counter.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel