Skip to content
Public Ticket #3754

What is the database's table name for recipe plugin?

Conversation thread

PenciDesign replied

Staff Reply

Hi,

When a user make a rating, the total rating will updated in database. And cookie will detect that user and disable rating from that user for the posts that user reviewed.

Best Regards,

PenciDesign

Shlomi Asaf replied

Customer Reply

Ofcourse I know what are cookies :) I´m a client side developer with 15 years of experience. 

\

I just wanted to understand whats the relation between a client side cookie and a rating that are saved in database

PenciDesign replied

Staff Reply

Hi,

You can check more about cookie here

Best Regards,

PenciDesign

Shlomi Asaf replied

Customer Reply

Hey Penci; Thanks again for responding fast for me.

What does it means? The rating is based on cookies? Can you explain that for me a little, how the workflow works?

PenciDesign replied

Staff Reply

Hi,

No - the ratings will based on your cookies. You don't need comment for rating.

Seem your issues caused by you've use a plugin create a cached for your HTML. Actually, it worked, but the cache showing the HTML has cached. Let's try clearly the cache and try again.

Best Regards,

PenciDesign

Shlomi Asaf replied

Customer Reply

Another question Penci; How does the ratings work? Are they depended on a comment the user must leave? I noticed that when I rate a recipe and refresh the page, the rating doesn´t stay.

PenciDesign replied

Staff Reply

Hi,

To do that, I think you should hire someone to help you move your old data to new data. It maybe can take one day for done. It's not easy to I can write heresmile.png

Best Regards,

PenciDesign

Shlomi Asaf replied

Customer Reply

In your opinion, what can be my easy way to sync the data from my old plugin (easy recipe)?

The Plugin creator wrote me this: 

There is no separate database table for EasyRecipe recipes.  All the data is embedded in the recipe HTML using https://schema.org/Recipe markup.  Rating values are stored  in the commentmeta table with a row for every comment where the commenter left a rating, using the meta_key ERRating. The meta_value of each of those rows is the rating left by the commenter.

PenciDesign replied

Staff Reply

Hi,

We've saved recipe data of posts for post meta of that posts - that's  wp_postmeta table

Best Regards,

PenciDesign

Shlomi Asaf started the conversation

Conversation Start

I want to copy the values from my old recipe plugin to yours. I need to do so in order to update the votes of all the votes I received till now.

Thank you

Want to join this conversation or access attachments? Sign in first.