The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
Quote:
Thanks Jaime |
#12
|
||||
|
||||
use this
<param name="pValue2" value="<?php if($userinfo['age'] < 18) echo "minor"; echo $vbulletin->userinfo[age];?>"> |
#13
|
|||
|
|||
Quote:
<param name="pValue2" value="<?php if($userinfo['age'] < 18) echo "minor"; else echo $userinfo[age];?>"> Jaime |
#14
|
||||
|
||||
I thought you want to echo the word "minor" along with the age if age is less than 18, so I wrote that.
anyways glad to see it's done. |
#15
|
|||
|
|||
This works great except for one thing. If someone has it set to Hide Age and Date of Birth in their profile on the message board, it says minor in the age profile field when they enter the chat room, even if their not a minor. Help in fixing this would be greatly appreciated.
Thank you! Jaime |
#16
|
||||
|
||||
then
PHP Code:
|
#17
|
|||
|
|||
Quote:
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|