Support

Home Forums Event Espresso Premium EE Database Questions

EE Database Questions

Posted: June 8, 2018 at 1:40 pm


Jarred

June 8, 2018 at 1:40 pm

Does EE utilize native WordPress custom post types for the events?

Second question
We are adding points reward system and login redirects and creating users automatically.

If they copy my site onto a staging site, what is the best option to move over all those customizations?

Would it be something like this>

They clone my live website, then make all the custom code customizations on staging site.

During the project, they make tedius notes of what line number, or databse table they had to edit to make the stuff work.

Then, at the end they will go back to the live website and make the changes there since it’s not a good idea to trasnfer or copy over the EE databse?

Third Question
What is Event Espresso best way of making customizations to Event esperesso and database without causing any errors to current database or damaging info?

Thanks,


Josh

  • Support Staff

June 8, 2018 at 2:19 pm

Does EE utilize native WordPress custom post types for the events?

Yes.

If they copy my site onto a staging site, what is the best option to move over all those customizations?

Use a tool like WP Migrate DB or [Duplicator] (https://wordpress.org/plugins/duplicator/)

Would it be something like this>
They clone my live website, then make all the custom code customizations on staging site.
During the project, they make tedius notes of what line number, or databse table they had to edit to make the stuff work.
Then, at the end they will go back to the live website and make the changes there since it’s not a good idea to trasnfer or copy over the EE databse?

Absolutely not! There is no need to make changes to the database tables. If they need a place to store data for the points system, for example, those could go into their own tables or they can use one of the _meta tables. I’m very curious why this question was asked because generally there is no need to alter tables to do customization work.

What is Event Espresso best way of making customizations to Event esperesso and database without causing any errors to current database or damaging info?

This bears repeating: Please do not make customizations to the database. Please also do not make customizations directly to the Event Espresso plugin.

The best way to make customizations related to PHP, HTML, JavaScript, and CSS is to use the WordPress plugin API and put the customizations into their own plugin. For example, one plugin could be for adding the points system, and another plugin could be for extending the user login functionality. Once these plugins are developed, tested, and ready for the live site the plugins can be deployed to the live site.

The support post ‘EE Database Questions’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Josh 4 months, 1 week ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!