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

#1 2013-04-02 22:57:35

mattdb1099
New Scratcher
Registered: 2013-04-01
Posts: 23

I try posting links to my old account's "My Stuff" page...

I used the "url" BBCode tag to attempt to link to the My Stuff page for mattb777, but it decided to tell me I cannot link to pages outside of Scratch and to remove any BBCode in my post, as I am a New Scratcher currently. I'm pretty sure that a My Stuff page for a Scratch account is a page on Scratch, but maybe that seemingly obvious fact is untrue? Is it because I did [ url = URL ] Description [ /url ] (Without spaces, of course)? Or is it that I did not use http:// or www.?

Offline

 

#2 2013-04-03 14:00:56

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: I try posting links to my old account's "My Stuff" page...

Maybe you need the http://? Don't use www.

Offline

 

#3 2013-04-03 16:27:13

Hyperbola
Scratcher
Registered: 2013-03-15
Posts: 100+

Re: I try posting links to my old account's "My Stuff" page...

scimonster wrote:

Maybe you need the http://? Don't use www.

Yeah, [ur l=scratch.mit.edu]Test[/url] doesn't work.


Tip of the whatever: Don't post in threads older than 2 weeks unless your post will actually be useful.
It's the last day of 1.4! *cries* (quote from NeilWest, rest by me) by the time you read this it probably will be 2.0  sad

Offline

 

#4 2013-04-03 21:32:00

Mokat
Scratcher
Registered: 2011-12-08
Posts: 1000+

Re: I try posting links to my old account's "My Stuff" page...

Hyperbola wrote:

scimonster wrote:

Maybe you need the http://? Don't use www.

Yeah, [ur l=scratch.mit.edu]Test[/url] doesn't work.

It's because you put a space


http://www.eggcave.com/egg/977371.pnghttp://www.eggcave.com/egg/977376.pnghttp://www.eggcave.com/egg/1005291.pnghttp://www.eggcave.com/egg/996745.png

Offline

 

#5 2013-04-04 06:21:41

Gravitation
New Scratcher
Registered: 2012-09-26
Posts: 500+

Re: I try posting links to my old account's "My Stuff" page...

Mokat wrote:

Hyperbola wrote:

scimonster wrote:

Maybe you need the http://? Don't use www.

Yeah, [ur l=scratch.mit.edu]Test[/url] doesn't work.

It's because you put a space

Because he didn't want it to parse

You /need/ to start the URL with http://, it's a glitch in the URL reader

Offline

 

#6 2013-04-04 17:10:31

Firedrake969
Scratcher
Registered: 2011-11-24
Posts: 1000+

Re: I try posting links to my old account's "My Stuff" page...


Click the sign.
https://s3.amazonaws.com/eterna/eterna2/logo2.png

Offline

 

#7 2013-04-04 20:36:39

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

Re: I try posting links to my old account's "My Stuff" page...

Gravitation wrote:

Mokat wrote:

Hyperbola wrote:


Yeah, [ur l=scratch.mit.edu]Test[/url] doesn't work.

It's because you put a space

Because he didn't want it to parse

You /need/ to start the URL with http://, it's a glitch in the URL reader

That's only on [img] tags.


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

Offline

 

#8 2013-04-04 21:00:45

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

Re: I try posting links to my old account's "My Stuff" page...

jvvg wrote:

Gravitation wrote:

Mokat wrote:


It's because you put a space

Because he didn't want it to parse

You /need/ to start the URL with http://, it's a glitch in the URL reader

That's only on [img] tags.

i think he means to allow new scratchers to link it


Posts: 20000 - Show all posts

Offline

 

#9 2013-04-04 21:24:47

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

Re: I try posting links to my old account's "My Stuff" page...

veggieman001 wrote:

jvvg wrote:

Gravitation wrote:

Because he didn't want it to parse

You /need/ to start the URL with http://, it's a glitch in the URL reader

That's only on [img] tags.

i think he means to allow new scratchers to link it

Oh.

Here's the code that they use (source):

Code:

// Hack alert. See if the user belongs to default group for new users set in the admin interface. (i.e. New Scratcher / New TBGer)
        if($pun_user['group_id'] == $pun_config['o_default_user_group'])
        {
                // Check if the post contains img tags, and throw an error if it does.
                if (preg_match( '/\[\/img\]/i', $message)){
                        $errors[] = 'Sorry, New Scratchers / TBGers cannot place images in their posts. Please remove all BB code [img] tags.';
                }
                // Now check to see if it has a /url tag
                else if (preg_match( '/\[\/url\]/i', $message))
                {

            // If content between each [url]and[/url] tag doesn't include mit.edu, or if it includes a redirect statement, throw an error
                        preg_match_all('/\[url[=\]](.*?)[\[\]]/i', $message, $urlCheckMatches, PREG_SET_ORDER);

            foreach ($urlCheckMatches as $val) {
                if ( (!preg_match( '/http:\/\/.*scratch\.mit\.edu.*/i', $val[1])) || preg_match('/.*redirect\/url.*http.*/i', $val[1])){
                                        $errors[] = 'Sorry, New Scratchers / TBGers cannot post urls to websites other than Scratch in their posts. Please remove all BB code [url]tags.';
                                        break;
                            }

                        }
            }

So yeah, it does require the HTTP.

Last edited by jvvg (2013-04-04 21:25:22)


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

Offline

 

#10 2013-04-05 03:36:32

Gravitation
New Scratcher
Registered: 2012-09-26
Posts: 500+

Re: I try posting links to my old account's "My Stuff" page...

veggieman001 wrote:

jvvg wrote:

Gravitation wrote:


Because he didn't want it to parse

You /need/ to start the URL with http://, it's a glitch in the URL reader

That's only on [img] tags.

i think he means to allow new scratchers to link it

Yes, yes I do. :3

Offline

 

#11 2013-04-05 22:41:12

Mokat
Scratcher
Registered: 2011-12-08
Posts: 1000+

Re: I try posting links to my old account's "My Stuff" page...

jvvg wrote:

veggieman001 wrote:

jvvg wrote:


That's only on [img] tags.

i think he means to allow new scratchers to link it

Oh.

Here's the code that they use (source):

Code:

// Hack alert. See if the user belongs to default group for new users set in the admin interface. (i.e. New Scratcher / New TBGer)
        if($pun_user['group_id'] == $pun_config['o_default_user_group'])
        {
                // Check if the post contains img tags, and throw an error if it does.
                if (preg_match( '/\[\/img\]/i', $message)){
                        $errors[] = 'Sorry, New Scratchers / TBGers cannot place images in their posts. Please remove all BB code [url]tags.';
                }
                // Now check to see if it has a /url tag
                else if (preg_match( '/\[\/url\]/i', $message))
                {

            // If content between each [url]and[/url] tag doesn't include mit.edu, or if it includes a redirect statement, throw an error
                        preg_match_all('/\[url[=\]](.*?)[\[\]]/i', $message, $urlCheckMatches, PREG_SET_ORDER);

            foreach ($urlCheckMatches as $val) {
                if ( (!preg_match( '/http:\/\/.*scratch\.mit\.edu.*/i', $val[1])) || preg_match('/.*redirect\/url.*http.*/i', $val[1])){
                                        $errors[] = 'Sorry, New Scratchers / TBGers cannot post urls to websites other than Scratch in their posts. Please remove all BB code [url]tags.';
                                        break;
                            }

                        }
            }

So yeah, it does require the HTTP.

Well, technically you can link to any MIT.edu site, not just scratch.mit.edu.


http://www.eggcave.com/egg/977371.pnghttp://www.eggcave.com/egg/977376.pnghttp://www.eggcave.com/egg/1005291.pnghttp://www.eggcave.com/egg/996745.png

Offline

 

#12 2013-04-06 10:15:57

Hyperbola
Scratcher
Registered: 2013-03-15
Posts: 100+

Re: I try posting links to my old account's "My Stuff" page...

Mokat wrote:

Well, technically you can link to any MIT.edu site, not just scratch.mit.edu.

mit.edu, www.mit.edu, http://mit.edu, and http://www.mit.edu don't work
Neither does any wiki page. Nor does jvvg's quote.


Tip of the whatever: Don't post in threads older than 2 weeks unless your post will actually be useful.
It's the last day of 1.4! *cries* (quote from NeilWest, rest by me) by the time you read this it probably will be 2.0  sad

Offline

 

#13 2013-04-10 00:58:17

gene_bernardino13
New Scratcher
Registered: 2013-04-09
Posts: 9

Re: I try posting links to my old account's "My Stuff" page...

Hyperbola wrote:

scimonster wrote:

Maybe you need the http://? Don't use www.

Yeah, [ur l=scratch.mit.edu]Test[/url] doesn't work.

Like this Test

Offline

 

#14 2013-04-10 16:31:07

Hyperbola
Scratcher
Registered: 2013-03-15
Posts: 100+

Re: I try posting links to my old account's "My Stuff" page...

gene_bernardino13 wrote:

Hyperbola wrote:

scimonster wrote:

Maybe you need the http://? Don't use www.

Yeah, [ur l=scratch.mit.edu]Test[/url] doesn't work.

Like this Test

We knew that?


Tip of the whatever: Don't post in threads older than 2 weeks unless your post will actually be useful.
It's the last day of 1.4! *cries* (quote from NeilWest, rest by me) by the time you read this it probably will be 2.0  sad

Offline

 

Board footer