Search found 179 matches

by electronerd
Sun Jan 18, 2004 10:23 pm
Forum: [3.0/Olympus] New features discussion
Topic: Karma
Replies: 33
Views: 26573

Re: Karma

I like my sig in a fixed-width font
by electronerd
Sun Jan 18, 2004 9:31 pm
Forum: [3.0/Olympus] New features discussion
Topic: Karma
Replies: 33
Views: 26573

Re: Karma

Your posts start getting hidden
by electronerd
Sat Jan 03, 2004 10:24 pm
Forum: Chit Chat
Topic: Smart adding of new lines in PHP
Replies: 20
Views: 15966

Re: Smart adding of new lines in PHP

Also, on your last one did the PHP parser remove the newline code? I added it in anyway because I didn't see anything that would obviously constitute a replacement (that I know of). yeah. hmm... it's weird. it shouldn't be matching like that. As far as a reference goes, the one I use is just the PH...
by electronerd
Sat Jan 03, 2004 10:12 pm
Forum: Chit Chat
Topic: Smart adding of new lines in PHP
Replies: 20
Views: 15966

Re: Smart adding of new lines in PHP

try

Code: Select all

<?php <?php <?php preg_replace('#([^>])(\s)*\ n#', '\\1<br />', $subject);
remember to take the space out of the \ n
by electronerd
Sat Jan 03, 2004 8:12 pm
Forum: Chit Chat
Topic: Smart adding of new lines in PHP
Replies: 20
Views: 15966

Re: Smart adding of new lines in PHP

or even better:

Code: Select all

<?php preg_replace('/[^>]\s*\ n/', '<br />', $subject);
by electronerd
Sat Jan 03, 2004 8:04 pm
Forum: Chit Chat
Topic: Smart adding of new lines in PHP
Replies: 20
Views: 15966

Re: Smart adding of new lines in PHP

Note that I have not tested this, but here's a try
note that I have a space between the \ and teh n. This is because the 2.2 parser is seriously b0rked right now

Code: Select all

<?php preg_replace('/[^>]\ n/', '<br />', $subject);
by electronerd
Thu Jan 01, 2004 12:21 am
Forum: [3.0/Olympus] Styling
Topic: Templating ... a simple guide
Replies: 164
Views: 419901

Re: Templating ... a simple guide

I just use the ol' standby: 'cat'

i.e.:

Code: Select all

cat > overall_header.tpl
<html>
blahblah...
^D
by electronerd
Fri Sep 05, 2003 11:14 pm
Forum: [3.0/Olympus] Discussion
Topic: phpBB 2.0 styles
Replies: 1
Views: 2720

Re: phpBB 2.0 styles

No.

See this thread
by electronerd
Wed Sep 03, 2003 10:59 pm
Forum: Chit Chat
Topic: Why?
Replies: 4
Views: 3717

Re: Why?

[quote="Anonymous":]PSSorry, for my bat Englsih P[/quote:]
I don't know how to fix the login problem, but let's just say that you write better english than many native english speakers!

/me scowls at those who write in n00bspeak


edit: and an edit bug too
by electronerd
Sun Aug 31, 2003 11:02 pm
Forum: Chit Chat
Topic: topsecret area51 word game
Replies: 1276
Views: 1120624

Re: topsecret area51 word game

script kiddies

(bad thing)