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

0 Members and 1 Guest are viewing this topic.

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Omnimaga introduces instant quick-reply and enhanced CODE tags
« Reply #75 on: November 02, 2011, 02:41:18 am »
I'd rather not do animations for the scroll downs. They're unnecessary, they'd add a considerable amount of code bloat, and they'd slow down on slower devices.
I agree with that but I wasn't talking about animations ??? but about a jump or something (excuse my lack of vocabulary, I am French). Choose a post and try clicking on "Re: Omnimaga introduces ... tags", then on Reply#__. The first one displays the page then jumps to the post, the second one displays the page and doesn't jump (so I see IRC)
« Last Edit: November 02, 2011, 02:41:32 am by Hayleia »
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline Netham45

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2103
  • Rating: +213/-4
  • *explodes*
    • View Profile
Re: Omnimaga introduces instant quick-reply and enhanced CODE tags
« Reply #76 on: November 02, 2011, 02:56:21 am »
I meant that message to Qwerty, sorry.
« Last Edit: November 02, 2011, 04:14:36 am by Netham45 »
Omnimaga Admin

Offline z80man

  • Casio Traitor
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 977
  • Rating: +85/-3
    • View Profile
Re: Omnimaga introduces instant quick-reply and enhanced CODE tags
« Reply #77 on: November 02, 2011, 03:39:54 am »
Let's see how well the quick reply works.
Edit: pretty snappy
« Last Edit: November 02, 2011, 03:40:50 am by z80man »

List of stuff I need to do before September:
1. Finish the Emulator of the Casio Prizm (in active development)
2. Finish the the SH3 asm IDE/assembler/linker program (in active development)
3. Create a partial Java virtual machine  for the Prizm (not started)
4. Create Axe for the Prizm with an Axe legacy mode (in planning phase)
5. Develop a large set of C and asm libraries for the Prizm (some progress)
6. Create an emulator of the 83+ for the Prizm (not started)
7. Create a well polished game that showcases the ability of the Casio Prizm (not started)

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Omnimaga introduces instant quick-reply and enhanced CODE tags
« Reply #78 on: November 02, 2011, 04:06:41 am »
Also, yay for the "Topic starter" thing :D
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline Netham45

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2103
  • Rating: +213/-4
  • *explodes*
    • View Profile
Re: Omnimaga introduces instant quick-reply and enhanced CODE tags
« Reply #79 on: November 02, 2011, 04:14:13 am »
Me too, and it's great. Makes things so much faster now!

EDIT: Only problem is that it doesn't tell you when there's been a ninja post before you :/

Can I get browser info? :D
Omnimaga Admin

Offline Stefan Bauwens

  • Creator of Myst 89 - סטיבן
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1799
  • Rating: +162/-24
  • 68k programmer
    • View Profile
    • Portfolio
Re: Omnimaga introduces instant quick-reply and enhanced CODE tags
« Reply #80 on: November 02, 2011, 05:46:23 am »
Quick reply test. :P(From iPod!)
Edit:Oh yeah.
« Last Edit: November 02, 2011, 05:46:46 am by Stefan Bauwens »


Very proud Ticalc.org POTY winner (2011 68k) with Myst 89!
Very proud TI-Planet.org DBZ winner(2013)

Interview with me

Offline Netham45

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2103
  • Rating: +213/-4
  • *explodes*
    • View Profile
Re: Omnimaga introduces instant quick-reply and enhanced CODE tags
« Reply #81 on: November 02, 2011, 05:48:58 am »
It should work with any device that supports AJAX.
Omnimaga Admin

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 #82 on: November 02, 2011, 06:59:58 am »
topic starter thingy looks awesome :D
Sig wipe!

Offline alberthrocks

  • Moderator
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 876
  • Rating: +103/-10
    • View Profile
Re: Omnimaga introduces instant quick-reply and enhanced CODE tags
« Reply #83 on: November 02, 2011, 03:30:38 pm »
Awesome job Netham45! :D

I have an AMAZING fix for you Netham45! :) Remember that annoying, Chrome-only tiny code box in a thingy bug?
I *think* this should fix it...

Replace the following:
Code: [Select]
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
window.addEventListener("load", smf_codeFix, false);
function smf_codeFix()
{
var codeFix = document.getElementsByTagName ? document.getElementsByTagName("div") : document.all.tags("div");

for (var i = 0; i < codeFix.length; i++)
{
if (codeFix[i].className == "code" && (codeFix[i].scrollWidth > codeFix[i].clientWidth || codeFix[i].clientWidth == 0))
codeFix[i].style.overflow = "scroll";
}
}
// ]]></script>
with
Code: [Select]
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
window.addEventListener("load", smf_codeFix, false);
function smf_codeFix()
{
var codeFix = document.getElementsByTagName ? document.getElementsByTagName("div") : document.all.tags("div");
var is_chrome = navigator.userAgent.toLowerCase().indexOf('chrome') > -1;
if (is_chrome) { return; }
for (var i = 0; i < codeFix.length; i++)
{
if (codeFix[i].className == "code" && (codeFix[i].scrollWidth > codeFix[i].clientWidth || codeFix[i].clientWidth == 0))
codeFix[i].style.overflow = "scroll";
}
}
// ]]></script>

(This should exist somewhere in the SMF code/templates, as it's outputted with the regular HTML.)
« Last Edit: November 02, 2011, 03:31:19 pm by alberthrocks »
Withgusto Networks Founder and Administrator
Main Server Status: http://withg.org/status/
Backup Server Status: Not available
Backup 2/MC Server Status: http://mc.withg.org/status/


Proud member of ClrHome!

Miss my old signature? Here it is!
Spoiler For Signature:
Alternate "New" IRC post notification bot (Newy) down? Go here to reset it! http://withg.org/albert/cpuhero/

Withgusto Networks Founder and Administrator
Main Server Status: http://withg.org/status/
Backup Server Status: Not available
Backup 2/MC Server Status: http://mc.withg.org/status/

Activity remains limited due to busyness from school et al. Sorry! :( Feel free to PM, email, or if you know me well enough, FB me if you have a question/concern. :)

Don't expect me to be online 24/7 until summer. Contact me via FB if you feel it's urgent.


Proud member of ClrHome!

Spoiler For "My Projects! :D":
Projects:

Computer/Web/IRC Projects:
C______c: 0% done (Doing planning and trying to not forget it :P)
A_____m: 40% done (Need to develop a sophisticated process queue, and a pretty web GUI)
AtomBot v3.0: 0% done (Planning stage, may do a litmus test of developer wants in the future)
IdeaFrenzy: 0% done (Planning and trying to not forget it :P)
wxWabbitemu: 40% done (NEED MOAR FEATURES :P)

Calculator Projects:
M__ C_____ (an A____ _____ clone): 0% done (Need to figure out physics and Axe)
C2I: 0% done (planning, checking the demand for it, and dreaming :P)

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Omnimaga introduces instant quick-reply and enhanced CODE tags
« Reply #84 on: November 02, 2011, 05:01:42 pm »
Netham, I didn't realize you added so many things.  Thanks again! :D

Edit: test
« Last Edit: November 02, 2011, 05:02:05 pm by ztrumpet »

Offline ralphdspam

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 841
  • Rating: +38/-1
  • My name is actually Matt.
    • View Profile
Re: Omnimaga introduces instant quick-reply and enhanced CODE tags
« Reply #85 on: November 02, 2011, 05:15:04 pm »
Sounds cool!  (This is a test.)
There is a small problem with chrome.  The quick edit text box is squished, and when I press the back arrow, chrome loads the cached page instead of the updated page.
« Last Edit: November 02, 2011, 05:20:22 pm by ralphdspam »
ld a, 0
ld a, a

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • 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 #86 on: November 02, 2011, 05:48:40 pm »
Yeah I noticed the cache issue. It happens in Opera too. I guess the only way to fix that would be to make the site force cache reload when pressing back, like it used to be in 2009, but the downside is that it makes browsing annoyingly slow at times and requires a lot more bandwidth/resources from Netham45 server.

Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: Omnimaga introduces instant quick-reply and enhanced CODE tags
« Reply #87 on: November 02, 2011, 06:18:14 pm »
I'm not sure if it's just me, but the line numbers on the code box seem to be off...
(firefox 7.0.1)

EDIT: hm the instant quick reply doesn't seem to work for me in SSL
+/- buttons in the edit page thing are awesome ;D (maybe this could also be useful for the sig editor in the Profile, it tends to get big :P)

EDIT2: the reason for edit doesn't show for me tho, it's just the +/- buttons immediately followed by "Last edit" and checkboxes :\ (also in SSL)
So it doesn't show in this topic, but it does in another topic ???
« Last Edit: November 02, 2011, 06:33:51 pm by Darl181 »
Vy'o'us pleorsdti thl'e gjaemue

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Omnimaga introduces instant quick-reply and enhanced CODE tags
« Reply #88 on: November 02, 2011, 06:18:28 pm »
Suggestion: Can code boxes be made monospace again? For some reason they're now the same font as every other part of the forum (Verdana).




Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • 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 #89 on: November 02, 2011, 06:18:47 pm »
Yeah I reported that bug in a topic. It seems to only happen in certain code boxes, though.