It is currently Mon Oct 16, 2017 5:44 pm

All times are UTC - 7 hours





Post new topic Reply to topic  [ 18 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: Fri Jun 11, 2010 5:15 am 
Offline
User avatar

Joined: Fri Nov 19, 2004 7:35 pm
Posts: 3940
So, you want something like a javascript enhanced Quote button that automatically uses the selected text when you click on the button?

_________________
Here come the fortune cookies! Here come the fortune cookies! They're wearing paper hats!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 11, 2010 5:19 am 
Offline
User avatar

Joined: Mon Sep 27, 2004 8:33 am
Posts: 3715
Location: Central Texas, USA
Uhhh, no. I could repeat what I've said a few times, but it's simpler to just refer you to the messages on the previous page. :)


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 11, 2010 5:29 am 
Offline

Joined: Sun Sep 19, 2004 11:12 pm
Posts: 19083
Location: NE Indiana, USA (NTSC)
Let me explain in a manner that someone implementing this feature could understand:

Before adding a post N to a topic, read the recent post R from the topic. If N begins with a [quote] element, let Q be the inner markup of this element. If Q = R, remove this [quote] element from N before writing it to the database. For more robustness, case-fold and remove whitespace from Q and R before comparing them.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 18 posts ]  Go to page Previous  1, 2

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group