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.
Related
My team and I are currently developing WordPress using Elementor as the theme builder. Every member of the team will use their laptop/PC to develop. Because we using Elementor, any changes that occur will immediately change the data in our database. If we just upload our database to the server, obviously it will keep overwriting previous changes. Is there any best practice to develop WordPress using Elementor in order to avoid this kind of risk?
Thank you guys :)
Why don't you work directly online with several administrators? If someone is modifying a page, Wordpress will ask you if you want to take the lead on it (and overwrite previous changes from your colleagues)
Moreover, you can still define draft pages so you won't affect the live website and then, when it is ready, you can switch for the new page!
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 have my site in wordpress which has a vbulletin forum now i want that when i create user in wordpress
it will automatically create user in vbulletin.
also when a user login with wordpress account it wil automatically login in vbulletin and able to post
(maintaining session between wp to vbulletin)
i have tried a plugin says "VBsso" bt it work vice vrsa..:( it will integrate vbulletin users to wordpress means i have to create vbulletin user and have to login in vbulletin bt i dont want that...:(
i need wp to vb ..
plzz suggest me some plugin or some code or the way how to do that...??
any idea or suggestion will helps me a lot..thanks in advance
You can give a try to obscureclouddon's mod, as an alternative to vbSSO.
(an other link here)
It seems to be a good choice, since it has features you need :
WordPress->vB features:
*Registration sync – new users created on WP are automatically created on vB
vBulletin ->Wordpress features NEW
*Registration sync – new users created on vB are automatically created on WP
The bad things are :
this modification is in beta stage
free version has limited features, the pro version is, IMHO, expensive... (but it could worth the cost..)
Recently I have stumbled upon a situation in Joomla 3.1.1 where I need to add a custom field attached with default registration form.
I surfed the existing resources which say that I should navigate to
joomla_root/components/com_users/models/forms/registration.xml and then change the file accordingly.
I have done that but nothing is showing up. I also need to change registration.php in model and controller too. So, I need your inputs on how to do that. I can't use profile plugin or commercial extensions.
One more thing that I've noticed is the fact that changing registration.xml file and such things work perfectly fine in Joomla 2.5 but isn't working in 3.x.
Joomla ships with a user plugin called "profile" which may contain the fields you want to add already.
In the administrator go to extensions/plugins, filter by type and choose "user", then find the "Profile" and open it. Check out the options on the right handside, enable the plugin and voila.
Warning: most templates override the registration form and they usually don't fire the correct plugin events. If this is the case, your users will only see the "standard" fields in the registration. And if you set any fields as required in the plugin, they will not be registered, but redirected to the complete registration page (the user component), where they will find the fields they already filled in except for the passwords, which can be quite annoying.
If the "profile" fields are not sufficient, copy the profile plugin and build your own.
Do NOT modify the profile plugin or com_users files like you have done, this is Joomla core and will be overwritten when you next upgrade.
Eventually it turns out that the problem was a component called K2.I tried this custom registration stuff in joomla 2.5 and then suddenly thought how about disabling K2 System Plugin..It worked.
Im posting the steps to do so:
1.Navigate to joomla_root/components/com_users/models/forms/registration.xml and add a field there.
2.Then open up joomla_root/components/com_users/models/registration.php and then in the function register() change ur custom fields.
3.Don't forget to add a field in ur database table #_users which you have added in registration.xml
Depending on whether you needed the custom field to be added to the database or not, you could use a form building component such as RSForm!Pro or ChronoForms. They both can tie into the user registration system in Joomla and give you a lot of flexibility in custom emails, adding info to database tables, etc. This would insulate you from any core updates that could wipe out your modifications. I believe Chronoforms is free as long as you don't mind a link back to the developers in the form.
If you can't do that, I would make sure that I had a backup of the files that I modified handy before updating the site. Joomla 3.1.x is a short term build so you have a higher risk of those files getting changed than if you were working on a Joomla 2.5.x site.
I know very little of WP aside form it being a CMS geared towards (or started from) blogging, but may people have found the product capable of functioning as their sites CMS.
I was recently asked to write a PHP app to signup, (with email confirm and email notification to admin), login to make and manage orders. - so a user can register and get an email confirmation... once they are approved, they can log in, and place an order. and manage their information. There is also an admin section to manage the users and requests... ALL very straight ahead.
So I write it - and test it and everything is fine... Until the client tells me that it's going to be part of a WP site.
Problem, the client ONLY knows HTML, NOT PHP... I don't know WP.
When I upload a directory to the root - and try to run the app, I get redirect to /$url .. and a page not found displaying in the WP theme.
I have a feeling it has to do with the AUTH module I'm using... but there is a huge BIG PICTURE issue I need to conquer - how to integrate an existing PHP app into a WP site...
Q: how do I reference and use the WP emailing system?
thx - I know it's a broad question. but if someone can point me into a direction...
I have read the post regarding templates in WP and setting up a template with PHP code so it's executed... but it seems 'wrong' to have to create a template for each php page.
What your app is about ? If you got only the Auth module already coded you should only import user and password because WP does this out-of-the-box.
Wordpress can be twist up for your need but you need to do it in the WP way :).
If you want to add some functions to it check out the plugin library on wordpress.org. If you know wordpress and no plugin match your needs then the best way to go is writing your own plugin : https://codex.wordpress.org/Writing_a_Plugin
Or maybe just add your custom functions into functions.php, see https://codex.wordpress.org/Theme_Development#Functions_File
For pages, you basically have to type of it in WP : articles - i.e. blog posts - and the static pages. You can add some custom one check https://codex.wordpress.org/Post_Types
I know this answer is more a bunch of links but if you don't nothing about WP you should first learn how it works before try to hack it.
Hope it helps !