Viewing 3 replies - 1 through 3 (of 3 total)
  • The way that I’ve done this in teh past is to have a page set up that has it’s content automatically stripped and changed to the members area functionality. It’s (relatively) easy to do with a few filters or using shortcodes.

    You also should use the standard WordPres ssession handling – there’s no reason to re-invent the wheel here. WordPress has a whole heap of functions for checking if a user is activ,e checking which user it is, etc.

    As for storing your data, how you do it will depend on the type of data that’s being stored. Most cases will work well with a new custom post type as that will let you display everything in the WordPress way, but if you need something that’s more like statstics it could be better off in it’s own table. Not difiniative I know, but there’s no one-size-fits-all solution for that question.

    Oh, and for “worst joke ever”… Not even close. 😉 What about this:

    Q. What’s red and sits in the corner?

    A. A naughty strawberry.

    Thread Starter mashwebdesign

    (@mashwebdesign)

    Haha, cheers mate really helpful. One question i do have is this.

    I understand that their are WordPress functions to check if the users are logged in. However If i store their registration data inside the WordPress wp_users table then surly they would be able to log into the backend of WordPress, which i definitely don’t want.

    If i store user data in a seperate table i have created myself i suppose i can’t use WP built in functions to check if a user is logged in?

    There’s nothing to worry about with users logging into the back-end – as long as you’ve set them up as the correct user level. In most cases this will be ‘Subscriber’ which most installations default to. Anyone like that has a very limited range of options in the admin area, so they can’t do anything even if they do find out how to get to the admin area.

    If you’re concerned, set yourself up with a new subscriber account, and see what that lets you do. I’ll guarantee that it’s a whole lot less then you thought it was.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘A Separate Custom Admin Panel’ is closed to new replies.