Forums

Am I Dumb? User Profile HELP!!! (4 posts)

  1. jimbobbubbajoe
    Member
    Posted 1 year ago #

    Hello Everyone,
    I'm an extreme WP newbie, but a seasoned PHP and SQL/MySQL Vet. I'm working on a WP site for a friend, and I am really stuck. I will give you the run down.
    His request was for two things.
    First, he wanted a whole bunch of new fields added to the "Users" table. So, that was to involve adding fields to the 'wp_users' table, and editing the wp-admin "adduser" and user-edit files/functions. After many hours of playing around with the core code, I finally realized that I really needed to store this info in the 'wp_usermeta' table. Long story short I now have that stuff working well.

    His next request is killing me. I thought it would be the easiest part(isn't that always the way?) He wants his page to be a members only page, meaning they need to sign in before seeing anything. Easy enough thanks to the "Members Only" plugin, which is working perfectly. The thought was that once the user has signed in, they would be able to edit their profile by clicking some kind of "Edit Profile" link.

    So my question is, is there a plugin to be able to add a link to my WP page, saying "Edit Profile", which would bring them to a custom profile page, which I could add these extra fields to? (throw another wrench in the question, he wants only some of the new fields to be editable by the user, the rest would only show up if the signed in user is an admin) I looked into the Cimy plugin, but it creates a whole new table, which I don't want.

    I apologize if this is a really stupid question. I have spent about an hour searching the web and this forum and haven't come across the answer yet.

    Any help is appreciated.

    Dan

  2. mikey1
    Member
    Posted 1 year ago #

    Hi there the easiest way to check this is to sign up yourself for a members account, and see what happens when you log in, once logged in you have access to your profile. I would also check out roles, as it will depend what role your new members have, as to what access they have. I always keep my members at subscriber level only, with permission to comment if logged in.
    Hope you get there.
    Mike.
    PS. Register plus is an interesting way of capturing more info on sign up.
    http://wordpress.org/extend/plugins/register-plus/

  3. jimbobbubbajoe
    Member
    Posted 1 year ago #

    Hi Mikey,
    Thanks for your response. I did notice that it brings the user to their profile at sign in, and that is part way to what I need, but not really. Maybe I can find another way around. Here's a different question that might get me going in a different direction. Currently, in the sites "Theme", there is only one link below the logo. It is "About", and links to a page that was built by someone else. Is there a way to add a link to that menu strip, and have it go to a new class/functions/all that fun stuff that I will build?

    Thanks again,
    Dan

  4. mikey1
    Member
    Posted 1 year ago #

    Hi again, it could depend on your theme, but I thought this plugin may help. A new link should go to your menu strip, when you create a new page. I thought this plugin may help in the mean time.
    http://wordpress.org/extend/plugins/page-links-to/
    hope you get there.
    mike.

Topic Closed

This topic has been closed to new replies.

About this Topic