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
Maybe you need the http://? Don't use www.
Offline
scimonster wrote:
Maybe you need the http://? Don't use www.
Yeah, [ur l=scratch.mit.edu]Test[/url] doesn't work.
Offline
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
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.
Offline
jvvg wrote:
Gravitation wrote:
Mokat wrote:
It's because you put a spaceBecause he didn't want it to parse
You /need/ to start the URL with http://, it's a glitch in the URL readerThat's only on [img] tags.
i think he means to allow new scratchers to link it
Offline
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 readerThat'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):
// 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)
Offline
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 readerThat's only on [img] tags.
i think he means to allow new scratchers to link it
Yes, yes I do. :3
Offline
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.
Offline
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.
Offline
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
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?
Offline