I am very new to WordPress; I usually build my sites and web apps using HTML, JQuery, and PHP. This WordPress thing has thrown me for a loop. A little background: Another company has created a new website for us and they created it as a WordPress site. I have the files and WordPress database which is all installed on our servers.
I need to build a user authentication page for users to use to login and view another page. So how do I implement user authentication with WordPress, but not give users access to the WordPress administration, and have the page for the users ensure they're logged in? All of this needs to remain with the overall theme of the WordPress website.
Firstly, when creating WordPress user, you can decide their administration level there.
You can really rein-in your users using this plugin - http://wordpress.org/plugins/user-access-manager.
Now, if i'm not mis-interpreting what you're saying, you want to serve different content to certain users. Well, my friend. Fear not, that's where plugins are handy.
1.
http://wordpress.org/plugins/user-specific-content/ (select specific users by user name, or by role name who can view a specific post content or page content)
2.
http://wordpress.org/plugins/pagerestrict/ (restrict all, none, or certain pages/posts to logged in users only)
If you're unsure how to install, activate, or use the plugin. There are an abundance of youtube & written tutorials for you to utilize. P.S. Don't neglect the wordpress documentation, it's often very informative.
Related
I have a WordPress website that I use to introduce our Wedding company. I want to add the functionality that I can create/generate login credentials for each of my client. And when I give them the credentials and a url, they can login on that url using those credentials which can redirect them to a custom made page that displays only their photos/videos as a gallery.
Can you suggest how I can add this function to my site? Are there some plugins that can help me achieve this in free?
Thanks
I'd look into buddypress area for an MVP. At least you get decent profiles out of the box and can build some logic around private pages / communities there. Of course, it's totally possible to do with any membership plugin too, but they all are too bloated for my taste. Better try it with BuddyPress and then develop from scratch with the logic you want.
I am working on a admin page on a different sub domain.
e.g Main website - www.mydomain.com
Admin Website - admin.mydomain.com
Both websites have completely different themes because Admin Website will be running a customise theme, and will have additional backend features like accounting/CRM etc.
I'm currently running on 2 installations of wordpress and 2 databases. Main website is running a Reviews function and a Private Message function that allows me to write a review for a user, and send private message to user.
I log all reviews and private message in Main Website Database by using $wpdb->Insert
However, now, i want to let all these reviews and private message to be available to my user, and I want to let Admin Website and Main Website share same USER database (for the convenience of login and log out), because on the Admin website the user can change his personal information etc which will be reflected in the Main Website.
TLDR Version: How do I use 1 database for 2 installations and let both access get_post, get_usermeta, get_postmeta etc in their own installation?
I understand if share database i will have problem with the hyperlinks etc.
You need to create install WordPress multi sites and here is the link below,
http://codex.wordpress.org/Create_A_Network
Hope this will be helpful for you.
I'm developing a site that allows signed-in users to create blogs posts. There needs to be an option to make it either public or password protected. It's being designed to allow users to stay on the front end of the site, which is absolutely necessary. I'm currently using DJD Site Post, which gives other options for post visibility in the admin console. I'm open to any other plugin, even, as long as I can upload videos using that plugin. Any plugins, code snippets, or other items of interest I can use? Thanks!
Are you trying to create your own module for user submitted posts? If yes, then please consider using existing plugins for the same purpose. It will cut down your work to nothing.
Visit http://wordpress.org/plugins/front-end-publishing/
This plugin provides a new front-end publishing module for registered users, you can control if the post gets published immediately or not.
My client wants to have a Wordpress site with two separate types of users in mind. For each of these personas, different post content will be displayed to the user.
Currently, I'm using Query Wrangler to separate content. However, as far as I can tell, it does not have the ability to default to one persona and keep it throughout the site. It's essentially two separate sites I'm building, but with some shared content, which is what's making this difficult.
Are there any plugins or workarounds I can use to get the functionality I need?
I use custom templates along with this plugin to control what types of content my WP users see . http://themehybrid.com/plugins/members It allows you to create custom roles and check against those roles at anytime.
I have an existing PHP/MySQL application (non-WP). I'm showing bits and pieces of this application via iframes in a WP site. Right now the client has two admins; WP and my own custom admin and it's inconvenient for them.
What I want to achieve is to be able to show my custom admin inside WP. Every section of my admin is quite simple and with few controls so I don't mind doing a re-write to adapt this code to WP.
Having never really developed anything related to WordPress I need to know conceptually how to approach this. I don't need for code samples but rather the steps involved in all of this. Any gotchas from experienced WP developers are quite welcome too.
I think you can develop a WordPress plugin for your non-WP application.
Here's the approach I would try (you only say your app is quite simple, so I'm just assuming it's made of few pages/forms):
Create a plugin that leverage WP authentication
Show your app inside iframes in the WP admin panel
Change your app UI in order to match or use the WP admin panel one.
I did this in the past and having an iframe to be showed in the WP admin it's quite easy and users are happy to have just one authentication point.