FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » which files/files
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: which files/files [message #11793 is a reply to message #11762] Thu, 17 July 2003 16:52 Go to previous messageGo to previous message
esm2002 is currently offline  esm2002   United States
Messages: 339
Registered: May 2002
Location: Atlanta Georgia
Karma:
Senior Member
prottoss wrote on Wed, 16 July 2003 13:43

Well, FUDforum already has this functionality, simply set the acc_status field to 'P' instead of 'A'. And then any new accounts will need to be approved by the administrator before they become active. When logged in as an admin you'll have an indicator saying that you have X many accounts pending confirmation if there are any such accounts.


what about the following:
  $date02 = time();
  $q  = "INSERT INTO fud25_users SET
    login            = '$f[account_username]',
    alias            = '$f[account_username]',
    passwd           = 'md5($f[account_password])',
    name             = '$f[account_name]'
    email            = '$f[account_email]',
    displayemail     = 'Y',
    notify           = 'N',
    notify_method    = 'EMAIL',
    ignore_admin     = 'N',
    email_messages   = 'Y',
    pm_messages      = 'Y',
    avatar           = '0',
    avatar_location  = 'YES',
    avatar_approved  = 'NO',
    gender           = 'UNSPECIFIED',
    icq              = 'YES',
    aim              = 'YES',
    yahoo            = 'YES',
    msnm             = 'YES',
    jabber           = 'YES',
    affero           = 'YES',
    append_sig       = 'Y',
    show_sigs        = 'Y',
    show_avatars     = 'Y',
    post_ppg         = '0',
    time_zone        = 'America/New_York',
    bday             = '0',
    invisible_mode   = 'N',
    blocked          = 'N',
    email_conf       = 'N',
    conf_key         = '0',
    user_image       = 'YES',
    theme            = '0',
    coppa            = 'Y',
    posted_msg_count = '0',
    last_visit       = '0',
    referer_id       = '0',
    last_read        = '0',
    custom_status    = 'YES',
    sig              = 'YES',
    default_view     = 'tree',
    joindate         = '$date02',
    acc_status       = 'P',
    is_mod           = 'N',
    level_id         = '0',
    reset_key        = '0',
    u_last_post_id   = '0',
    home_page        = 'YES',
    bio              = 'YES',
    cat_collapse_status = 'YES',
    custom_color     = 'YES',
    buddy_list       = 'YES',
    ignore_list      = 'YES',
    group_leader_list = 'YES'";
  $db->query($q);



Gene
"The older I get, the more I admire competence, just simple competence in any field from adultery to zoology."
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Unanswered Posts
Next Topic: Importing Newsgroup and Mailinglist Problem
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 07 00:26:15 GMT 2024

Total time taken to generate the page: 0.04665 seconds