Omnimaga

Omnimaga => Discontinued => Our Projects => OmnomIRC Development => Topic started by: bwang on August 14, 2010, 01:59:50 am

Title: OmnomIRC Focus
Post by: bwang on August 14, 2010, 01:59:50 am
Would it be possible to make the text entry box in OmnomIRC not grab focus as soon as the page is loaded? I often visit on a laptop with no mouse, and the auto-focusing makes it hard to scroll down using the arrow keys.
Title: Re: OmnomIRC Focus
Post by: Geekboy1011 on August 14, 2010, 02:01:49 am
agreed this is an issue for me as well
Title: Re: OmnomIRC Focus
Post by: DJ Omnimaga on August 14, 2010, 02:04:28 am
Mhmm, I think this is a good idea. You should PM Tribal about it (or ask Fidchell/Tribal on IRC), since he is the new OmnomIRC maintainer. It was originally added because OmnomIRC reloaded the entire page every 5 second before, making it extremly annoying to use. Now it uses Ajax, so it shouldn't require focusing anymore.

I myself almost accidentally typed my admin password in OmnomIRC once, because to access the admin CP, you get asked for your password every 10 minutes or so, and with OmnomIRC grabbing the focus instead of letting it on the password field, it can be rather bad...
Title: Re: OmnomIRC Focus
Post by: Tribal on August 14, 2010, 02:08:49 am
It certainly is possible, I just fixed it :D
Title: Re: OmnomIRC Focus
Post by: DJ Omnimaga on August 14, 2010, 02:36:12 am
Nice
Title: Re: OmnomIRC Focus
Post by: bwang on August 14, 2010, 03:53:49 am
Sweet! Thank you :)
Title: Re: OmnomIRC Focus
Post by: TIfanx1999 on August 14, 2010, 07:34:10 am
Ah that is actually quite nice. I use the arrow keys when browsing on my lappy as well. Thank you! :)
Title: Re: OmnomIRC Focus
Post by: calcdude84se on August 14, 2010, 03:43:38 pm
Cool. That used to be a bit of an issue for me, too.
Good job! :)
Title: Re: OmnomIRC Focus
Post by: ztrumpet on August 14, 2010, 03:53:29 pm
Thanks Tribal! :)
Title: Re: OmnomIRC Focus
Post by: matthias1992 on August 14, 2010, 06:27:13 pm
If I may suggested another addition to the IRC, it would be handy to have more then one-line of text. It's not a must but it would be nice.
Good fix, helps me out too!
Title: Re: OmnomIRC Focus
Post by: Tribal on August 14, 2010, 07:34:39 pm
Hmm, I don't see why multi-line input would be a problem... I'll mess around with it and see what I can do.
Title: Re: OmnomIRC Focus
Post by: apcalc on August 14, 2010, 07:57:35 pm
Thanks for the fix Tribal!

I always found it annoying to have to click to focus on the window!
Title: Re: OmnomIRC Focus
Post by: Tribal on August 14, 2010, 09:06:14 pm
Here's an update on the multi-line omnomIRC I wanted to get some input on, it seems that it wouldn't be to hard to implement, and the size of the box can be dynamically resized(no smaller than the default width/hight) but... hitting return(enter) would give you a newline instead of submitting.

Now that I've messed with it a bit, I'm kinda wondering if you meant that the input would wrap if it hit the end instead of just continuing? I think that could probably be a solution to this.
Title: Re: OmnomIRC Focus
Post by: DJ Omnimaga on August 14, 2010, 11:08:45 pm
If you add multiline support, you should add a flood control to OmnomIRC that prevents people from using multiline support more than twice a minute. It will prevent spam.
Title: Re: OmnomIRC Focus
Post by: Hot_Dog on August 15, 2010, 01:59:00 am
If you add multiline support, you should add a flood control to OmnomIRC that prevents people from using multiline support more than twice a minute. It will prevent spam.

Agreed.
Title: Re: OmnomIRC Focus
Post by: Builderboy on August 15, 2010, 02:24:56 am
Yeah, especially because we cant kick people from OmnomIRC
Title: Re: OmnomIRC Focus
Post by: matthias1992 on August 15, 2010, 08:25:00 am
Okay so we need flood protection. As for your question tribal, I'd say we do wrapping. That just my two cents.
Title: Re: OmnomIRC Focus
Post by: DJ Omnimaga on August 15, 2010, 05:45:53 pm
Well, I can kick people from OmnomIRC, as the bot will parse !k nickname without my nickname, but we cannot ban. We can disable OmnomIRC per user basis but it is not that effective.
Title: Re: OmnomIRC Focus
Post by: TIfanx1999 on August 15, 2010, 08:04:15 pm
If you add multi line support, I think wrapping would be fine. and yea if they spam large amounts of multiline text within a certain amount of time would it be possible to set Omnom up to auto kick them?
Title: Re: OmnomIRC Focus
Post by: DJ Omnimaga on August 16, 2010, 07:59:37 pm
that, or maybe just not process the lines at all. A flood control warning might be nice, though.
Title: Re: OmnomIRC Focus
Post by: Deep Toaster on October 03, 2010, 08:18:15 pm
I'd rather be able to press Enter to submit than have multiple lines. Even with multiple lines, there's always a maximum number of chars, remember.
Title: Re: OmnomIRC Focus
Post by: DJ Omnimaga on October 04, 2010, 12:33:53 am
I personally am not a huge fan of multi-line, really. I fear people will abuse it.
Title: Re: OmnomIRC Focus
Post by: _player1537 on October 04, 2010, 12:39:19 am
For my vote, it is a no for multiline.
Title: Re: OmnomIRC Focus
Post by: DJ Omnimaga on October 04, 2010, 12:47:40 am
The problem in general is that people got the habit of pasting code on IRC when it's small, but it can still be annoying and lead to bad habits. Also, some people may just paste test they posted somewhere but not realize it was multi-line, so it would kinda flood the channel.
Title: Re: OmnomIRC Focus
Post by: Netham45 on October 10, 2010, 03:44:48 pm
No multiline, the backend doesn't support it. It'd get all garbled up and gunk up the bot, without rewriting parts of it.
Title: Re: OmnomIRC Focus
Post by: DJ Omnimaga on October 10, 2010, 10:35:44 pm
Especially that the bot already got serious troubles posting two different people lines in separate ones x.x
Title: Re: OmnomIRC Focus
Post by: Deep Toaster on October 11, 2010, 11:11:52 am
Not anymore! :D
Title: Re: OmnomIRC Focus
Post by: DJ Omnimaga on October 11, 2010, 04:32:18 pm
It got fixed now?
Title: Re: OmnomIRC Focus
Post by: Deep Toaster on October 11, 2010, 05:13:54 pm
This, right? *snip*

EDIT: Fail. It's http://ourl.ca/7304.new;topicseen#new (http://ourl.ca/7304.new;topicseen#new).

[EDIT (DJ Omnimaga): Removed proxy link]
Title: Re: OmnomIRC Focus
Post by: DJ Omnimaga on October 11, 2010, 05:25:21 pm
Ah right, I am sure i saw it happen again afterward, tho. Also his post notifier freaked out earlier x.x
Title: Re: OmnomIRC Focus
Post by: Deep Toaster on October 11, 2010, 07:12:51 pm
Oh, yeah, I noticed some links ended up weird. Hope Omnom gets back to normal :)
Title: Re: OmnomIRC Focus
Post by: DJ Omnimaga on October 11, 2010, 07:14:00 pm
Nah I mean this:

[12:42:03] (O) New post by Magic Banana in Zelda 8X8 http://tinyurl.com/28q248n#72955
[12:43:31] (O) New post by Ikkerens in Zelda 8X8 http://tinyurl.com/24thbkm#72956
[12:45:16] (O) New post by DJ Omnimaga in Zelda 8X8 http://tinyurl.com/2ewdxok#72957
[12:47:55] (O) New post by DJ Omnimaga in What is your avatar? http://tinyurl.com/334hxew#72958
[12:49:15] (O) New post by FinaleTI in Axe Contest poll and judging s http://tinyurl.com/385hzd9#72959
[12:50:12] (O) New post by DJ Omnimaga in Eee Zor - A Webshow http://tinyurl.com/36fuwb8#72961
[12:50:13] (O) New post by DJ Omnimaga in Eee Zor - A Webshow http://tinyurl.com/36fuwb8#72961
[12:50:14] (O) New post by DJ Omnimaga in Eee Zor - A Webshow http://tinyurl.com/36fuwb8#72961
[12:50:15] (O) New post by DJ Omnimaga in Eee Zor - A Webshow http://tinyurl.com/36fuwb8#72961
[12:50:16] (O) New post by DJ Omnimaga in Eee Zor - A Webshow http://tinyurl.com/36fuwb8#72961
[12:50:17] (O) New post by DJ Omnimaga in Eee Zor - A Webshow http://tinyurl.com/36fuwb8#72961
[12:50:18] (O) New post by DJ Omnimaga in Eee Zor - A Webshow http://tinyurl.com/36fuwb8#72961
[12:50:19] (O) New post by DJ Omnimaga in Eee Zor - A Webshow http://tinyurl.com/36fuwb8#72961
[12:50:20] (O) New post by DJ Omnimaga in Eee Zor - A Webshow http://tinyurl.com/36fuwb8#72961
[12:50:21] (O) New post by DJ Omnimaga in Eee Zor - A Webshow http://tinyurl.com/36fuwb8#72961
[12:50:22] (O) New post by DJ Omnimaga in Eee Zor - A Webshow http://tinyurl.com/36fuwb8#72961
[12:50:23] (O) New post by DJ Omnimaga in Eee Zor - A Webshow http://tinyurl.com/36fuwb8#72961
[12:50:24] (O) New post by DJ Omnimaga in Eee Zor - A Webshow http://tinyurl.com/36fuwb8#72961
[12:50:25] (O) New post by DJ Omnimaga in Eee Zor - A Webshow http://tinyurl.com/36fuwb8#72961
[12:50:26] (O) New post by DJ Omnimaga in Eee Zor - A Webshow http://tinyurl.com/36fuwb8#72961
[12:50:27] (O) New post by DJ Omnimaga in Eee Zor - A Webshow http://tinyurl.com/36fuwb8#72961
[12:50:28] (O) New post by DJ Omnimaga in Eee Zor - A Webshow http://tinyurl.com/36fuwb8#72961
[12:50:29] (O) New post by DJ Omnimaga in Eee Zor - A Webshow http://tinyurl.com/36fuwb8#72961
[12:50:30] (O) New post by DJ Omnimaga in Eee Zor - A Webshow http://tinyurl.com/36fuwb8#72961
[12:50:31] (O) New post by DJ Omnimaga in Eee Zor - A Webshow http://tinyurl.com/36fuwb8#72961
[12:50:32] (O) New post by DJ Omnimaga in Eee Zor - A Webshow http://tinyurl.com/36fuwb8#72961
[12:50:33] (O) New post by DJ Omnimaga in Eee Zor - A Webshow http://tinyurl.com/36fuwb8#72961
[12:50:34] (O) New post by DJ Omnimaga in Eee Zor - A Webshow http://tinyurl.com/36fuwb8#72961
[12:50:35] (O) New post by Kiligolo in TI-BANK - Erreur 500 comme sur http://tinyurl.com/39hxj9g#72962
Title: Re: OmnomIRC Focus
Post by: Deep Toaster on October 11, 2010, 07:26:34 pm
Whoa, didn't see that O.o

Seems to be fixed now :D

Title: Re: OmnomIRC Focus
Post by: DJ Omnimaga on October 11, 2010, 08:41:26 pm
Idk. It happened before too. He had to !kb the bot x.x

[02:57:32] <+SpyBot45> (O) New post by DJ Omnimaga in Escheron: Shadow over Ragnoth http://tinyurl.com/25vd2gs#69742
[02:58:59] <+SpyBot45> (O) New post by DJ Omnimaga in Probably Pointless Program http://tinyurl.com/36zaw6m#69743
[02:59:51] <+SpyBot45> (O) New post by DJ Omnimaga in I also want some peanuts! http://tinyurl.com/35qq99j#69744
[02:59:52] <+SpyBot45> (O) New post by DJ Omnimaga in I also want some peanuts! http://tinyurl.com/35qq99j#69744
[02:59:53] <+SpyBot45> (O) New post by DJ Omnimaga in I also want some peanuts! http://tinyurl.com/35qq99j#69744
[02:59:54] <+SpyBot45> (O) New post by DJ Omnimaga in I also want some peanuts! http://tinyurl.com/35qq99j#69744
[02:59:55] <+SpyBot45> (O) New post by DJ Omnimaga in I also want some peanuts! http://tinyurl.com/35qq99j#69744
[02:59:56] <+SpyBot45> (O) New post by DJ Omnimaga in I also want some peanuts! http://tinyurl.com/35qq99j#69744
[02:59:57] <+SpyBot45> (O) New post by DJ Omnimaga in I also want some peanuts! http://tinyurl.com/35qq99j#69744
[02:59:58] <+SpyBot45> (O) New post by DJ Omnimaga in I also want some peanuts! http://tinyurl.com/35qq99j#69744
[02:59:59] <+SpyBot45> (O) New post by DJ Omnimaga in I also want some peanuts! http://tinyurl.com/35qq99j#69744
[03:00:00] <+SpyBot45> (O) New post by DJ Omnimaga in I also want some peanuts! http://tinyurl.com/35qq99j#69744
[03:00:01] <+SpyBot45> (O) New post by DJ Omnimaga in I also want some peanuts! http://tinyurl.com/35qq99j#69744
[03:00:02] <+SpyBot45> (O) New post by DJ Omnimaga in I also want some peanuts! http://tinyurl.com/35qq99j#69744
[03:00:03] <+SpyBot45> (O) New post by DJ Omnimaga in I also want some peanuts! http://tinyurl.com/35qq99j#69744
[03:00:04] <+SpyBot45> (O) New post by DJ Omnimaga in I also want some peanuts! http://tinyurl.com/35qq99j#69744
[03:00:05] <+SpyBot45> (O) New post by DJ Omnimaga in I also want some peanuts! http://tinyurl.com/35qq99j#69744
[03:00:06] <+SpyBot45> (O) New post by DJ Omnimaga in I also want some peanuts! http://tinyurl.com/35qq99j#69744
[03:00:07] * Netham45 sets mode: +b *!*SpyBot45@*.org
[03:00:07] <+SpyBot45> (O) New post by DJ Omnimaga in I also want some peanuts! http://tinyurl.com/35qq99j#69744
[03:00:07] * SpyBot45 was kicked by Netham45 (SpyBot45)
[03:00:14] <@Netham45> The fuck
[03:00:18] <+OmnomIRC> <DJ Omnimaga> woah
[03:00:27] <+OmnomIRC> <DJ Omnimaga> what the heck just happened
[03:00:31] <@Netham45> not a clue. o.O
[03:00:36] <+OmnomIRC> <DJ Omnimaga> or rather
[03:00:47] <+OmnomIRC> <DJ Omnimaga> what the fucking shit* happened
[03:00:57] * Netham45 sets mode: -b *!*SpyBot45@*.org
[03:01:02] * SpyBot45 ([email protected]) has joined #omnimaga
[03:01:06] <+OmnomIRC> <DJ Omnimaga> ok bed time
[03:01:12] <@Netham45> kk night
[03:01:13] <+OmnomIRC> <DJ Omnimaga> now that i catched up on posts
[03:01:16] <+OmnomIRC> <DJ Omnimaga> casio
[03:01:28] <smmagic> DJ
[03:01:31] <smmagic> I think you want some peanuts
[03:01:31] <smmagic> amirite
[03:01:35] <@Netham45> haha
[03:07:15] <SpyBot45> (O) New post by netham45 in Test http://tinyurl.com/2c5gggu#69746
[03:07:39] <+OmnomIRC> <Netham45> yay