Search found 288 matches

by haravikk
Sun Jan 25, 2004 5:07 pm
Forum: Chit Chat
Topic: Tags within tags and preg_replace
Replies: 7
Views: 6512

Re: Tags within tags and preg_replace

From what I know of back referencing this PRCE expression should work:

Code: Select all

"'<switch([^>]*?)>.*?</switch\1>'si"
but it does not, it seems that PRCE notation isn't supporting the back referencing, is there a reason for this?
by haravikk
Sun Jan 25, 2004 3:37 pm
Forum: Chit Chat
Topic: Tags within tags and preg_replace
Replies: 7
Views: 6512

Tags within tags and preg_replace

Okay, I am suffering no end to this horrible PRCE notation stuff but this one is probably something simple that should be possible but is beyond me to do at the moment. I am trying to add switching capabilities to my site, now the system is very simple and the layout of a switch is as follows (note ...
by haravikk
Thu Jan 22, 2004 9:04 pm
Forum: Chit Chat
Topic: XHTML 1.0 Strict compliancy
Replies: 25
Views: 16229

Re: XHTML 1.0 Strict compliancy

Okay, now why would XHTML remove the "target" attribute in a link?
by haravikk
Thu Jan 22, 2004 8:48 pm
Forum: Chit Chat
Topic: XHTML 1.0 Strict compliancy
Replies: 25
Views: 16229

XHTML 1.0 Strict compliancy

Hey, I'm currently trying to make my site XHTML 1.0 Strict compliant but I make use of a lot of the attributes which are being made redundant which is going to cause trouble for me. Particularly I am unsure of the best replacement of the width attribute in the <td> tag, as well as the best replaceme...
by haravikk
Thu Jan 22, 2004 1:45 pm
Forum: [3.0/Olympus] New features discussion
Topic: Forum styles and user styles
Replies: 0
Views: 4892

Forum styles and user styles

Just curious about the feature that now lets forums have their own individual style. Basically, if a user choose a theme, will it override forum specific themes, or will forum specific themes always take priority? I'd try in my own CVS copy but I've fuzzed it, I'll clear it out and get it working ag...
by haravikk
Sat Jan 17, 2004 4:43 pm
Forum: Chit Chat
Topic: Smart adding of new lines in PHP
Replies: 20
Views: 15809

Re: Smart adding of new lines in PHP

i'm not sure you mean exactly, but mabye try <?php nl2br('whatever '); ?> The result is: whatever<br> as i said above, this may or may not do what you want it to do. :) Sorry but this is a very basic method as it simply replaces all linebreaks with <br /> regardless of what is on the line. I really...
by haravikk
Sat Jan 17, 2004 4:28 pm
Forum: [3.0/Olympus] Discussion
Topic: hmm...where are the forums?
Replies: 7
Views: 6904

Re: hmm...where are the forums?

I don't see this as a bug IMO, what if you're creating a secret forum? You don't really want everyone to see while you're setting up permissions, in an active board a tiny opening like this can mean loads of people seeing and speculating as to what it is for and so on. A simple on/off value when cre...
by haravikk
Sat Jan 17, 2004 11:47 am
Forum: [3.0/Olympus] Styling
Topic: I don't like the RECENTLY changed style for this board :(
Replies: 84
Views: 86944

Re: I don't like the RECENTLY changed style for this board :

Same with the "Joined:" info in the author column, could use a new line for the actual date.
by haravikk
Tue Jan 13, 2004 2:05 pm
Forum: [3.0/Olympus] Styling
Topic: I don't like the RECENTLY changed style for this board :(
Replies: 84
Views: 86944

Re: I don't like the RECENTLY changed style for this board :

Partly because I am an administrator of a large board (I actually take on a professional attitude when administering that board ;) ) and frequently use the buttons on the upper-right corner Well, it may take getting used to (I almost clicked the wrong one quoting you :P) but at the bottom is better...
by haravikk
Mon Jan 12, 2004 6:24 pm
Forum: [3.0/Olympus] Styling
Topic: I don't like the RECENTLY changed style for this board :(
Replies: 84
Views: 86944

Re: I don't like the RECENTLY changed style for this board :

I must say I really like a number of the changes, giving the Nav items ("Board Index » phpBB related » Styling in 2.2") their own clear box is nice, the narrower post information column for avatars makes things a little more efficient as well (though could use some centering). I actually d...