I have added a collumn to the 'Manage Validating' table in the Admin CP. And i would like it to show the data a user selects from a custom field drop down box during registration.
I know i have to add the code here (i think):
//===========================================================================
// Member: validating
//===========================================================================
function member_validating_row( $r="" ) {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<tr>
<td class='tablerow2'><a href='{$this->ipsclass->vars['board_url']}/index.php?showuser={$r['id']}'><strong>{$r['members_display_name']}</strong></a>{$r['_coppa']}<div class='desctext'>IP: <a href='{$this->ipsclass->base_url}§ion=content&act=mtools&code=learnip&ip={$r['ip_address']}'>{$r['ip_address']}</a></div></td>
<td class='tablerow1'>{$r['email']}</td>
<td class='tablerow1'><span style='color:green'>{$r['_where']}</span><br />{$r['_entry']}<div class='desctext'>{$r['_days']} days and {$r['_rhours']} hours ago</div></td>
<td class='tablerow1' align='center'>{$r['posts']}</td>
<td class='tablerow1'>{$r['_joined']}</td>
<td class='tablerow1' align='center'><input type='checkbox' id="mid_{$r['member_id']}" name='mid_{$r['member_id']}' value='1' /></td>
</tr>
EOF;
//--endhtml--//
return $IPBHTML;
}And that it must be:
<td class='tablerow1' align='center'>some code goes here</td>
And that the custom field is:
cm_field_8
I just dont know how to add the code that will call the data for that custom field.
Any help would be great!
Thank you

Sign In
Register
Help


Bookmark
Del.icio.us
Digg
Email
Facebook
Google
Mixx
Reddit
StumbleUpon
MultiQuote