Suggestion for a future hack
Suggestion for a future hack
I searched and could not find. So I thought I'd post a little idea I had that seems like it should be fairly simple to implement.
When clicking the quote button for a message, all quoted [img] tags should be replaced wholesale for a [url] tags. That's all I ever do in a reply and if someone does need to quote the image they can always change them back again before submitting
In a small attempt to be useful I figured out the regexps needed (but they arn't even slightly complex)
Match string: (\[/?)img\]
Replace string: \1url]
When clicking the quote button for a message, all quoted [img] tags should be replaced wholesale for a [url] tags. That's all I ever do in a reply and if someone does need to quote the image they can always change them back again before submitting
In a small attempt to be useful I figured out the regexps needed (but they arn't even slightly complex)
Match string: (\[/?)img\]
Replace string: \1url]
- Martin Blank
- Knower of Things

- Posts: 12709
- Joined: Fri Feb 07, 2003 4:11 am
- Real Name: Jarrod Frates
- Gender: Male
- Location: Dallas, TX
- Contact:
This might be pretty simple to implement, actually... When the SQL query grabs the message text, it can run this on it to replace the aforementioned tags. I shall look into it shortly. It could be VERY useful in things like LAMEISP.
If I show up at your door, chances are you did something to bring me there.
- Ender_Wiggin
- Redshirt
- Posts: 3308
- Joined: Wed Jul 16, 2003 1:39 am
- Gender: Male
- Location: St. Louis, MO
- Ender_Wiggin
- Redshirt
- Posts: 3308
- Joined: Wed Jul 16, 2003 1:39 am
- Gender: Male
- Location: St. Louis, MO
- SothThe69th
- Redshirt
- Posts: 9622
- Joined: Thu Feb 27, 2003 4:16 am
- Location: Peeing off of the stairway to Heaven.
- Contact:
Negatory. I put all of 5 minutes into trying it while simunltaneously being on 4 hours of sleep about a week ago. I then promptly forgot about it until now.
SIG TREND OF THE MONTH IS BLANK SIGS BECAUSE I GOT LAZY AND DIDN'T MAKE THE THING AND STUFF.
"Soth, you truly exemplify the gallant, hopeless romantic.." Lunatic Jedi
"Soth, you truly exemplify the gallant, hopeless romantic.." Lunatic Jedi
- Ender_Wiggin
- Redshirt
- Posts: 3308
- Joined: Wed Jul 16, 2003 1:39 am
- Gender: Male
- Location: St. Louis, MO
[quote="Blaze";p="349414"][quote="Ender_Wiggin";p="349350"]Next one should be
Genuinely Surveyable Pictures Only Thread
...or something...
[/quote]
You sir, are a pervert an a genious.[/quote]
One of those I try at, the other comes naturally.
Genuinely Surveyable Pictures Only Thread
...or something...
You sir, are a pervert an a genious.[/quote]
One of those I try at, the other comes naturally.
Control is an Illusion - Days of Thunder
Drive fast, Take Chances, and Don't look back - A damn smart bartender
A lot of people worship Ender Wiggin - Rorschach
Drive fast, Take Chances, and Don't look back - A damn smart bartender
A lot of people worship Ender Wiggin - Rorschach
Who is online
Users browsing this forum: No registered users and 1 guest



