This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#26 2012-06-21 12:52:37

MathWizz
Scratcher
Registered: 2009-08-31
Posts: 1000+

Re: A USERscript that shows your post count

I really don't think they'd have a problem with it. The only people that would install the script are the people that WANT to see everyone's post counts. (I'd personally like to see veggieman's  tongue  )


http://block.site90.net/scratch.mit/text.php?size=30&text=%20A%20signature!&color=333333

Offline

 

#27 2012-06-21 12:53:45

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

Re: A USERscript that shows your post count

MathWizz wrote:

I really don't think they'd have a problem with it. The only people that would install the script are the people that WANT to see everyone's post counts. (I'd personally like to see veggieman's  tongue  )

Ok, then, I'll get started on it.
Don't expect me to finish any time soon, though.


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

#28 2012-06-21 13:13:09

bobbybee
Scratcher
Registered: 2009-10-18
Posts: 1000+

Re: A USERscript that shows your post count

The counts could easily be spoofed, though  hmm


I support the Free Software Foundation. Protect our digital rights!

Offline

 

#29 2012-06-21 13:18:52

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

Re: A USERscript that shows your post count

bobbybee wrote:

The counts could easily be spoofed, though  hmm

Good point, but I'll try it anyway.


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

#30 2012-06-21 13:21:06

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: A USERscript that shows your post count

MathWizz wrote:

I really don't think they'd have a problem with it. The only people that would install the script are the people that WANT to see everyone's post counts. (I'd personally like to see veggieman's  tongue  )

16542  wink


Posts: 20000 - Show all posts

Offline

 

#31 2012-06-21 13:23:29

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

Re: A USERscript that shows your post count

Well, actually, if I programmed that, it would really slow down your browser (i.e. 25 XHRs per page).

Also, I'm still not sure if the ST would be ok with it.


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

#32 2012-06-21 13:25:21

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: A USERscript that shows your post count

jvvg wrote:

Well, actually, if I programmed that, it would really slow down your browser (i.e. 25 XHRs per page).

Also, I'm still not sure if the ST would be ok with it.

Could you perhaps write a PHP script that logs in and gets the post count? I started trying and then I realised that I didn't know like any PHP.


Posts: 20000 - Show all posts

Offline

 

#33 2012-06-21 13:26:52

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

Re: A USERscript that shows your post count

veggieman001 wrote:

jvvg wrote:

Well, actually, if I programmed that, it would really slow down your browser (i.e. 25 XHRs per page).

Also, I'm still not sure if the ST would be ok with it.

Could you perhaps write a PHP script that logs in and gets the post count? I started trying and then I realised that I didn't know like any PHP.

I'm pretty good at PHP, but not so good at JS.
As for that idea, that would be incredibly slow, and requires the password of the user. That would definitely get me banned. Mine would just store the post count on a database or something, but it comes from the extension, not logging in and getting it.


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

#34 2012-06-21 13:29:00

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: A USERscript that shows your post count

jvvg wrote:

veggieman001 wrote:

jvvg wrote:

Well, actually, if I programmed that, it would really slow down your browser (i.e. 25 XHRs per page).

Also, I'm still not sure if the ST would be ok with it.

Could you perhaps write a PHP script that logs in and gets the post count? I started trying and then I realised that I didn't know like any PHP.

I'm pretty good at PHP, but not so good at JS.
As for that idea, that would be incredibly slow, and requires the password of the user. That would definitely get me banned. Mine would just store the post count on a database or something, but it comes from the extension, not logging in and getting it.

Why would it be slow?


Posts: 20000 - Show all posts

Offline

 

#35 2012-06-21 13:30:39

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

Re: A USERscript that shows your post count

veggieman001 wrote:

jvvg wrote:

veggieman001 wrote:


Could you perhaps write a PHP script that logs in and gets the post count? I started trying and then I realised that I didn't know like any PHP.

I'm pretty good at PHP, but not so good at JS.
As for that idea, that would be incredibly slow, and requires the password of the user. That would definitely get me banned. Mine would just store the post count on a database or something, but it comes from the extension, not logging in and getting it.

Why would it be slow?

Well, for every request, it has to go through several pages. Also, it is very hard for a cURL bot to get through, as I tried this once in the past.


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

#36 2012-06-21 13:32:53

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: A USERscript that shows your post count

Well, if one wanted to do it, how would one go about doing it, theoretically?


Posts: 20000 - Show all posts

Offline

 

#37 2012-06-21 13:34:26

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

Re: A USERscript that shows your post count

What I was trying to do is make a little post count image in my sig (like LS97 used to have).
So, what it did was it logged in, went to the forums, and looked up my post count.

However, due to <meta> redirects, I couldn't get it working. It is also kind of slow because it has to visit (I think) 3 pages before it gets the info you need.


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

#38 2012-06-21 13:35:20

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: A USERscript that shows your post count

jvvg wrote:

What I was trying to do is make a little post count image in my sig (like LS97 used to have).
So, what it did was it logged in, went to the forums, and looked up my post count.

However, due to <meta> redirects, I couldn't get it working. It is also kind of slow because it has to visit (I think) 3 pages before it gets the info you need.

Ah yeah, that's pretty much what I was trying to do. I ran into the meta redirects too :'(


Posts: 20000 - Show all posts

Offline

 

#39 2012-06-21 13:37:41

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

Re: A USERscript that shows your post count

veggieman001 wrote:

jvvg wrote:

What I was trying to do is make a little post count image in my sig (like LS97 used to have).
So, what it did was it logged in, went to the forums, and looked up my post count.

However, due to <meta> redirects, I couldn't get it working. It is also kind of slow because it has to visit (I think) 3 pages before it gets the info you need.

Ah yeah, that's pretty much what I was trying to do. I ran into the meta redirects too :'(

However, I could try writing a tool that bypasses those redirects...
Warning: idea approaching


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

#40 2012-06-21 13:44:11

funelephant
Scratcher
Registered: 2010-07-02
Posts: 1000+

Re: A USERscript that shows your post count

veggieman001 wrote:

MathWizz wrote:

I really don't think they'd have a problem with it. The only people that would install the script are the people that WANT to see everyone's post counts. (I'd personally like to see veggieman's  tongue  )

16542  wink

That's like 16.5x bigger than mine XP


nicki begs to differ
http://24.media.tumblr.com/ab0e6e8fd347c5e39c2821bcab9d16e6/tumblr_mgu35sui1L1rfb7aqo2_500.gif

Offline

 

#41 2012-06-21 13:47:32

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: A USERscript that shows your post count

jvvg wrote:

veggieman001 wrote:

jvvg wrote:

What I was trying to do is make a little post count image in my sig (like LS97 used to have).
So, what it did was it logged in, went to the forums, and looked up my post count.

However, due to <meta> redirects, I couldn't get it working. It is also kind of slow because it has to visit (I think) 3 pages before it gets the info you need.

Ah yeah, that's pretty much what I was trying to do. I ran into the meta redirects too :'(

However, I could try writing a tool that bypasses those redirects...
Warning: idea approaching

!!! do it man


Posts: 20000 - Show all posts

Offline

 

#42 2012-06-21 13:50:21

MathWizz
Scratcher
Registered: 2009-08-31
Posts: 1000+

Re: A USERscript that shows your post count

veggieman001 wrote:

Well, if one wanted to do it, how would one go about doing it, theoretically?

I would have a SQL database on a server with a PHP file to set the post counts. The user script would make an ajax request to http://randomserver/set.php?user=<logged in user>&count<count> when it gets the post count. When there is a post from a different user, the script with send a request to http://randomserver/get.php?user=<user> and it will return the post count, or -1 if the user is not in the database.

EDIT: I'll start it...

Last edited by MathWizz (2012-06-21 13:53:43)


http://block.site90.net/scratch.mit/text.php?size=30&amp;text=%20A%20signature!&amp;color=333333

Offline

 

#43 2012-06-21 13:59:03

funelephant
Scratcher
Registered: 2010-07-02
Posts: 1000+

Re: A USERscript that shows your post count

MathWizz wrote:

veggieman001 wrote:

Well, if one wanted to do it, how would one go about doing it, theoretically?

EDIT: I'll start it...

Yay! I'm pretty sure the Scratch Team is okay with this, because of how someone (I forget the username) made the img tag enabler.


nicki begs to differ
http://24.media.tumblr.com/ab0e6e8fd347c5e39c2821bcab9d16e6/tumblr_mgu35sui1L1rfb7aqo2_500.gif

Offline

 

#44 2012-06-21 14:07:16

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

Re: A USERscript that shows your post count

veggieman001 wrote:

jvvg wrote:

veggieman001 wrote:


Ah yeah, that's pretty much what I was trying to do. I ran into the meta redirects too :'(

However, I could try writing a tool that bypasses those redirects...
Warning: idea approaching

!!! do it man

I can try. However, I'm on vacation and it will take a while.


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

#45 2012-06-21 14:10:59

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: A USERscript that shows your post count

jvvg wrote:

veggieman001 wrote:

jvvg wrote:


However, I could try writing a tool that bypasses those redirects...
Warning: idea approaching

!!! do it man

I can try. However, I'm on vacation and it will take a while.

Ah, okay.


Posts: 20000 - Show all posts

Offline

 

#46 2012-06-21 14:12:58

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

Re: A USERscript that shows your post count

veggieman001 wrote:

jvvg wrote:

veggieman001 wrote:


!!! do it man

I can try. However, I'm on vacation and it will take a while.

Ah, okay.

However, I'm still worried that the ST will be mad.


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

#47 2012-06-21 14:16:56

MathWizz
Scratcher
Registered: 2009-08-31
Posts: 1000+

Re: A USERscript that shows your post count

jvvg wrote:

veggieman001 wrote:

jvvg wrote:


I can try. However, I'm on vacation and it will take a while.

Ah, okay.

However, I'm still worried that the ST will be mad.

Nah... They won't be.


http://block.site90.net/scratch.mit/text.php?size=30&amp;text=%20A%20signature!&amp;color=333333

Offline

 

#48 2012-06-21 14:20:04

chanmanpartyman
Scratcher
Registered: 2011-05-30
Posts: 500+

Re: A USERscript that shows your post count

MathWizz wrote:

jvvg wrote:

veggieman001 wrote:


Ah, okay.

However, I'm still worried that the ST will be mad.

Nah... They won't be.

Yeah, it'll be just like the antidote.

Offline

 

#49 2012-06-21 14:25:43

funelephant
Scratcher
Registered: 2010-07-02
Posts: 1000+

Re: A USERscript that shows your post count

chanmanpartyman wrote:

MathWizz wrote:

jvvg wrote:


However, I'm still worried that the ST will be mad.

Nah... They won't be.

Yeah, it'll be just like the antidote.

Yup!


nicki begs to differ
http://24.media.tumblr.com/ab0e6e8fd347c5e39c2821bcab9d16e6/tumblr_mgu35sui1L1rfb7aqo2_500.gif

Offline

 

#50 2012-06-21 14:32:29

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

Re: A USERscript that shows your post count

Ok, this tool uses a database on Mod Share to store your data. I will update the file promptly.

However, it stores the data, but can't get it yet.


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

Board footer