I need help with wordpress

by leadz
14 replies
  • WEB DESIGN
  • |
Hi All,

I need help creating a page on wordpress that will function like this.

1. A user comes the site and is taken to a page with a unique form that he is expected to enter in his details to create a unique user account.

2. After filling and submitting the form, he is forwarded to a unique page that only him can see. This page can be edited by the admin and new information can be added to it.

The information that should be on this unique page for every users that creates an account will be

Text
Tables
images e.t.c

Is it possible to create a page like this on wordpress?

Can you give me a step by step instruction on how to set it up?

Thanks
#wordpress
  • Profile picture of the author r3p
    Yes it is possible with PHP and MySQL.
    {{ DiscussionBoard.errors[5853752].message }}
    • Profile picture of the author leadz
      Can you explain how?

      If it requires some plugin installation can you tell me which ones?
      {{ DiscussionBoard.errors[5853778].message }}
      • Profile picture of the author Rich Strauss
        Originally Posted by leadz View Post

        Can you explain how?

        If it requires some plugin installation can you tell me which ones?
        If it's just one post/page that you need to protect, then you can password protect it >> Content Visibility « WordPress Codex

        But then you will need to send the password to the new member, and for that you will need a plugin such as >> WordPress › SB Welcome Email Editor « WordPress Plugins

        If it is more posts/pages that you want to protect, then you will be better off with a membership plugin such as Digital Access Pass or Wishlist Member, both into which you can also integrate an autoresponder such as Aweber.
        {{ DiscussionBoard.errors[5853831].message }}
        • Profile picture of the author leadz
          I will try your suggestion out
          I only need a page per user.

          What about the sign up form?
          Any suggestion of a good plugin?
          {{ DiscussionBoard.errors[5854781].message }}
          • Profile picture of the author Rich Strauss
            Originally Posted by leadz View Post

            I will try your suggestion out
            I only need a page per user.

            What about the sign up form?
            Any suggestion of a good plugin?
            If you just need users to register, then you don't need a plugin, just go to your WordPress admin dashboard >> Settings >> General >> Membership >> Tick the box "Anyone can register" >> then send them to http://www.yoursite.com/wp-login.php?action=register

            I don't know what you want to do, but taking this opportunity to start building a list should be a smarter move, with a service such as Aweber as I mentioned.

            Do you need a page PER user, or one generic page for everybody?
            {{ DiscussionBoard.errors[5856016].message }}
            • Profile picture of the author leadz
              I need a page PER registered user.
              {{ DiscussionBoard.errors[5856090].message }}
              • Profile picture of the author Rich Strauss
                Originally Posted by leadz View Post

                I need a page PER registered user.
                I this case it then sounds like you will need to install WP as a multisite installation, each user will then have a whole blog to him/herself, but as far as I know it's the only way that you will be able to provide each user with a unique page.

                I have worked with multisite but how to make a page on each blog which is visible to only the user of that blog, I am not sure.

                It is hard/impossible to give you accurate advice if I don't know what you are aiming at.
                {{ DiscussionBoard.errors[5856587].message }}
                • Profile picture of the author leadz
                  Ok.

                  I will explain what i want to do using a fictitious example.

                  Lets just say I have a site with which I promote a link building service.
                  I want visitors who want me to build links for them to sign up using a form on my page. After signing up, I want each one of them to have their own page that they can log into and check on a daily basis how many links I have built for them and links to the places I built the links from.

                  So what am saying in essence is a page that I can paste information that is about a specific users to only that user. And can create as many users as I can with their own unique page that I can update.

                  Have I been able to explain it to you?
                  {{ DiscussionBoard.errors[5856826].message }}
                  • Profile picture of the author Rich Strauss
                    Originally Posted by leadz View Post

                    Ok.

                    I will explain what i want to do using a fictitious example.

                    Lets just say I have a site with which I promote a link building service.
                    I want visitors who want me to build links for them to sign up using a form on my page. After signing up, I want each one of them to have their own page that they can log into and check on a daily basis how many links I have built for them and links to the places I built the links from.

                    So what am saying in essence is a page that I can paste information that is about a specific users to only that user. And can create as many users as I can with their own unique page that I can update.

                    Have I been able to explain it to you?
                    Yes you explained it well

                    In that case it will cost some custom coding or a plugin, and Multisite is definitely overkill.

                    I started using this WP plugin for project management before, but it wasn't sufficient for my needs, it may be for yours, so have a look at it >> WordPress › Ndizi Project Management « WordPress Plugins
                    {{ DiscussionBoard.errors[5859398].message }}
  • Profile picture of the author r3p
    I'm not aware of any plugins and it is not a trivial thing to program that I could just tell you how to do.
    {{ DiscussionBoard.errors[5853805].message }}
  • Profile picture of the author Cataclysm1987
    I know a really good programmer that might be able to handle this for you if you are interested in outsourcing.

    PM me if you want his info.
    Signature

    No signature here today!

    {{ DiscussionBoard.errors[5856980].message }}
    • Profile picture of the author leadz
      Originally Posted by Cataclysm1987 View Post

      I know a really good programmer that might be able to handle this for you if you are interested in outsourcing.

      PM me if you want his info.
      Please make some effort to help me before you sell your service or that of your mate to me.
      {{ DiscussionBoard.errors[5857180].message }}
  • Profile picture of the author strangerstudios
    Leadz, some crazy suggestions so far. I'll try to give you some direction.

    If you want to custom code this, you can go about it this way:

    1. Hook into the user_register hook.
    Plugin API/Action Reference/user register « WordPress Codex

    2. Use the wp_insert_post function to add a post for the new user:
    Function Reference/wp insert post « WordPress Codex

    You'll want to lock down the page so others can't stumble upon it. So you can:
    3. Add post meta (call it "my_user_id" or something) with the user_id of the user the page was created for:
    Function Reference/update user meta « WordPress Codex

    4. Create a page template that checks that post meta against the current user. Something like this at the top of the template:
    ---
    global $post, $current_user;
    $page_user = get_post_meta($post->ID, "my_user_id", true);
    if($page_user != $current_user->ID)
    {
    wp_redirect(home_url()); //redirect them home
    exit;
    }
    ---

    When you create the page after the user registers, you'll have to set the template. Here's a note from the wp_insert_post Codex page:
    NOTE: The page_template key was removed from the $post table and is now located in the wp_postmeta table. To set the page template of a page, use update_post_meta instead with a meta key of _wp_page_template.

    Hope this helps.
    {{ DiscussionBoard.errors[5857276].message }}
  • Profile picture of the author Earnie Boyd
    Are you stuck on Wordpress? It sounds to me like you're wanting more of a support desk where the user opens a ticket for work and only that user can see the ticket. You update the ticket in progression until it is closed either by you or the user. Is that like what you want? I could use Drupal for something like that or perhaps another Open Source framework. I'm not too familiar with Wordpress these days but tend to think of it more of a blog tool.
    Signature
    {{ DiscussionBoard.errors[5858179].message }}

Trending Topics