Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / Edit Feature now works (fingers crossed)

Author
Message
Richard Davey
Retired Moderator
22
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 17th Mar 2003 20:02 Edited at: 17th Mar 2003 20:10
Hi all,

You can now test the edit feature. As far as I can tell it works fine with the appropriate checking/limitations, etc. I've made it so that all posts you edit are copied to a message_archive and I'll probably add in a "view edited versions of this message" link somewhere when I've got time, for now though I want to finish the forum search.

Please test it out and report back with problems (erm, testing!)

Cheers,

Rich

"Gentlemen, we are about to short-circuit the Universe!"
DB Team / Atari ST / DarkForge / Retro Gaming
Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 17th Mar 2003 20:05 Edited at: 17th Mar 2003 20:14
well time for a lil testi...

St Paddy was the one that taught us all howto drink
happy st patricks day ya'll, hopefully this'll edit it

Mmm drinking Dr. Pepper & Guiness Draught, whats the worst that can happen?



Tsu'va Oni Ni Jyuuko Fiori Sei Tau!
One block follows the suit ... the whole suit of blocks is the path ... what have you found?
Martyn Pittuck
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United Kingdom
Posted: 17th Mar 2003 20:26 Edited at: 17th Mar 2003 20:26
Hell yes

Amen

The Outside is a evil place to be, too much light, too much noise and too many distractions....
I went outside once and my FPS rate dropped to 5.
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 17th Mar 2003 20:42 Edited at: 17th Mar 2003 20:44
Does it?

... Almost. It's more a chance to practice your typing skills

Rich: Did you mean the edit function to not carry the text forward into the edit box?
Richard Davey
Retired Moderator
22
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 17th Mar 2003 20:48
It carries it. Although I reckon it doesn't if you don't have a signature set (debugging aloud here). For me it carries the text fine, I'll remove my signature and test it.

Cheers,

Rich

"Gentlemen, we are about to short-circuit the Universe!"
DB Team / Atari ST / DarkForge / Retro Gaming
Richard Davey
Retired Moderator
22
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 17th Mar 2003 20:49
Here's a signature-less post to test with.
Richard Davey
Retired Moderator
22
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 17th Mar 2003 20:49 Edited at: 17th Mar 2003 20:52
Yup - confirmed as that, will sort it out.

Edit - Done! No siggy people work now.
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 17th Mar 2003 20:54 Edited at: 17th Mar 2003 20:54
Hmm... Should I believe you?

Ok, Ok. You win :p
Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 17th Mar 2003 20:56


Tsu'va Oni Ni Jyuuko Fiori Sei Tau!
One block follows the suit ... the whole suit of blocks is the path ... what have you found?
MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 17th Mar 2003 21:04 Edited at: 17th Mar 2003 21:05
Testing...

New line added

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
David T
Retired Moderator
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 17th Mar 2003 21:13
Yes! Goodbye spelling mistakes!

You are the th person to view this signature.
Programmers don't die, they just Gosub without return....
Oraculaca
21
Years of Service
User Offline
Joined: 6th Jan 2003
Location: Scotland
Posted: 17th Mar 2003 21:27
No need to worry about spellung now

Not-Mr-Thumpy wrinkled his nose, it was suddenly hard to concentrate
Kentaree
22
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Clonmel, Ireland
Posted: 17th Mar 2003 22:41 Edited at: 17th Mar 2003 22:42
Testing? ( Edit: ) Yep, works, thanx Rich, great work!

Whatever I did I didn't do it!
Ian T
22
Years of Service
User Offline
Joined: 12th Sep 2002
Location: Around
Posted: 17th Mar 2003 22:42 Edited at: 17th Mar 2003 22:42
Excellent! Thank you Rich

This is my SECOND thank you I edited in!

--Mouse

Famous Fighting Furball
rapscaLLion
22
Years of Service
User Offline
Joined: 29th Aug 2002
Location: Canada
Posted: 17th Mar 2003 23:33 Edited at: 17th Mar 2003 23:33
WWWWWWWWWEEEEEEEEEEEEEEEEE!!!!!!!!!!!!!!

(If you see this text in the bracket, then the edit feature works fine!)

Alex Wanuch
aka rapscaLLion
Kousen Dev Progress >> Currently Working On Editors
lcfcfan
21
Years of Service
User Offline
Joined: 19th Feb 2003
Location: North East, UK
Posted: 17th Mar 2003 23:51
wot the hell is the edit command?

2ghz, ati radeon mobility 32mb DDR, 30gb, 256mb DDR ram, Win Xp
Speedhorn
21
Years of Service
User Offline
Joined: 6th Feb 2003
Location: United Kingdom
Posted: 18th Mar 2003 01:56 Edited at: 18th Mar 2003 01:58
*slaps lcfcfan*

Horaay for an edit feature

P.S. Lcfcfan - look under your name when you've just made a post

Ralph, Jesus didn't have wheels.
Easily Confused
22
Years of Service
User Offline
Joined: 22nd Oct 2002
Location: U.K. Earth. (turn right at Venus)
Posted: 18th Mar 2003 07:34
Let's see this thing.....

Programming anything is an art, and you can't rush art.
Unless your name is Bob Ross, then you can do it in thirty minutes.
Easily Confused
22
Years of Service
User Offline
Joined: 22nd Oct 2002
Location: U.K. Earth. (turn right at Venus)
Posted: 18th Mar 2003 07:43
Every time I try to type something I keep getting IE saying "runtime error, line 78, object expected"

Trust me to spoil things

Programming anything is an art, and you can't rush art.
Unless your name is Bob Ross, then you can do it in thirty minutes.
Easily Confused
22
Years of Service
User Offline
Joined: 22nd Oct 2002
Location: U.K. Earth. (turn right at Venus)
Posted: 18th Mar 2003 07:45
No... still refuses to let me edit. What's going on rich?

Programming anything is an art, and you can't rush art.
Unless your name is Bob Ross, then you can do it in thirty minutes.
Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 18th Mar 2003 15:18
lmao... aww and i thought i was the ultimate test on braking things (i broke it in like 20seconds - but then Rich fixxed it hehee)

what browser you using Easily ... you know i've got that runtime error today when i click the link
'http://www.DarkBasicPro.co.uk/apollo'

i've gotta goto the site, then come in through that - not sure why though maybe i should copy what it says next time

Tsu'va Oni Ni Jyuuko Fiori Sei Tau!
One block follows the suit ... the whole suit of blocks is the path ... what have you found?
Killer Sponge
21
Years of Service
User Offline
Joined: 27th Nov 2002
Location: United Kingdom
Posted: 18th Mar 2003 15:45 Edited at: 18th Mar 2003 15:47
yeh i had to come through the site as well, i brought up a load of errors for the link

Oh wellz, urz,
K-Sponge

===Edited from this line down====
Oh rich the edit function gr8 used 3 times tody for spelling mistakes


^-^

urs, K-Sponge

Current Project: KS Modeller Function Library & Editor
Richard Davey
Retired Moderator
22
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 18th Mar 2003 16:04
It was because you used the .co.uk domain and not the .com one. If you use .com you get no errors. I've fixed this now anyway but be warned the cookie given at login persists for the .com domain, so you'll most likely appear to be "logged out" if you come in via .co.uk.

This all changes soon so I'm not too concerned about it atm.

Cheers,

Rich

"Gentlemen, we are about to short-circuit the Universe!"
DB Team / Atari ST / DarkForge / Retro Gaming
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 18th Mar 2003 16:09 Edited at: 18th Mar 2003 16:09
Finally - It's been a while. Now we need a comprehensive search option.

<goody - an end to the HTTP://HTTP:// mistake at last >

Current Project: Retro Compo. Entry.
Easily Confused
22
Years of Service
User Offline
Joined: 22nd Oct 2002
Location: U.K. Earth. (turn right at Venus)
Posted: 18th Mar 2003 16:48
I'm using IE 6.0 and the damn thing still wont let me edit grrrrr (swears at IE using several colorful discriptions of body parts).

I also get the same error when I click anywhere within the edit box (swears at IE using several discriptions of kitchen appliances).

Ah well, I'll just have to be careful what I type.

Programming anything is an art, and you can't rush art.
Unless your name is Bob Ross, then you can do it in thirty minutes.
Richard Davey
Retired Moderator
22
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 18th Mar 2003 18:19
Easily - over 90% of the visitors here are using IE6, so whatever it is it's nothing to do with that.

"Gentlemen, we are about to short-circuit the Universe!"
DB Team / Atari ST / DarkForge / Retro Gaming
Easily Confused
22
Years of Service
User Offline
Joined: 22nd Oct 2002
Location: U.K. Earth. (turn right at Venus)
Posted: 18th Mar 2003 18:33
OK, I'll calm down now

Programming anything is an art, and you can't rush art.
Unless your name is Bob Ross, then you can do it in thirty minutes.
spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 18th Mar 2003 18:35
Easily Confused is correct. Most people have script debugging turned off and won't see error. I have it on to test websites I write for work.

An error shows when you click in edit box because the javascript function for 'storeCaret' has been commented out!

Please fix!

Gronda, Gronda
Richard Davey
Retired Moderator
22
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 18th Mar 2003 18:38
Sonic - I have it turned on, there is no JS error in IE6 on this XP Pro machine. View the source a bit more carefully and you'll see the storeCaret function is NOT commented out.

Even if it was, it still wouldn't stop the edit page working.

Cheers,

Rich

"Gentlemen, we are about to short-circuit the Universe!"
DB Team / Atari ST / DarkForge / Retro Gaming
Easily Confused
22
Years of Service
User Offline
Joined: 22nd Oct 2002
Location: U.K. Earth. (turn right at Venus)
Posted: 18th Mar 2003 19:14
Now what are you up to? I'm now getting a similar error when trying to post to this forum, line 845 this time. I'm forced to use notepad to type this and then cut and paste.

If it helps to debug this problem, I'm using IE 6.0 in windows 98se.

Programming anything is an art, and you can't rush art.
Unless your name is Bob Ross, then you can do it in thirty minutes.
Easily Confused
22
Years of Service
User Offline
Joined: 22nd Oct 2002
Location: U.K. Earth. (turn right at Venus)
Posted: 18th Mar 2003 19:28 Edited at: 18th Mar 2003 19:33
Testing something.....

(edit) - HALLELUJAH! It now works! I re-read Sonic's post and turned off my script debugger (why was it on in the first place I don't know). It works! It Works! Yipee!

I must therefore apolgize to Rich, I came close to getting too irrate over a problem that was not realy his.

Sorry Rich

Programming anything is an art, and you can't rush art.
Unless your name is Bob Ross, then you can do it in thirty minutes.
Easily Confused
22
Years of Service
User Offline
Joined: 22nd Oct 2002
Location: U.K. Earth. (turn right at Venus)
Posted: 18th Mar 2003 19:39
It does raise a question however, why would IE report an error when there realy isn't one?

Programming anything is an art, and you can't rush art.
Unless your name is Bob Ross, then you can do it in thirty minutes.
spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 18th Mar 2003 19:40
Same as Easily confused, now get error or normal post page!

Appears to be because you have just changed javascript to be all on same line BUT there is a comment half way along about 'By Martyn Pittuck'. IE6 does not like this!

It also means none of the special buttons work (code, href).

Please put javascript back multiline on normal AND edit mode and all problems will be solved!

Gronda, Gronda
Easily Confused
22
Years of Service
User Offline
Joined: 22nd Oct 2002
Location: U.K. Earth. (turn right at Venus)
Posted: 18th Mar 2003 19:48
Sonic is right about the special buttons not working, cannot select text with mouse either.

Programming anything is an art, and you can't rush art.
Unless your name is Bob Ross, then you can do it in thirty minutes.
Martyn Pittuck
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United Kingdom
Posted: 18th Mar 2003 19:52
LOL

I have no idea what the error is, it works fine for the rest of us...

Hang on a minute, the java code is all bunched up. This the problem?

The Outside is a evil place to be, too much light, too much noise and too many distractions....
I went outside once and my FPS rate dropped to 5.
Martyn Pittuck
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United Kingdom
Posted: 18th Mar 2003 19:57
Yeah that will fix it

Did i little test, needs to be set out one line per line i am afraid.

The Outside is a evil place to be, too much light, too much noise and too many distractions....
I went outside once and my FPS rate dropped to 5.
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 18th Mar 2003 20:08
I get a JavaScript error in the edit box as well. The moment I first click in it

Current Project: Retro Compo. Entry.
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 18th Mar 2003 20:13
The line "storeCaret(this)" appears to be causing the error. Are you using the SP1 version of IE 6.0 Rich?

My IE version is: 6.0.2800.1106.xpsp1.020828-1920IC

The error message is "Object Expected at line 1048" - which I presume means that it is not accepting "this" as an argument?

Current Project: Retro Compo. Entry.
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 18th Mar 2003 20:14
[Note the line changes depending on how I select the box]

Current Project: Retro Compo. Entry.
Martyn Pittuck
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United Kingdom
Posted: 18th Mar 2003 20:14
i repeat

The lines have no beggining or end, so java not work

Thats why...

The Outside is a evil place to be, too much light, too much noise and too many distractions....
I went outside once and my FPS rate dropped to 5.
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 18th Mar 2003 20:17 Edited at: 18th Mar 2003 20:18
OK, just checked in Opera 7.0 and that works fine.

Rich - What does the storeCaret function do anyway?

I guess that IE is a bit picky.

Current Project: Retro Compo. Entry.
lcfcfan
21
Years of Service
User Offline
Joined: 19th Feb 2003
Location: North East, UK
Posted: 18th Mar 2003 20:36 Edited at: 18th Mar 2003 20:37
"Slaps speed horn back"

oh yeah cool

2ghz, ati radeon mobility 32mb DDR, 30gb, 256mb DDR ram, Win Xp
Richard Davey
Retired Moderator
22
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 18th Mar 2003 21:27
Okay! I have made some serious updates here. The JavaScript was removed entirely and replaced, enhanced and made a lot more stable. A few new buttons are added, some cosmetic changes and generally it should no longer be IE only (and more importantly should stop the previous script error for whoever had it).

Quick link test: http://www.yahoo.com (this should now open in a new window).

Quick in-line image text:

Click a button once to open the tag and again to close it. Or high-light the text and click the button.

You can combine them:



Room Demo


Cheers,

Rich

"Gentlemen, we are about to short-circuit the Universe!"
DB Team / Atari ST / DarkForge / Retro Gaming
andrew11
21
Years of Service
User Offline
Joined: 23rd Feb 2003
Location: United States
Posted: 18th Mar 2003 22:17 Edited at: 18th Mar 2003 22:17
Test

"All programmers are playwrights and all computers are lousy actors."
-Anon.
spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 18th Mar 2003 22:25
rich, not bad - nearly there!

Still a small problem, but only with the bold, underline and italic buttons.

Tested in IE6 and Netscape 6.2 and they either throw a script error about document.ApolloForm.b or u or i or the buttons don't appear to do anything!

They do work sometimes though (I think in edit post mode)

All the other buttons work perfectly as far as I can tell.

Sorry to be a nuisance but better to fix it whilst it's still in your head!!

Gronda, Gronda
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 18th Mar 2003 23:41
I think Rich sounds a bit miffed - Still the new updates are excellent - working A-OK now

Current Project: Retro Compo. Entry.
Easily Confused
22
Years of Service
User Offline
Joined: 22nd Oct 2002
Location: U.K. Earth. (turn right at Venus)
Posted: 19th Mar 2003 00:15 Edited at: 19th Mar 2003 00:17
Then he's not going to like me very much...ahem!

Just moving the mouse over the top row of buttons and "close all tags" produces an error (line 1289), and clicking a smilie will also produce an error (line 0 ???)

Nice idea, adding those smilies by the way

(edit) - The same errors appear on the edit page too.

Programming anything is an art, and you can't rush art.
Unless your name is Bob Ross, then you can do it in thirty minutes.
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 19th Mar 2003 00:33 Edited at: 19th Mar 2003 00:34
i dont get errors
(testing)

xxxpetratxxx
B. R. W
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 19th Mar 2003 00:34
cool it works

xxxpetratxxx
B. R. W
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 19th Mar 2003 00:36
@Rich
You could also add a strikeout tag for the text. <S> is the strikeout tag
i worked it out today

xxxpetratxxx
B. R. W

Login to post a reply

Server time is: 2024-11-22 18:58:31
Your offset time is: 2024-11-22 18:58:31