Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter nefastis

    (@nefastis)

    So, I searched by now some more files and:
    1. in ‘user-edit.php’ I’ve added:

    <?php _e('ICQ:') ?>
    <input type="text" name="icq" value="<?php echo $profileuser->icq ?>" />

    2. in ‘registration-functions.php’:

    update_usermeta( $user_id, 'icq', $icq );

    3. in ‘template-functions-author.php’:

    function get_the_author_icq() {
    global $authordata;
    return $authordata->icq;
    }

    function the_author_icq() {
    echo get_the_author_icq();
    }

    4. in ‘admin-functions.php’:

    if (isset ($_POST['icq']))
    $user->icq = wp_specialchars(trim($_POST['icq']));
    </strong

    5. in ‘profile.php’:

    <?php _e('ICQ:') ?>
    <input type="text" name="icq" value="<?php echo $profileuser->icq ?>" />
    </strong

    and icq# is now saved. Did I make everything right?

    Thread Starter nefastis

    (@nefastis)

    Works! tnx.

    You must uncomment a part of 10th line line in ./wp-content/themes/default/index.php:
    <!– by <?php the_author() ?> –>

Viewing 3 replies - 1 through 3 (of 3 total)