Author Topic: Omnimaga introduces instant quick-reply and enhanced CODE tags  (Read 36527 times)

0 Members and 1 Guest are viewing this topic.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Omnimaga introduces instant quick-reply and enhanced CODE tags
« on: November 01, 2011, 03:58:42 pm »
Since the past few days, Netham45 screwed the board up a few dozen of times before he successfully tried many SMF mods on Omnimaga. Among them he installed two so far: new versions of quick reply and CODE tags!

While Juju was looking for My Little Pony, Friendship is Magic toys at his local Korvette store instead of helping, Netham45 modified some of the mods he tried to fit our needs and fix some of the bugs. The Quick Reply mod difference with the regular quick reply feature of SMF is that when submitting your message, it doesn't send a request to refresh the entire page anymore: it simplies update the current page through AJAX, like Facebook, reducing bandwidth usage for users and load times. Currently, this new feature is only available on the default forum theme, though. Netham45 is planning to install it on the other ones soon.

Besides that, the new CODE blocks feature now lets you select all the code in them in one click and quickly copy it to the clipboard. The only downside is that the Copy to Clipboard feature relies on Flash, so if you do not have Flash installed, only the Select All feature and the CODE blocks themselves will work fine. In the future, Netham45 plans to add line numbering in those tags, although he needs to make sure line numbers won't be part of copy/pastes.

Other changes might occur soon!

UPDATE (Nov 2nd 3:29 AM): The topic starter is now marked accross the topic view. You will see "Topic Starter" below his avatar.

UPDATE(2) (Nov 2nd 4:12 AM): The rest of the mods are installed. Here is a log of all the changes:
  • You can now resize postboxes
  • You can now specify a reason for your edits
  • The topic starter is now shown in a topic
  • Topics now have descriptions
  • MOVED topics no longer appear in RSS/Atom feeds, nor the home page
  • Quick Reply is now instant, thanks to AJAX
  • Code blocks now have line numbers, Copy, and Select All options
« Last Edit: November 02, 2011, 05:16:00 am by Netham45 »

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Omnimaga introduces instant quick-reply and enhanced CODE tags
« Reply #1 on: November 01, 2011, 03:59:56 pm »
sounds awesome!


Quote
While Juju was looking for My Little Pony, Friendship is Magic toys at his local Korvette store instead of helping
lol
Sig wipe!

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: Omnimaga introduces instant quick-reply and enhanced CODE tags
« Reply #2 on: November 01, 2011, 04:00:50 pm »
Yay for ponies new useful mods! :D Damn this Quick Reply thing works well.
« Last Edit: November 01, 2011, 04:01:54 pm by Juju »

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline XVicarious

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 485
  • Rating: +45/-28
  • I F**king Love Twisty Puzzles
    • View Profile
    • XVicarious
Re: Omnimaga introduces instant quick-reply and enhanced CODE tags
« Reply #3 on: November 01, 2011, 04:02:25 pm »
Nice.  I did notice the new code blocks.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Omnimaga introduces instant quick-reply and enhanced CODE tags
« Reply #4 on: November 01, 2011, 04:03:24 pm »
Quote
While Juju was looking for My Little Pony, Friendship is Magic toys at his local Korvette store instead of helping
lol
This is true though O.O (although it actually happened a few day earlier).. Actually not really, he just happened to see those toys there. :P
« Last Edit: November 01, 2011, 04:04:21 pm by DJ_O »

Offline XVicarious

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 485
  • Rating: +45/-28
  • I F**king Love Twisty Puzzles
    • View Profile
    • XVicarious
Re: Omnimaga introduces instant quick-reply and enhanced CODE tags
« Reply #5 on: November 01, 2011, 04:05:07 pm »
The thing about the code blocks is... I Don't know if its just my computer, but I don't see words... I just see a white box.

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: Omnimaga introduces instant quick-reply and enhanced CODE tags
« Reply #6 on: November 01, 2011, 04:05:46 pm »
Yeah it was...

Code: [Select]
Also OMG I need to try this
Works fine for me.

Also the AJAX thing makes stuff easier to ninja...
« Last Edit: November 01, 2011, 04:07:19 pm by Juju »

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Omnimaga introduces instant quick-reply and enhanced CODE tags
« Reply #7 on: November 01, 2011, 04:08:37 pm »
Hmm seems to work for me too. What browser do you use Jkag? You might want to report the bug in the site feedback section.

(Ignore the above if you use IE6, though)

The only thing I dislike about the Code tags is the small gap between the text/links at the top and the block itself.
« Last Edit: November 01, 2011, 04:11:55 pm by DJ_O »

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Omnimaga introduces instant quick-reply and enhanced CODE tags
« Reply #8 on: November 01, 2011, 04:09:48 pm »
New Quick Reply post test:

Awesome features, glad to see the code tag updated, after having requested it many times!

EDIT: Didn't work.
Also, the new code tags don't work for me, and I have Flash.
« Last Edit: November 01, 2011, 04:13:46 pm by ephan »

Offline BlakPilar

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 734
  • Rating: +44/-1
    • View Profile
Re: Omnimaga introduces instant quick-reply and enhanced CODE tags
« Reply #9 on: November 01, 2011, 04:12:51 pm »
I noticed the new quick reply last night (maybe this morning?). And the new code blocks is really useful. Pretty neat stuff :)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Omnimaga introduces instant quick-reply and enhanced CODE tags
« Reply #10 on: November 01, 2011, 04:19:35 pm »
Ephan It migth be Chromium 17 fault actually. It's not a stable release, right?

Offline XVicarious

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 485
  • Rating: +45/-28
  • I F**king Love Twisty Puzzles
    • View Profile
    • XVicarious
Re: Omnimaga introduces instant quick-reply and enhanced CODE tags
« Reply #11 on: November 01, 2011, 04:24:49 pm »
I am running Firefox Nightly 10.1... That might be. Lemme check on my desktop.

EDIT: works on firefox stable... hum. might try on my netbook when I get back (and install Flash on it)
« Last Edit: November 01, 2011, 04:43:48 pm by jkag »

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Omnimaga introduces instant quick-reply and enhanced CODE tags
« Reply #12 on: November 01, 2011, 04:25:21 pm »
Ephan It migth be Chromium 17 fault actually. It's not a stable release, right?

Indeed, it works on Firefox 7.1 on the same machine and operating system. I'm still dazzled at why the Copy to Clipboard doesn't work though, since it's Flash.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Omnimaga introduces instant quick-reply and enhanced CODE tags
« Reply #13 on: November 01, 2011, 04:27:26 pm »
Ah maybe that's why then. You shoudl test in the latest stable versions to see if it works. By the way for me Copy to clipboard and select all, along with the code tags, worked in Safari, Chrome, IE9, Firefox 5 and Opera 11.52 and I tested quick reply in Chrome and Opera. I am testing in IE9 as of this post, now.

EDIT: Works. Btw I know quick modify sometimes doesn't work when you use the [Netham45] BBCode, though (like in iVenom's signature)
« Last Edit: November 01, 2011, 04:28:10 pm by DJ_O »

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: Omnimaga introduces instant quick-reply and enhanced CODE tags
« Reply #14 on: November 01, 2011, 04:27:45 pm »
Actually, there is Javascript Copy to Clipboard implementations, but the code to make it work is both a PITA and is different (or missing) for each browser.

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.