Register - Login
Views: 99805645
Main - Memberlist - Active users - Calendar - Wiki - IRC Chat - Online users
Ranks - Rules/FAQ - Stats - Latest Posts - Color Chart - Smilies
05-03-22 07:55:02 AM
Jul - Meta - Copy and paste link ... New poll - New thread - New reply
Next newer thread | Next older thread
SWR
Member
The board's only SMAS hacker! And a good one at that! ;)
Level: 29


Posts: 64/159
EXP: 147520
For next: 365

Since: 07-07-07

From: California

Since last post: 11.8 years
Last activity: 11.7 years

Posted on 10-01-07 02:11:50 AM Link | Quote



... can get very annoying.
How about when anyone posts a site w/o link, you make it clickable. Just a suggestion.

____________________


BlackNemesis13
1150
I am ***** but it's hard to pronounce, so you can call me Geno after the doll.
Level: 70


Posts: 22/1155
EXP: 2883829
For next: 131982

Since: 07-23-07

From: Columbus, Ohio

Since last post: 10.6 years
Last activity: 10.6 years

Posted on 10-01-07 03:53:20 AM Link | Quote
Firefox Linkification extension FTW
Xkeeper

Level: 263


Posts: 3183/25353
EXP: 297142019
For next: 1818434

Since: 07-03-07

Pronouns: they/them/????????

Since last post: 3 days
Last activity: 54 min.

Posted on 10-01-07 03:55:03 AM Link | Quote
Daily Cycle II ~ 3183
Originally posted by SWR
... can get very annoying.
How about when anyone posts a site w/o link, you make it clickable. Just a suggestion.

Go right ahead, while figuring out how to break it with all the other things.

____________________
(If you need to talk to me on AIM, PM me first, since I'll be off my regular account for at least a few hours, if not a few days)
Stats
Level 60
EXP: 29054/99650
Time: 89 days
Ranked at #1
 

(Download this)

 
Rena
I had one (1) message in Discord deleted and proceeded to make a huge, huge mess about how it was a violation of free speech and how moderators are supposed to be spam janitors and nobody should have the right to tell me not to talk about school shootings
Level: 135


Posts: 1184/5390
EXP: 29075651
For next: 259354

Since: 07-22-07

Pronouns: he/him/whatever
From: RSP Segment 6

Since last post: 342 days
Last activity: 342 days

Posted on 10-01-07 05:05:36 AM Link | Quote
JL2 - Post #1184 - 10-01-07 12:05:36 AM
Day 70, rank 7; Level 38 (12.8%)
4125/32194 (342378/370447)
GPP: 433; GT: 35.645
There's probably a better way to do this, but this is what immediately comes to mind:
find: "(http|ftp)://(.+)"
replace: "[\1]://\2"

find: ((http|ftp)://)(.+)\S
replace: <a href="\1\2">\1\2</a>

find: "\[(http|ftp)\]://(.+)"
replace: "\1://\2"

Include those quotes. That's the basic idea, more hacking would be required to not break non-quoted URLs in tags (which is icky and wrong and made of fail), and possibly relative URLs.

____________________
SWR
Member
The board's only SMAS hacker! And a good one at that! ;)
Level: 29


Posts: 65/159
EXP: 147520
For next: 365

Since: 07-07-07

From: California

Since last post: 11.8 years
Last activity: 11.7 years

Posted on 10-01-07 05:41:39 AM Link | Quote



Originally posted by Biospark
Originally posted by SWR
... can get very annoying.
How about when anyone posts a site w/o link, you make it clickable. Just a suggestion.

Go right ahead, while figuring out how to break it with all the other things.
I thought that was a reasoning, but I found it worth bringing up anyway.

____________________


Xkeeper

Level: 263


Posts: 3184/25353
EXP: 297142019
For next: 1818434

Since: 07-03-07

Pronouns: they/them/????????

Since last post: 3 days
Last activity: 54 min.

Posted on 10-01-07 06:04:16 AM Link | Quote
Daily Cycle II ~ 3184
Originally posted by HyperHacker
There's probably a better way to do this, but this is what immediately comes to mind:
find: "(http|ftp)://(.+)"
replace: "[\1]://\2"

find: ((http|ftp)://)(.+)\S
replace: <a href="\1\2">\1\2</a>

find: "\[(http|ftp)\]://(.+)"
replace: "\1://\2"

Include those quotes. That's the basic idea, more hacking would be required to not break non-quoted URLs in tags (which is icky and wrong and made of fail), and possibly relative URLs.

Then you trn into problems with already-linked [url] or <a href>...

____________________
(If you need to talk to me on AIM, PM me first, since I'll be off my regular account for at least a few hours, if not a few days)
Stats
Level 60
EXP: 30706/99650
Time: 89 days
Ranked at #1
 

(Download this)

 
Rena
I had one (1) message in Discord deleted and proceeded to make a huge, huge mess about how it was a violation of free speech and how moderators are supposed to be spam janitors and nobody should have the right to tell me not to talk about school shootings
Level: 135


Posts: 1188/5390
EXP: 29075651
For next: 259354

Since: 07-22-07

Pronouns: he/him/whatever
From: RSP Segment 6

Since last post: 342 days
Last activity: 342 days

Posted on 10-01-07 12:22:34 PM Link | Quote
JL2 - Post #1188 - 10-01-07 07:22:34 AM
Day 70, rank 7; Level 38 (20.5%)
6600/32194 (344853/370447)
GPP: 435; GT: 35.541
That's what #1 and #3 are for. Escape and unescape quoted URLs. Like I said it'd break tags that don't quote their attributes, but those suck anyway and I don't have time to fix it.

____________________
Xkeeper

Level: 263


Posts: 3197/25353
EXP: 297142019
For next: 1818434

Since: 07-03-07

Pronouns: they/them/????????

Since last post: 3 days
Last activity: 54 min.

Posted on 10-01-07 06:34:47 PM Link | Quote
Daily Cycle II ~ 3197
Originally posted by HyperHacker
That's what #1 and #3 are for. Escape and unescape quoted URLs. Like I said it'd break tags that don't quote their attributes, but those suck anyway and I don't have time to fix it.

Sorry, not implementing.

____________________
(If you need to talk to me on AIM, PM me first, since I'll be off my regular account for at least a few hours, if not a few days)
Stats
Level 60
EXP: 46112/99650
Time: 90 days
Ranked at #1
 

(Download this)

 
Lyskar
12210
-The Chaos within trumps the Chaos without-
Level: 192


Posts: 648/12211
EXP: 99321454
For next: 552117

Since: 07-03-07

From: 52-2-88-7

Since last post: 7.4 years
Last activity: 7.3 years

Posted on 10-02-07 05:25:29 AM; last edit by Metal_Man88 on 10-02-07 05:26 AM Link | Quote
10-01-07 11:25:29 PM
648 posts
90 days
Has too much free time

640
I prefer "Use <a href> you lazy bas**rd."

Seriously. How hard is it to type the whole a href thing?

____________________
How I can do a rom to pff???? -m@rio_luigi1Death to n00bs!
Drag
2640
Level: 99


Posts: 290/2641
EXP: 9990158
For next: 9842

Since: 07-03-07


Since last post: 4.2 years
Last activity: 3.4 years

Posted on 10-05-07 03:18:38 AM Link | Quote
Drag's Post #290
To be completely honest, whenever I see this, I edit the post and add [url] [/url] around the link.

That's just me though, it'd be easier if posters used that. I mean, it's easier than doing <a href, so unless you're too lazy to type 11 extra characters...

____________________
Eppy37
Banned
If you want back, get in touch.

Level: 144


Posts: 1489/6240
EXP: 36214684
For next: 495622

Since: 07-23-07

Pronouns: he/him
From: Boguslovania

Since last post: 3.0 years
Last activity: 255 days

Posted on 10-05-07 12:27:51 PM Link | Quote
Originally posted by Metal_Man88
I prefer "Use <a href> you lazy bas**rd."

Seriously. How hard is it to type the whole a href thing?


I can't even remember the whole <a href> tag. I prefer the easy


____________________
Reisen - "I see, well then, I'll be on my way..."
Sikieiki - "Ufufu, hold on a second. I want to say something to you."
Reisen - "Aah. Of course the Yama would..."
Sikieiki - "What is it? Are you saying that I'll be lecturing to no end?"

Komachi - "I won't show mercy if you're going to interrupt my laid-back work."

Sikieiki - "If I was the one in charge of judging you, ripping out your tongue would be your sentence."
Marisa - "Is that it? Maybe I should've prepared a spare tongue?"
Sikieiki - "Your second tongue will also be ripped out."

Sara - "Are you ignoring me?"
Reimu - "No way~, I just have to beat you up is all♪"

Cirno - "When I cool a frog it sleeps and doesn't wake up. Really fun."

Yumeko- "I'll cleanse you of your sins."
Mima- "I don't know, I just might commit a few more here..."

Deleted User
Collection of nobodies
Posted on 10-05-07 11:05:51 PM Link | Quote
Originally posted by Electrometer Prime
Originally posted by Metal_Man88
I prefer "Use you lazy bas**rd."

Seriously. How hard is it to type the whole a href thing?


I can't even remember the whole <a href> tag. I prefer the easy


That IS the whole tag ...
<a href="http://example.com">text</a>

____________________


===================
[Posted by NightKev]
Xkeeper

Level: 263


Posts: 3257/25353
EXP: 297142019
For next: 1818434

Since: 07-03-07

Pronouns: they/them/????????

Since last post: 3 days
Last activity: 54 min.

Posted on 10-06-07 12:10:07 AM Link | Quote
Daily Cycle II ~ 3257
[url]http://www.google.com/[/url]
[url=http://www.google.com]go here[/url]


____________________
(If you need to talk to me on AIM, PM me first, since I'll be off my regular account for at least a few hours, if not a few days)
Stats
Level 61
EXP: 35977/103818
Time: 94 days
Ranked at #1


(Download this)

Next newer thread | Next older thread
Jul - Meta - Copy and paste link ... New poll - New thread - New reply


Rusted Logic

Acmlmboard - commit 47be4dc [2021-08-23]
©2000-2022 Acmlm, Xkeeper, Kaito Sinclaire, et al.

28 database queries, 1 query cache hits.
Query execution time: 0.089381 seconds
Script execution time: 0.033870 seconds
Total render time: 0.123251 seconds