LoginLogin

Site Updates [OLD]

Root / Site Discussion / [.]

🔒
haloopdyCreated:
sit bupaldt 1/16/17:
  • You can use markdown in chat now. **bold**, *italic*, __underline__, ~~strikethrough~~, and `inline code`. You can disable it entirely in your settings.

Site update 1/19/2017:
  • You can now collapse the sidepane in chat. Sorry I didn't do this earlier. This should give you more chatting space.
  • There was something else.... I don't remember.

Wow... soooo many site updates... Thanks for improving this site so much!

Site Update 1/20/17:
  • Added "mobile friendly" mode for chat which shrinks avatars and reduces margins. You HAVE to be on http to properly set the setting though, so use this link: http://smilebasicsource.com/userhome
Wow... soooo many site updates... Thanks for improving this site so much!
You're welcome!

Site Update 1/25/17:
  • High Compatibility mode now allows siteCSS and chatJS. You can edit them from /userhome
If you already have scripts that run in the "regular" chat, these will ALMOST CERTAINLY not work in high compatibility mode. The functions, variables, and HTML structure are all different. To prevent this, you should wrap your original code in a check so that when run in high compatibility mode, it only performs the high compatibility stuff. Example:
//MY ORIGINAL CHATJS OH JEEZ LOOK AT ALL THIS
//CHATJS CODE
Becomes:
if(window.checkChatRequirements)
{
  //MY NEW HIGHCOMPAT CHATJS
}
else
{
  //MY ORIGINAL CHATJS OH JEEZ LOOK AT ALL THIS
  //CHATJS CODE
}
Use the IF statement exactly as posted. checkChatRequirements should exist if it's highCompat mode. In normal chat, this does not exist.

Site Update 1/28/17:
  • Completely rewrote chat backend message system. The chat is running in almost a completely different way now, so if you see any errors, please let me know
  • Updated chat front-end to use the unified "polyChat" system now. Again, if you see any issues with chat, let me know.
  • Removed "fastProxy" in favor of making regular chat proxy even faster. If you used to use "fastProxy=1" because you couldn't use the chat otherwise, please use "proxy=1" now. It is even faster than fastProxy.

Site Update 1/28/17:
  • Removed "fastProxy" in favor of making regular chat proxy even faster. If you used to use "fastProxy=1" because you couldn't use the chat otherwise, please use "proxy=1" now. It is even faster than fastProxy.
1) How does one obtain acces to fastProxy(proxy)? Would it still work in areas such as school? 2) Chat is down due to websocket error... but you already knew that did you? Hope everything goes smoothly.

Site Update 1/28/17:
  • Removed "fastProxy" in favor of making regular chat proxy even faster. If you used to use "fastProxy=1" because you couldn't use the chat otherwise, please use "proxy=1" now. It is even faster than fastProxy.
1) How does one obtain acces to fastProxy(proxy)? Would it still work in areas such as school? 2) Chat is down due to websocket error... but you already knew that did you? Hope everything goes smoothly.
If you can browse the website at school but cannot use the chat, then proxy will work for you. Go to chat with the following URL for proxy: http://smilebasicsource.com/chat?proxy=1

If you can browse the website at school but cannot use the chat, then proxy will work for you. Go to chat with the following URL for proxy: http://smilebasicsource.com/chat?proxy=1
Ok then, thanks King Random!

Site update whatever man 1-14-17
  • Added dark theme for high compatibility mode. If you already have sub:dark in your special field, it will automatically be in dark mode for high compatibility mode. Otherwise, it's kinda hard to enable; you must either add sub:dark to your special field from the non-highcompatibility website, or you must go to smilebasicsource.com/query/testquery and add it to your special field there (it's in the big list of settings somewhere down the page). Using testquery is NOT recommended; you can seriously screw up your user settings.
How does smilebasicsource.com/query/testquery even supposed to work? It says ERROR404: Invalid page when I go there.

Site update whatever man 1-14-17
How does smilebasicsource.com/query/testquery even supposed to work? It says ERROR404: Invalid page when I go there.
It has been moved to //smilebasicsource.com/testquery.

Site Update 2/12/17: Because of an... interesting design choice on PHP's part, I have to reduce the amount of time you stay logged in. Now if you click "remember me", you will be logged in for a maximum of 1 week. It used to be a full month. I'm sorry for the change.

Site Update 2/12/17: Now if you click "remember me", you will be logged in for a maximum of 1 week. It used to be a full month. I'm sorry for the change.
That doesn't seem too bad.

4/26/2017: I fixed a load of stuff in the chat drawing thing in preparation for more tools and upgrades.
  • The first pixel of size 1 lines should no longer be offset
  • Lines should be closer to the center of the cursor now.
  • Added a button to easily download posted chat drawings
  • Lines at the edge of the canvas no longer gets cut off
  • Canvas magnification can now range from 1x to 5x and is now manually set (there's a new button)
  • Hover color now matches the theme you're on (I hope)
  • Fixed a few mathematical errors.
  • There are now TWO canvases in the drawing area in preparation for new tools. Please note that if you have some chatdraw conversion thing, you should take this into account. The canvas with the "overlay" class is just a clear panel over the actual drawing area (which is a plain canvas).

Site Update 5/14/17: Completely overhauled the chat drawing thing (because why not):
  • Unified touch and mouse events so it should work on all devices (thank 12me and trinitro for that)
  • Added the square tool and line tool
  • Can undo/redo
  • Changed clearing to a tool. You have to click the screen with the clear tool active to clear it.
The chatDraw system is entirely generic and can be included in any of your pages (the system anyway, not the UI). If you're somehow interested in adding a drawing thing to your website, there will (eventually) be documentation here: http://scratch.smilebasicsource.com/documentation/ Another update:
  • Added 12me's spray can, slow pen, and flood fill tools. Thank 12me for his wonderful contributions
  • Put the clear button back
  • Fill defaults to flood fill
Each tool can be clicked to cycle through similar tools. For instance, the freehand, slow pen, and spray can are all under the same tool. IMPORTANT: The canvas that is displayed is just a temporary OVERLAY. If you have chatJS that puts images into that canvas (for instance, like the chatDraw image converter dithering thing), it WILL get overwritten. The correct way to put data into the ACTUAL chatdraw is to do the following:
var drawer = LocalChatDraw.getDrawer();
var realCanvas = drawer.buffers[0].canvas;
//do stuff with realCanvas
drawer.Redraw(); //You MUST do this!

Sounds pretty great! Keep up the good work!

Site Update Hijack 6/2/17: Added HTML access keys to most significant parts of the website. This allows you to navigate the website more easily using only your keyboard. The access key modifier is usually Alt-Shift on Windows and Control-Option on Mac. If you add the following script to your SiteJS, pressing Alt-? or Ctrl-? will display key tips for most elements for which they are available.
accesskeys
//Show [accesskey]::after when Ctrl+?/Alt+? held 
document.addEventListener("keydown", function(e) { 
if((e.altKey || e.ctrlKey) && e.which == '191') { document.body.dataset.keytips = true; }
});
document.addEventListener("keyup", function(e) {document.body.dataset.keytips = false});
A full list of available keys is available in https://smilebasicsource.com/forum?ftid=1334. Please post any issues or comments there.

Chat update 8/29/17: There is now a user setting (on your /userhome) to enable a much more feature-full drawing application in chat. It runs off of http://draw.smilebasicsource.com, so you can share drawings between the two. However, it posts drawings as images rather than as special "chatdraw" messages, so other people will need the "show chat images" setting enabled in order to view your drawings directly in chat. The new drawing application has 4 layers and as many colors as you want. You can also set the canvas size and it autosaves your drawings. You can store drawings separate from your SBS account using the "manage" button at the lower right. Come up with a hard-to-guess artist ID so you can access your drawings on multiple devices. Since the advanced drawing application is not linked to your SBS account, your uploaded drawings will instead go to a randomized artist ID UNLESS you come up with your own artist ID or memorize the random one. Drawings that are uploaded "by name" are saved with all layer and drawing information so you can perfectly restore it later to continue drawing it. Drawings that are uploaded through the chat or through the "permalink" button (which is the same as posting to chat just without actually posting it) are just images and cannot be imported back into the drawing application. If you have any questions, please let me know

Chat update 8/29/17: There is now a user setting (on your /userhome) to enable a much more feature-full drawing application in chat. It runs off of http://draw.smilebasicsource.com, so you can share drawings between the two. However, it posts drawings as images rather than as special "chatdraw" messages, so other people will need the "show chat images" setting enabled in order to view your drawings directly in chat. The new drawing application has 4 layers and as many colors as you want. You can also set the canvas size and it autosaves your drawings. You can store drawings separate from your SBS account using the "manage" button at the lower right. Come up with a hard-to-guess artist ID so you can access your drawings on multiple devices. Since the advanced drawing application is not linked to your SBS account, your uploaded drawings will instead go to a randomized artist ID UNLESS you come up with your own artist ID or memorize the random one. Drawings that are uploaded "by name" are saved with all layer and drawing information so you can perfectly restore it later to continue drawing it. Drawings that are uploaded through the chat or through the "permalink" button (which is the same as posting to chat just without actually posting it) are just images and cannot be imported back into the drawing application. If you have any questions, please let me know
Should this be device-specific?

Chat update 8/29/17: There is now a user setting (on your /userhome) to enable a much more feature-full drawing application in chat. It runs off of http://draw.smilebasicsource.com, so you can share drawings between the two. However, it posts drawings as images rather than as special "chatdraw" messages, so other people will need the "show chat images" setting enabled in order to view your drawings directly in chat. The new drawing application has 4 layers and as many colors as you want. You can also set the canvas size and it autosaves your drawings. You can store drawings separate from your SBS account using the "manage" button at the lower right. Come up with a hard-to-guess artist ID so you can access your drawings on multiple devices. Since the advanced drawing application is not linked to your SBS account, your uploaded drawings will instead go to a randomized artist ID UNLESS you come up with your own artist ID or memorize the random one. Drawings that are uploaded "by name" are saved with all layer and drawing information so you can perfectly restore it later to continue drawing it. Drawings that are uploaded through the chat or through the "permalink" button (which is the same as posting to chat just without actually posting it) are just images and cannot be imported back into the drawing application. If you have any questions, please let me know
Should this be device-specific?
idk