Skip to:
Content

Changeset 327


Ignore:
Timestamp:
10/13/05 02:04:18 (9 years ago)
Author:
matt
Message:

Hooks for extra fields

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/bb-templates/profile-edit.php

    r323 r327  
    2626<?php endif; ?> 
    2727</fieldset> 
     28 
     29<?php bb_do_action('extra_profile_info', $user); ?> 
     30 
    2831<?php if ( bb_current_user_can('edit_users') ) : $required = false; ?> 
    2932<fieldset> 
  • trunk/bb-templates/register.php

    r253 r327  
    4040</fieldset> 
    4141 
     42<?php bb_do_action('extra_profile_info', $user); ?> 
     43 
    4244<p class="submit"> 
    4345  <input type="submit" name="Submit" value="Register &raquo;" /> 
  • trunk/register.php

    r252 r327  
    3333            if ( strpos($key, 'user_') !== 0 && $$key !== '' ) 
    3434                bb_update_usermeta( $user_id, $key, $$key ); 
     35        bb_do_action('register_user', $user_id); 
    3536        require( BBPATH . 'bb-templates/register-success.php'); 
    3637        exit();  
Note: See TracChangeset for help on using the changeset viewer.