I'm sure this has been asked before though I can't seem to find a clear answer or clear direction on how to handle this. Would appreciate a point in the right direction.
I have an existing custom website/web app with about 7,500 current registered users in the database and I want to add a WordPress help forum. I have installed WordPress and a Q & A plugin in a help dir on my site. What's the best way to handle not having to use the wp databases?
I have played around a little and wrote a plugin that pulls my session/cookie data userinfo on the WordPress pages, can I somehow manually set or override the existing wp user_id and other vars so that when a new entry in entered it corresponds with my current database?
I'm also assuming I would need the register link to be changed to my site reg page as well as update WordPress somewhere so that it pulls names/emails of entries userid from my database.
Is this even the right way to handle this or is there a better way?
Related
I'm currently stuck with a problem regarding user authentication in Wordpress, and i think i need some guidance in how you would solve this. So any feedback is much appreciated.
First of all, my setup is pretty basic and i create pages and posts with ACF - I try to minimize the use of Wordpress plugins since 99% it brings a messy experience and functionality.
My question:
I want to create a simple Wordpress "application", where a user that is signed in:
Belongs to a Company.
Can only read assigned Reports (CPT).
Every page and post are restricted to logged in users only.
The users reports (CPT) is only shown in the frontend - a user (company) should not have access to wp-admin
I believe the easiest way to do this would be to make a multisite, creating a subdomain:
company.website.com/reports
My concern is that this would eventually create a lot of WP installations and if i update one of my Custom fields (ACF), i would need to update this on each installation.
How would you solve this issue? Would the subdomain be the right solution?
Thank you for helping out.
I am currently trying to build a website for a client using WordPress for a school project. The client requires a user system with a log in and storage of user permissions and information.I downloaded a plugin called Simple Membership because it had the best reviews for user membership plugins.
The biggest problem I am experiencing at the moment is the default contact information that comes with the plugin is not the information I wish to store. I need other fields to be stored. I am a developer so I first took a look at the code using FTP and made a few changes just to the registration form to show off to the client for the first iteration.
I have now been made aware that when updating the plugin all of my changes will be overridden. I am here to ask if there is an efficient way to make changes to a plugin without creating a new plugin(does not seem practical, I need to change the function of this plugin not just add to it). At the moment that is the only solution I am aware of. Can someone point me in the right direction?
It may not be the best solution but it's practical on your case.Take a backup of your formula plugin and re install it if a new update comes in.
I am working on a blog in the media front. I want to create two blogs under the same wordpress site in such a way that the session and the user base is common for the both and i even want to have the same url for both that is
www.example.com
for both. So is there a possibility to do that and as of now i have created two separate blogs under the same database but the issue is the session is separate for both and even the user base and even the url changes. So can someone help out with this. All i need is a little guidance and i can build upon it.
thanks
If you want two WordPress blog and one database for the user. You need to add following code into your both wp_config.php
define(CUSTOM_USER_TABLE,'wp_users');
define(CUSTOM_USER_META_TABLE,'wp_usermeta');
Also you need to Replace the wp_ with the prefix to what you want. You may see https://wordpress.org/support/topic/two-blogs-working-from-one-user-database for more help.
After providing an event calender with PHP/MySQL/HTML/CSS I want to use Wordpress for that project from now on. Account and data management will remain outside of wordpress scope.
My best idea so far is to populate the posts (or pages) entirely from the already existing db. The URLs would be created by apache's rewrite engine.
To use one post and populate just the content would lead to really bad SEO.
So I want to create (virtually) unique posts populated entirely from the db. Extensive research on that topic brought up nothing usable so far. Maybe someone could point me in the right direction?
Preferences:
using mod rewrite to create the pages urls from event /ID/title rather than using the timestamps to create posts
keeping the data editable via external admin panel (no copying into WP-DB)
head data of post / page must be populated from db, e.g. title, author, timestamp etc.
Suggestions would be much appreciated, thanks in advance.
Have you tried the plugin WP All import. It creates unique post such are car listing etc based on the external DB. I also allows you to style and format your post.
https://wordpress.org/plugins/wp-all-import/
I am a long time Wordpress user looking to use the tool as a CMS to generate a website which will have individual posts about hundreds of specs on products that I have stored in a backend MySQL table. Is there a plugin or a tool that will help me auto generate these posts? For each post, I would like it to have the same format of title (one column) so that the URL will look like: http://www.domain.com/product1specs etc. Each post will contain a description (another column) and show a graph (data stored in another column).
Or do I even need to create posts? Is there a way to do this dynamically? So if someone goes to www.domain.com/product1 than it will automatically look in the database to find out what it should display for product1?
I believe there are other ways to do this with an PHP framework such as Code Igniter but I would like to stick with Wordpress because I am familiar with it and have other Wordpress plugins/themes I would like to leverage.
Any tips would be greatly appreciated!
I don't know of a plugin but take a look at this answer which basically required the same thing:
How to migrate from Yii to Woocommerce Wp, Still keep to old database (table,rows)