php forum
php mysql forum
php mysql smarty
 
Topic Options
#142080 - 04/17/02 03:04 PM [6.0x] IM/mIRC Style Editing/posting
PF Offline
Member

Registered: 04/06/02
Posts: 97
Loc: the UK

   [6.0x] IM/mIRC Style Editing/posting to Del.icio.us Add to del.icio.us
  Digg [6.0x] IM/mIRC Style Editing/posting Digg it
First off this hack will only work for IE users. smile
Secondly I'm quite a bandwidth freak so the JavaScript code looks rather unreadable.
Thirdly, I'm surprised no-one has done this kinda of hack before, seems already popular over at our forums, and its only been there for ~1hr smile

On with the show...

Okay, in short you know in IM Windows or mIRC where you can press CTRL+B to bolden text, or mark a starting point for the bold and an end point?
well thats how this work

The Shortcuts:
CTRL+B: Bolden
CTRL+I: Italics
CTRL+E: Email
CTRL+M: code (Monospace text)
CTRL+Q: Quote
CTRL+.: Image

CTRL+Enter: Submit (with confirmation)

2 ways of doing it, if there isn't a current selection, then it'll do the left side tag then you type in your text and press it again and it'll close the tag.
Or you highlight a selection of text, and press the combination you want and voila it makes that text the way you want.

It isn't completely perfect but hey, it works (if not abused).

Also I haven't edited the FAQ page for it, but that shouldn't be too hard wink

You can get the hack from here

Only tested on 6.05

I see no reason for this NOT to work in the later UBBs, but I dont have those to test, so if someone with the later ones wants to give this a shot, and report on it working?
Thanks.

As per usual, if you want to try it out you can go sign up at our forums and give it a whirl (but only if you intend on staying wink )

EDIT: Should this be in templates? confused since it is just editing templates?
_________________________
FFAddicts Forums - It's More Than A Game! It's A Religion!!

Top
#142081 - 04/18/02 06:03 AM Re: [6.0x] IM/mIRC Style Editing/posting
PF Offline
Member

Registered: 04/06/02
Posts: 97
Loc: the UK
Slight update

Found a few bugs in the code.

The bugs were because we have some extra ubb code: underline, center, and spoiler.

Center was the one I mentioned when I shouldn't have. Although adding Center and Underline ubb code is like 4 lines of code wink
_________________________
FFAddicts Forums - It's More Than A Game! It's A Religion!!

Top


Who's Online
0 Registered (), 26 Guests and 4 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Blogs, love em or hate em?
by AllenAyres
10/07/08 02:05 PM
What do you use to edit the files
by Ian_W
10/05/08 03:33 PM
BeyondCompare v3.00
by Ian_W
10/05/08 03:32 PM
Glossy Black Theme with Image Reflection
by Gizmo
10/05/08 02:17 PM
ShareThis
by Gizmo
09/28/08 05:06 AM
[7.3] Viewing MySQL logfiles made easier
by AllenAyres
09/27/08 09:57 PM
Looking for a simple upload script
by Murphdog
09/26/08 08:45 PM
New Mods
[7.3] Viewing MySQL logfiles made easier
by blaaskaak
09/24/08 05:39 PM
[7.3.1] add search to showmembers page
by blaaskaak
09/07/08 04:50 AM
Multiple Identity Detector
by
12/30/06 06:39 PM
Newest Members
pisa666, ghengis317, NitroX, Dogan, EliYah-
13345 Registered Users
Top Posters Last 30 Days
AllenAyres 12
blaaskaak 7
tackaberry 7
FREAK1 5
Mike L_dup1 4
Chris Bale 4
Ian_W 4

 

 

 
fusionbb message board php hacks