Quantcast

Forums | MacLife

You are not logged in.

#1 2003-03-18 11:52 pm

JediKnightChewie
eternal n00b
From: far from home
Registered: 2002-06-18
Posts: 4652

smiley insertion

Im not sure how hard this would be to do, but would it be possible to have the smileys inserted where the cursor is instead of at the end of where you are. I go back and reword or add stuff in a lot as Im typing (especially in my long posts), and i click on one of the smiley icons, and I forget that it gets added to the end.

Its only a minor annoyince, no big deal, just a suggestion for the forums wink


the c00ki33 0wns J00!

Offline

 

#2 2003-03-18 11:54 pm

NAG
A witch!
Royal Wombat
From: /usr/local/apps/nag
Registered: 2000-09-22
Posts: 30229

Re: smiley insertion

Nope. Not possible at the moment.


"You call *this* archaeology?" • Professor Henry Jones
http://homepage.mac.com/dpauw/.Pictures/misc/moron.gif

Offline

 

#3 2003-03-19 12:28 am

Kirk
Spill the Wine, Take That Girl
Royal Wombat
From: Southern California
Registered: 1999-02-27
Posts: 20201
Website

Re: smiley insertion

I wish we could do that too.  That might require significant hacking of the phpBB though.  I don't know if its a big enough deal to warrant that.  I await GUI's opinion.

Offline

 

#4 2003-03-19 1:29 am

JediKnightChewie
eternal n00b
From: far from home
Registered: 2002-06-18
Posts: 4652

Re: smiley insertion

sad

ok, i didnt know if it would be a simple change or a difficult one. if its hard its not really worth it, copy and paste were invented for a reason (alas, causing more effort on the part of todays uber nerds as they post  roll  smile  tongue  cool  big_smile )


the c00ki33 0wns J00!

Offline

 

#5 2003-03-19 5:33 pm

mtpalms
plz stand by
From: Telstar
Registered: 2002-09-16
Posts: 4534

Re: smiley insertion

I do alot of edits and retyping too, and then I think, geez, I shoulda put a  cool at the end of the second sentence, 'cause it looks stupid down here at the end of the 20th.

I figured out that I could highlight the smiley at the end of 20, and drag it to where I really want it. Does that help?
Easier than copy and paste only a little harder than having it go where the cursor is flashing.

Offline

 

#6 2003-03-27 1:41 am

iopossum
Pope of England
From: Planet of the... Wait a minute
Registered: 2002-07-16
Posts: 2734
Website

Re: smiley insertion

It should have nothing to do with phpBB, but isntead be a javascript thing, unless u ment some flag to turn the javascript on.  Even still I actually think it may not be possible, because I do not think theres anyways of getting the cursor position in a textarea.  But I may be wrong.  Just do a javascript search.  It if is possible, then it would be a piece of cake to add and I could even write the script if you want.

Last time I checked doing textArea.caretPos gave this value, but it only worked on IE and not on Mac.  Things may be different now though.

I *think* if you want to be super hard core about it and this caretPos thing still doesn't work on Mac, you can register the events the textarea gets, and MAYBE be able to calculate where the cursor is by registering how many arrow rights/arrow lefts/arrow ups/arrow downs there are.  But this would be INCREDIBLY difficult, have to be written differently for EVERY browser (both for event-handling discrepencies AND to accomodate for different text sizes, since u have to know what pixel position was first hit when the user selects the textarea).

This I will not do.

Offline

 

#7 2003-03-27 2:55 am

Freezer mac
iPod scroll wheel
From: next to a big cold lake.
Registered: 2001-01-06
Posts: 7370

Re: smiley insertion

the sad thing is.... it works on windows sad

Offline

 

Board footer

Powered by PunBB 1.2.6
© Copyright 2002–2005 Rickard Andersson