Arkanor
|
|
« on: July 01, 2004, 05:14:58 PM » |
|
SS, there's a strikethrough tag here that I can't find on most other forums. It's Text here. It's an interesting tag, and I like the effects, but I can't figure out how to get it on another forum [where I am the root admin]. If you don't mind, what exactly is the code for that?
|
|
« Last Edit: July 01, 2004, 06:00:14 PM by RipperRoo »
|
Logged
|
Being a good example is hard. I’m trying to serve as a horrible warning instead.
|
|
|
FragMaster1972
|
|
« Reply #1 on: July 01, 2004, 05:31:59 PM » |
|
[/s]
|
|
« Last Edit: July 01, 2004, 06:00:27 PM by RipperRoo »
|
Logged
|
1 posts to [span style=\'font-size:30pt;line-height:100%\'][/s]BURSEG!!![/u][/size][/span][/b] "If you ever find yourself on the side of the Majority, it's time to pause and reflect." -Mark Twain[/color]
|
|
|
SS
|
|
« Reply #2 on: July 01, 2004, 05:50:26 PM » |
|
Frag, I think what he wants is the code to make it work, because strikethrough is something I added to the forum (which is why it aint on the toolbar).
Arkanor: I just found the bit where it does bold/etc, and added an extra line to do strikeout.
|
|
« Last Edit: July 01, 2004, 05:59:33 PM by RipperRoo »
|
Logged
|
Peter 'SpectralShadows' Boughton, Seeker of Perfection, BPsite Sitelord.
Till shade is gone, till water is gone, into the Shadow with teeth bared, screaming defiance with the last breath, to spit in the Sightblinder's eye on the Last Day.
|
|
|
FragMaster1972
|
|
« Reply #3 on: July 01, 2004, 05:51:33 PM » |
|
I wondered about that about 5 seconds after I hit the post button. This is why I should be sleeping right now.
|
|
« Last Edit: July 01, 2004, 06:11:19 PM by FragMaster1972 »
|
Logged
|
1 posts to [span style=\'font-size:30pt;line-height:100%\'][/s]BURSEG!!![/u][/size][/span][/b] "If you ever find yourself on the side of the Majority, it's time to pause and reflect." -Mark Twain[/color]
|
|
|
RipperRoo
|
|
« Reply #4 on: July 01, 2004, 06:00:58 PM » |
|
I sorted the thread out, its all strikeouts for you now.
|
|
|
Logged
|
"How could you be intimidated by a woman who had told you in dead seriousness that there were one hundred and seven different kisses, and ninety-three ways to touch a man's face with your hand?" --Min-- "Ohh my feet are getting hotter than a flame grilled otte
|
|
|
mole
|
|
« Reply #5 on: July 01, 2004, 06:03:21 PM » |
|
LOL doppy ...
|
|
|
Logged
|
Yiff Hunter says: and the last question do u get a sudden eye twicth and shudder wen i say :
CLEAN? RipperRoo says: yes Yiff Hunter says: rite ive declared u imorally peasant like
|
|
|
Arkanor
|
|
« Reply #6 on: July 01, 2004, 06:13:51 PM » |
|
Gee, thanks Ripper
Alright, thanks SS. That would probably be under board styles or somewhere in there.
|
|
« Last Edit: July 01, 2004, 06:17:05 PM by Arkanor »
|
Logged
|
Being a good example is hard. I’m trying to serve as a horrible warning instead.
|
|
|
SS
|
|
« Reply #7 on: July 01, 2004, 06:56:49 PM » |
|
It's in the actual source code - you need to edit one of the PHP files. The problem is finding which of the files. Aha, here it is. /sources/lib/post_parser.phpAround line 220: $txt = preg_replace( "#[b](.+?)[/b]#is", "<b></b>", $txt ); $txt = preg_replace( "#[i](.+?)[/i]#is", "<i></i>", $txt ); $txt = preg_replace( "#[u](.+?)[/u]#is", "<u></u>", $txt ); $txt = preg_replace( "#[s](.+?)[/s]#is", "<s></s>", $txt ); Then also at approximately line 450: $txt = preg_replace( "#<i>(.+?)</i>#is" , "[i][/i]" , $txt ); $txt = preg_replace( "#<b>(.+?)</b>#is" , "[b][/b]" , $txt ); $txt = preg_replace( "#<s>(.+?)</s>#is" , "[s][/s]" , $txt ); $txt = preg_replace( "#<u>(.+?)</u>#is" , "[u][/u]" , $txt ); You just need to add the two lines with <s> line in. There's probably a way to add a button for it too, but I couldn't be bothered looking for that.
|
|
|
Logged
|
Peter 'SpectralShadows' Boughton, Seeker of Perfection, BPsite Sitelord.
Till shade is gone, till water is gone, into the Shadow with teeth bared, screaming defiance with the last breath, to spit in the Sightblinder's eye on the Last Day.
|
|
|
Arkanor
|
|
« Reply #8 on: July 01, 2004, 07:09:48 PM » |
|
That's great. Thanks for the code, and I'll let you know if it works in a second.
|
|
|
Logged
|
Being a good example is hard. I’m trying to serve as a horrible warning instead.
|
|
|
SS
|
|
« Reply #9 on: July 01, 2004, 07:13:50 PM » |
|
Ok. Make sure you back up the existing file just incase you break things though.
|
|
|
Logged
|
Peter 'SpectralShadows' Boughton, Seeker of Perfection, BPsite Sitelord.
Till shade is gone, till water is gone, into the Shadow with teeth bared, screaming defiance with the last breath, to spit in the Sightblinder's eye on the Last Day.
|
|
|
Arkanor
|
|
« Reply #10 on: July 01, 2004, 07:17:10 PM » |
|
Crap. Invision (what I'm using for my board) won't let you modify the source code. In fact, I don't even think they give you the source code. Oh well.
|
|
|
Logged
|
Being a good example is hard. I’m trying to serve as a horrible warning instead.
|
|
|
SS
|
|
« Reply #11 on: July 01, 2004, 07:20:31 PM » |
|
Ah, you're using the free hosted version aren't you?
Yeah, there's not much you can do there. I suppose you could petition them to add strikeout abilities, pointing out that it's jsut a two line edit, but I dunno if they'd listen or not.
|
|
|
Logged
|
Peter 'SpectralShadows' Boughton, Seeker of Perfection, BPsite Sitelord.
Till shade is gone, till water is gone, into the Shadow with teeth bared, screaming defiance with the last breath, to spit in the Sightblinder's eye on the Last Day.
|
|
|
|