Announcement

Collapse
No announcement yet.

Age Profile Field in Chat Room

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Age Profile Field in Chat Room

    I have RealChat integrated with Vbulletin and I'm trying to get my chat room to read profile information. I'm having a problem with getting the members age to read right.

    This is the code I use for the chat room and the gender and location work good, but age doesn't pull anything from Vbulletin. Where is says userinfo[age], I've also tried post[age]. Any help would be greatly appreciated.

    <param name="pLabel1" value="Gender:">
    <param name="pValue1" value="<?php echo $vbulletin->userinfo[field14];?>">
    <param name="pLabel2" value="Age:">
    <param name="pValue2" value="<?php echo $vbulletin->userinfo[age];?>">
    <param name="pLabel3" value="Location:">
    <param name="pValue3" value="<?php echo $vbulletin->userinfo[field2];?>">

    Thanks
    Jaime

  • #2
    I replied to your PM earlier. The age needs to be calculated from the birthday as you have discovered. Custom PHP code is required to do this. If you need help with custom PHP code then I recommend you post on www.vbulletin.org.

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...
    X