![]() |
| Register | Login | |||||
|
Main
| Memberlist
| Active users
| Calendar
| Chat
| Online users Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album |
|
| | |||
| Acmlm's Board - I3 Archive - - Posts by DarkSlaya |
| Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
| User | Post | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
DarkSlaya![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 930 Gamma Ray Since: 11-17-05 From: Montreal, Canada Last post: 5908 days Last view: 5908 days |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Originally posted by Alastor the Stylish Actually, no. Stupid people generally aren't able to figure out that kind of stuff, or so it seems. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
(restricted)|
DarkSlaya |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 930 Gamma Ray Since: 11-17-05 From: Montreal, Canada Last post: 5908 days Last view: 5908 days
|
Originally posted by Cirvante The fact that it's in a nearly dead forum doesn't help, really. (restricted) |
DarkSlaya |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 930 Gamma Ray Since: 11-17-05 From: Montreal, Canada Last post: 5908 days Last view: 5908 days
|
So I've got a function:
|
function dosostuff($arg) { $arg = preg_replace("'\[tag\](.*?)\[/tag\]'si", highlight_string('$1'), $arg); return $arg; } Now, highlight_string (in exemple, any other functions, like my own), doesn't do anything. How do I make it work (or any functions, in the preg_replace). EDIT: Ah. I'm retarded. I just read that hightlight_string doesn't return a string. And I forgot to put the return $stuff; in my other function. BUt still, so this thread isn't useless. How do I use hightlight_string in the preg_replace. EDIT 2: Nevermind, still doesn't change my stuff. The other function I call (if you haven't noticed) also change stuff. EDIT 3: It seems like the $1 is sent to the other function, not the actually value. (edited by DarkSlaya on 05-11-06 07:52 PM) (edited by DarkSlaya on 05-11-06 07:54 PM) (edited by DarkSlaya on 05-11-06 07:56 PM) (edited by DarkSlaya on 05-11-06 07:59 PM) (edited by DarkSlaya on 05-11-06 08:05 PM) (edited by DarkSlaya on 05-11-06 08:06 PM)
DarkSlaya |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 930 Gamma Ray Since: 11-17-05 From: Montreal, Canada Last post: 5908 days Last view: 5908 days
|
Actually, $1 and \\1 both work.
|
As for my first problem, I used the preg_replace_callback() function. Which worked. Actually got hightlight_string() to work, but for some reason it changes the font only to black. (probably my server) (edited by DarkSlaya on 05-12-06 07:38 AM)
DarkSlaya |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 930 Gamma Ray Since: 11-17-05 From: Montreal, Canada Last post: 5908 days Last view: 5908 days
|
I don't mind blood.
|
Because it doesn't taste much to me (probably because I'm really used to it)
DarkSlaya |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 930 Gamma Ray Since: 11-17-05 From: Montreal, Canada Last post: 5908 days Last view: 5908 days
|
And it's not like you can learn a language in a few days. |
(restricted) |
DarkSlaya |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 930 Gamma Ray Since: 11-17-05 From: Montreal, Canada Last post: 5908 days Last view: 5908 days
|
On the topic of stupid PMs, which was brought a few posts ago, I would like to say I've got the most stupid ever. |
DarkSlaya |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 930 Gamma Ray Since: 11-17-05 From: Montreal, Canada Last post: 5908 days Last view: 5908 days
|
Thanks. I actually forgot to put <?php and ?> in whatever I was trying to highlight. |
DarkSlaya |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 930 Gamma Ray Since: 11-17-05 From: Montreal, Canada Last post: 5908 days Last view: 5908 days
|
Aside from getting PMs from a guy who thought I was Val (on the old board), I got this one from Mack Dadday Mario 64:
|
Originally posted by Stupid I've got worse on the other board, thought. (edited by DarkSlaya on 05-13-06 06:48 AM) (edited by DarkSlaya on 05-13-06 06:48 AM) (edited by DarkSlaya on 05-13-06 06:49 AM) (restricted) | (restricted) | (restricted) | (restricted) | (restricted) |
DarkSlaya |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 930 Gamma Ray Since: 11-17-05 From: Montreal, Canada Last post: 5908 days Last view: 5908 days
|
First, I'd have to find at least a picture that's not against the rules.
|
But I have one that's not.
DarkSlaya |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 930 Gamma Ray Since: 11-17-05 From: Montreal, Canada Last post: 5908 days Last view: 5908 days
|
Originally posted by HyperMackerel No. Well.....yes.
DarkSlaya |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 930 Gamma Ray Since: 11-17-05 From: Montreal, Canada Last post: 5908 days Last view: 5908 days
|
I'm gonna buy whatever doesn't cost me an arm (goodbye PS3) and has good games. |
| ||||||||||||||||||||||||||||||||
| Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
| Acmlm's Board - I3 Archive - - Posts by DarkSlaya |