Post by Chiz on Jun 10, 2010 16:19:52 GMT -5
Back in August 2009, I started a Greasemonkey script to add more smilies to MMLS. Unfortunately, I ran into some unsolvable problems and discontinued it within a week.
I recently rediscovered the script, to find that the kinks had magically worked themselves out! So, I put some polish on the script and was prepared to release it, when I got the idea of embedding the code into the forum itself so that everyone could use it.
Thanks to fAB, as of 10 minutes ago, the script is now in place for everyone without needing to install or download anything, and is fully functional! This brings the number of Kobun smilies - or Emotikobun, as I like to call them - from the original 16 to a full party of 41, and I've also included the 7 miscellaneous smilies that have always been there, but weren't documented (to this point, they've effectively been an open secret).
This isn't the project I had hoped to be showing you guys at this point, but it's better than nothing, and it's nice to see that I actually finished something this time.
So, there you go. Feel free to post comments, complaints, problems, etc here.
Terraformer
Emotikobun Plus!
Quick Map
Advanced Signatures
Advanced News
Better Spoilers
Embed All The Things!
Recently, I've started including various quotes in the source at the top for anyone who happened to be curious about how it worked. Since I haven't gotten any comments about them since this began, I can only assume no one's bothered to look, so, here's the history of the items for those curious (current versions not listed; you can go find them yourself):
As of 2013-01-24, MMLSF uses Proboards v5, which is incompatible with TF (which was written for PBv4.x). As all of its features are effectively replaced by default PBv5 functions, TF has been discontinued.
I recently rediscovered the script, to find that the kinks had magically worked themselves out! So, I put some polish on the script and was prepared to release it, when I got the idea of embedding the code into the forum itself so that everyone could use it.
Thanks to fAB, as of 10 minutes ago, the script is now in place for everyone without needing to install or download anything, and is fully functional! This brings the number of Kobun smilies - or Emotikobun, as I like to call them - from the original 16 to a full party of 41, and I've also included the 7 miscellaneous smilies that have always been there, but weren't documented (to this point, they've effectively been an open secret).
This isn't the project I had hoped to be showing you guys at this point, but it's better than nothing, and it's nice to see that I actually finished something this time.
So, there you go. Feel free to post comments, complaints, problems, etc here.
Version History
Terraformer
- 1.00
Unreleased. Merges EKP! and QM projects. - 1.01
First Public Version.
ADD: Internal Skin selector
RMV: Awards code; Need better approach - 1.02
ADD: Official support for 2 more browsers: K-Meleon (Gecko) and SRWare Iron (Webkit) - 1.03, 1.03a
ADD: Two new projects: Advanced Signatures and Better Spoilers. - 1.03b
ADD: Better, more accurate version display for all projects.
FIX: Loose JS syntax (TF is now almost 100% JSLint approved!) - 1.04
FIX: Skin selector using Proboards' native functions, not other addons. - 1.05
ADD: tf_vercheck() function - type javascript:tf_vercheck(); into address bar to see what version you're using! - 1.06, 1.06a
ADD: allow for slightly more efficient skin-choosing code as part of skin selector.
ADD: internal stringField() function - mimics PureBasic command of same name. Does some heavy lifting in code parsing for Advanced Signatures and Advanced News. - 1.06b
FIX: AdvSig bugs (see below) - 1.07
ADD: Foundation for new project
FIX: Various cleanup (adding forgotten semicolons, === instead of ==, etc)
RMV: StringField(), due to discovering string.split() as standard JS function. - 1.08, 1.08a
RMV: Unneeded tf_skin and tf_skinname from skin selector - 1.09, 1.09a
ADD: v5system and (tentative) v5reaverbot skin detection
FIX: News Fader fading (Proboards bug, natch)
Emotikobun Plus!
- 0.95
First Public Version. Firefox now works. - 0.96
FIX: Typo in last 8 emoticons ('forum/emoticons/emoticon' instead of 'forum/emoticon') - 0.97.0
ADD: Non-functional Opera & Chrome detection - 0.97.1, 0.97.2
FIX: Opera & Chrome detection - 0.97.3, 0.97.4
ADD: Chrome functionality - 0.97.5
FIX: Chrome functionality. Chrome now works. - 0.98.0
PoC: Shortcodes function
ADD: Opera functionality - 0.98.1
ADD: Opera-compatible 'add' function. Opera now works. - 0.98.2
ADD: Shortcodes function - 0.98.3
FIX: Opera-compatible 'add' function. - 0.98.4
FIX: Proboards Search function on FX, Opera, Chrome. - 0.98.5
ADD: Safari detection; confirmed working with search, clickables, shortcode replace, using the same code as Chrome (it made sense), so support for it has been enabled. Safari now works.
FIX: Speed issues related to short code replace. Now working through Proboards' word censor. - 0.98.6
ADD: Fast shortcode replace function. Proboards' censorlist no longer used. - 0.98.7
ADD: Support for calendar pages and recent posts pages.
FIX: Execution permissions. No longer glitches admin panel. - 0.98.8
ADD: Temporary disable code.
FIX: Voting in polls; EKP now auto disables until a vote has been cast. - 1.00.0 ('Ten Years Wait, Banzai!')
ADD: 28 misc icons and 16 controller buttons! Icon list is now 93, from 48.
ADD: Emotikobun Plus Plus sidebar, to avoid crowding and promote organization. To use, click the new [++] link!
ADD: Support for Personal Messages. (Why this was missing before, I don't know)
FIX: Flicker on post pages. Shortcodes disabled on post pages except in 'Preview' mode, where flicker still exists. This should be an acceptable compromise.
FIX: Load times! I've switched from 48 individual icons (which would've been 93) to CSS Sprites to reduce HTTP requests and promote caching.
RMV: Greasemonkey headers. Not much point to it, since there's no longer any chance of it being released as a userscript (which it was originally).
THX: Buster Cannon, for your Spider-Man and Venom Emotikobun. I altered them a bit, but you still deserve credit.
THX: Green, for your Sera, Tron Bonne, and Yuna icons. - 1.10 (TF 1.00)
ADD: 8 emotikobun, 8 misc icons and 4 controller buttons! Icon list is now 113, from 93.
ADD: Icon use in threadnames; icons will now appear in thread listings.
ADD: Skin support; EKPP now recolours based on active skin.
FIX: Icon use in polls; icons no longer need to be disable to vote in polls.
FIX: Rimblemenji icon. - 1.11 (TF 1.01)
ADD: Skins without external files (through TF) - 1.12 (TF 1.02)
FIX: EKP crashing QM on main page in Opera and Chrome/Safari.
FIX: Permissions to work on Member List and Newest Threads pages - 1.12a (TF 1.03a)
FIX: Darker-skinned Tron that was making MLT uncomfortable is now Lighter-skinned. - 1.13 (TF 1.04)
ADD: 1 new Kobun (Nosebleed/Otaku) and 5 more icons (Barrett, the Master, Fooroo, Mirumijee, Zakobon)
FIX: Permissions switched to Proboards' native functions, instead of crude document.location.href scanning. - 1.14 (TF 1.05)
ADD: Icon Arrays for user-friendliness to anyone who may need to maintain my script in the future.
ADD: 7 new icons: (Novelty) Jack-o-Lantern; (Characters) Inspector, Lex Loath, Werner Von Bluecher; (Machines) Leopordo; (Reaverbots) Karubun; (Miscellany) Glyde's Logo.
FIX: Topbar and Sidebar, to use new arrays.
FIX: Shortcode replace function, to use new arrays.
FIX: Topbar hooking is now platform-independent; Gecko-based, Opera, and Webkit-based all use the same code.
THX: Avegodro, for his contribution of 3 icons. - 1.15 (TF 1.06)
FIX: More efficient skin-choose code.
FIX: Permissions on Report Post-centric pages. - 1.16 (TF 1.07)
ADD: 5 new icons: (Standard) Mondays, Sick; (Characters) Curator, Klaymoor, KTOX Reporter - 1.16.01 (TF 1.08a)
FIX: Emotikobun shortcodes changed, colons replaced with grave accent (`, see tilde key/console key). Colon-based codes deprecated, but still supported, and now require spaces before or after code, (hopefully) eliminating timestamp woes (00:00:00 containing :00:, for instance).
FIX: Original 32 bar above post area showing pointer cursor (prompting the ability to click; they have always been clickable even without this cursor, but unobviously from a UI perspective). - 1.17 (TF 1.09)
ADD: Cursor shows [?] over EKPP labels, to add a visual cue that more information is available (there is: the tooltip shows the shortcode)
ADD: v5system skin colours.
FIX: Emotikobun activating in HH:mm:SS timestamps. (00:00:00 showing 00[smiley]00). It now doesn't, or shouldn't. Example: 07:11:17. Clearly it still does. Damnit.
BUG: Timestamp fix. It doesn't work. *cry* - 1.17a (TF 1.09a)
FIX: Previous timestamp fix. It works now. Maybe.
Quick Map
- 0.001
First Public Version. Working perfectly on Opera; coloured glitched in Chrome; completely non-functional in Firefox *cries* (EDIT: Except for the Newest Threads listing. wtf...) - 0.10 (TF 1.00)
Not a whole lot changed; simply adapted slightly for TF. - 0.20 (TF 1.01)
ADD: Skin support; QM now recolours based on active skin.
FIX: Updated menu to match MMLS v5
FIX: Appearance consistency between browsers
FIX: Colour bug with Chrome; text colour was black instead of white.
FIX: Conflict with EKP in Firefox; caused QM to simply not appear on any page where EKP was active. - 0.21 (TF 1.02)
ADD: Buttons now highlight when moused over.
ADD: Menu Autoroll; reveals and hides menu without clicking for faster access. Setting saved with cookie* ('qm-rollsetting').
ADD: Menu Pin; locks/unlocks menu to corner of browser. Setting saved with cookie* ('qm-pinsetting').
FIX: Blue border around image links on K-Meleon.
FIX: Link to 'Adventure To Save The Planet' info page.
FIX: Permissions to work on Login, Member List, Newest Threads, and Search pages.
FIX: Small spacing bug in text
* - Cookie is deleted when features are disabled - 0.22 (TF 1.03)
ADD: MML3 links for new May 2011 content. - 0.23 (TF 1.04)
FIX: Permissions switched to Proboards' native functions, instead of crude document.location.href scanning. - 0.24 (TF 1.05)
FIX: Zoom/transparent lines visual glitch in some browsers. - 0.25 (TF 1.06)
FIX: More efficient skin-choose code.
FIX: Permissions on Report Post-centric pages & login page. - 0.26 (TF 1.07)
ADD: More MML3 links
Advanced Signatures
- 0.01
Initial Version. Unreleased.
ADD: Allow custom-defined background colour or background image to signature block.
ADD: Allow custom-defined height control for signature block. - 0.02 (TF 1.03)
ADD: Allow custom-defined background image positioning and background image tiling.
FIX: Allow BOTH background colour and background image (previous behav. was one or the other).
RMV: Scrollbar overflow for signatures. (overflow is now completely hidden). - 0.03 (TF 1.03b)
FIX: Firefox and Chrome choking on multiple advanced sigs in a single page.
FIX: Run permissions (now limited to threads and profiles) - 0.04 (TF 1.04)
ADD: Exec permissions on Search results, Most recent posts, Calendar entries, and PMs
FIX: Permissions switched to Proboards' native functions, instead of crude document.location.href scanning. - 0.05 (TF 1.05)
ADD: Border support. See docs for more details.
ADD: Multiple background image support. See docs for more details.
ADD: Profile page code reveal; double click signature to see code used.
ADD: URL shortener for certain image hosts; see docs for more details.
BUG: Reports as 0.04 in tf_vercheck(). Oops.
FIX: Interesting bug where advanced sigs would be applied 3 (or more) times each instead of just once.
FIX: Preview pages, search pages, various other places. - 0.06 (TF 1.06)
FIX: Convert old delimiter parsing code to stringField(). No longer a 20 style setting limit. - 0.07 (TF 1.07)
ADD: A new style option - flipping. fx (horiz), fy (vert), fxy (both), frand (randomly) - 0.08 (TF 1.08)
ADD: Background-Clip, Background-Origin, Border-Image code options.
ADD: Even/Odd-Post & Profile Awareness code options.
ADD: Support for 11 to 19px borders.
Advanced News
- 0.01 (TF 1.06)
Initial Version. - 0.02 (TF 1.06b)
ADD: SPEED command - box speed now variable.
BUG: In Opera, news items are slightly off-set down. Hopefully will be fixed in future.
FIX: Main page debug alert() spam in Happy Birthday code.
Better Spoilers
- 0.01 (TF 1.03)
Initial Version. - 0.02 (TF 1.05)
FIX: Better colours for spoilers (now approximately match a skin, instead of just black or white). - 0.03 (TF 1.07)
FIX: Converted old "delimit" code (predates StringField()!) to string.split() function. - 0.10 (TF 1.08)
ETC: Feng shui'd code for better integration of Embed All The Things!
Embed All The Things!
- 0.00 (TF 1.07)
Mostly a placeholder.
ADD: CLEAR sub (for post-floating elements)
ADD: EMBED sub (placeholder) - 0.01 (TF 1.08)
ADD: Support for video providers (10): Blip.tv, Dailymotion.com, Metacafe.com, Niconico.com, Ustream.tv (Prerecorded), Veoh.com, Vevo.com, Viddler.com, Vimeo.com, Youtube.com
ADD: Support for audio providers (2): Soundcloud.com, Tindeck.com
ADD: Support for streaming providers (3): Justin.tv/Twitch.tv, Livestream.com, Ustream.tv.
Recently, I've started including various quotes in the source at the top for anyone who happened to be curious about how it worked. Since I haven't gotten any comments about them since this began, I can only assume no one's bothered to look, so, here's the history of the items for those curious (current versions not listed; you can go find them yourself):
- EKP v1.00.0 CSS - Knockoffs make me a saaaad panda.
- EKP v1.00.0 JS - less than half the asbestos compared to the competing Expressive Servbot icon sets!
- TF v1.00 CSS - I will not buy this tobacconist, it is scratched.
- TF v1.00 JS - It's got what plants crave!
- TF v1.01 CSS - It's made of people! You've got to tell them!
- TF v1.01 JS - We do what we must, because we can.
- TF v1.02 CSS - I take a potato chip...and eat it!
- TF v1.02 JS - Happy boys and happy girls are we...we are the happy boys and girls!
- TF v1.03 CSS - I mustn't run away. I mustn't run away. I mustn't run away!
- TF v1.03 JS - Arrrrrmageddon, carry me hooooooome!
- TF v1.04 CSS - I'm going to have fun, and you're going to have fun. We're all going to have so much f~ing fun, we'll need plastic surgery to remove our goddamn smiles!
- TF v1.04 JS - That's it, man. Game over, man; Game over!
- TF v1.05 CSS - I may be a Hogwarts student, but I am also a Satanist!
- TF v1.05 JS - Time to unpimp ze auto...!
- TF v1.06 CSS - 'Nano Nano Nano Nano!' 'Hakase Hakase Hakase Hakase!'
- TF v1.06 JS - And I'm losing my favourite game...You're losing your mind again...
- TF v1.07 CSS - If my calcuations are correct, when this baby hits 88 miles per hour, you're gonna see some serious shit.
- TF v1.07 JS - You touch a cockatrice corpse. You die... Would you like your possessions identified? (y/n/q)
- TF v1.08 CSS - Venszorízi vinyó bénking csunáj...Ó rö bikicsunáj!
- TF v1.08 JS - Has anyone really been far even as decided to use even go want to do look more like?
- TF v1.09 CSS - Look down. Now look back up! The tickets are now diamonds!
- TF v1.09 JS - Mah na mah na, doo doooo doo-doo-doo
As of 2013-01-24, MMLSF uses Proboards v5, which is incompatible with TF (which was written for PBv4.x). As all of its features are effectively replaced by default PBv5 functions, TF has been discontinued.