Jump to content
TNG Community

Control User Access in both TNG & Wordpress - with single user DB


KevyNC

Recommended Posts

Hello,

I want to be able control access on TNG and Wordpress -- I want to have only ONE user DB. The reason for this is mainly because I want to have forums and maybe a few other items that I wanted to restrict access to in the Wordpress pages. The majority of Wordpress items  will be public (other than forum).  The Majority of TNG items will be private/restricted to registered users.  I want to one sign-on for both TNG and Wordpress.  Wordpress is in my /root/  and TNG is in subfolder. Which I want to prevent access to TNG Php's by manipulating the URL's etc. I did use  Forum 10.x? on my older site, but I really would prefer a Wordpress Forum.

  • One option if there was a way to Wordpress to recognize the TNG users and access level and control access from the TNG users/ DB.
  • Second option  and might word better in the long run for both, is to use a Wordpress plugin to control access to both TNG and Wordpress.

My question is if anyone has tried and implemented either method -- what did you do, and why.  What were the challenges, pros, and cons?

Other thoughts, suggestions?

Thanks, Kevin

 

Link to comment
Share on other sites

You do not say whetherTNG and WP are integrated.

This is what I have done, for many years.

  • TNG and WP integrated using Mark Barnes method. Although I am seriously considering moving to KLOOSTERSMAN method.
  • I keep the 2 databases separate, keeping the users list identical.
  • I use wp plugin, Restrict Content by Role, to control access. This allows you to customize each page with conditional access.
  • My method is to grant subscriber privilages to new members and guests. Registered users are granted contributor role. Each page is customized to give access to a perticular role.
  • I also use a plugin,  Menu Items Visibility Control, to control who can see each individual menu item ( again subsciber, contributor, admin etc.)

Hope this gives you some ideas.

Link to comment
Share on other sites

@HeatherFeuer had a WordPress plugin that lets you have a single sign on I believe.

But it perhaps seems to be no more - the bookmark I saved to her Github page no longer works.

https://uniquelyyourshosting.net/how-to-integrate-wordpress-with-tng/

still exists - maybe contact her through that site.

Roger

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...