Customizing SMF > SMF Coding Discussion
Help me write this code...
Marcus Forsberg:
Now *that's* what I'm talking about.
Liam_michael:
--- Quote from: Marcus Forsberg on April 04, 2012, 06:32:00 PM ---Now *that's* what I'm talking about.
--- End quote ---
It still didn't work, links are showing their normal color, and I parsed it correctly. :-\
Labradoodle-360:
Well even with that code, why use in_array();, why MAKE it an array if it's a single value...?
emanuele:
--- Quote from: Liam_michael on April 04, 2012, 09:10:07 PM ---
--- Quote from: Marcus Forsberg on April 04, 2012, 06:32:00 PM ---Now *that's* what I'm talking about.
--- End quote ---
It still didn't work, links are showing their normal color, and I parsed it correctly. :-\
--- End quote ---
The group you are looking for is the primary or an additional?
I worked in my test forum...
--- Quote from: Labradoodle-360 on April 04, 2012, 09:49:00 PM ---Well even with that code, why use in_array();, why MAKE it an array if it's a single value...?
--- End quote ---
Because the original question was:
--- Quote from: Liam_michael on March 09, 2012, 06:33:30 PM ---If the person who started the topic is in group 15 or 21, show the topic title in red.
--- End quote ---
so so extend ad in_array it's easier than put another $row == 2. ;D
Labradoodle-360:
If he does intend on adding more groups, definitely.
Navigation
[0] Message Index
[*] Previous page
Go to full version