User Accnt PseudoCode

  • <b>Register</b> ( I get to be userID 271)

    Check UN & PW length with JS

    Check required fields with JS

    Post

    query UN & email for existing entry (use PGB code)

    IF UN or email,

    notify of existing accnt

    END IF

    check other required fields

    store entry

    send confirmation email with link

    when clicks on link:

    -set status to authorized

    -create obfuscated? user directory (based on un or id?)

    -set $userLevel-1 free


    <b>Login</b>

    Check UN & PW length with JS

    Post

    query UN & email for existing entry and errors (use PGB code)

    set session (or cookie) and userLevel


    <b>Profile</b>

    edit all fields? (username my affect user imgDir if obf un vice id)

    confirm pw when updating profile?

    should users be allowed to update profile or only admins?

    add admin comments field about user

    custom avatar (premium user) (upload, chk size/resize, rename (id/un))


    <b>Upgrade member level</b>

    select user level:

    recommended min amount

    verify amount, send to paypal

    return link sets upgrade level and subscription end date


    <b>VINs</b>

    how many images? upload/resize/rename to vin (chk indx)

    ident img for thumb, ident imgs for others to view in slide show (admin can see all)

    who can delete VIN images? (I think admin only)

    obfuscate dir?

    kars tbl => owners tble <= users tbl


    Post ads about VINs, view comments separately


    <b>User Levels</b>

    - visitors ($userLevel-0)

    -- stats, year totals (#/%)

    -- merchandise


    - free ($userLevel-1)

    -- register car (w/imgs)

    -- post trends (w/imgs?)

    -- basic (current) stats,

    -- view ads

    -- search trends like currently do, basic keyword search


    - basic ($userLevel-2) $10/yr (site access)

    -- img hosting (num/amt personal images?) 1mb

    -- post parts/kars,

    -- post personal for sale items? (vendors have to be premium member);

    -- stats by all data plate info

    contact other member

    -- advance search trend analysis, fields: price, condition (NOS, repro, restored, used working, used needs resto, parts), part num, year, part name, source (ebay, private, other), etc


    - premium ($userLevel-3) $35/yr (HiPo Club America)

    -- uL2+

    newsletter

    run stat queries with totals only, all @attrs and options, img list

    access user profiles with kar(s) slideshow,

    custom avatar (L2?)

    View kar slideshows

    Reduced merchandise price,

    contact other members by profile?,

    -- uL2 trends plus time and price range, auto calc avg price,


    - lifetime ($userLevel-4) $100

    -- same as $uL3 with end date set to 20yrs


    who gets free lifetime? $100+ donation, gene

    who gets ½$ lifetime? $50+ donation

    Who gets free premium?


    <b>Images</b>

    Image types: VINs, my parts, other’s parts

    Kars: rename with vin-indx-date, can compare img date against ad date to show imgs over time; put all vin images in VIN dir. Do we want to flag the data plate, buck tag, vin shot, build sheet images or check box in table for those? Check box would limit to one of each where indx-flag would allow multiple

    vin-indx-flag-date Flags could be bs,dp,bt, etc


    Parts: rename w/ part cat (pc) name-indx-date (for list or sep dir); pc not necessary for sep dir as dir is tied to post which is tied to pc but would make easier when view dirs to see what part is posted

    or postid-indx-date (posted allows you to limit images per post without sep tbl and dirs)

    Do we want to have tbl to store images for post or sort through list or create dir for each post?


    Site rename?

    271hp.org

    k-code.org (not K in mercury cars)


    500x3mb=1500mb so godaddy.com basic is a good start

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!