Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I need to create a WP site which will have multiple subjects. Each subject will have multiple lessons and each lesson will have meta data like title, description etc etc. A User will be allowed to read some lessons and based on number of lessons read, he will be assigned some custom badges.
While showing any lesson, we should be able to show the list of users who have already read that lesson.
To get this done on WP, I am planning to use some Custom Content Type Plugin which I can use to create Subject, Lessons and the User Meta to store users action on any lesson. The Badges can also be made part of Users Meta.
The Problem I see are
I dont know any way to map Subjects to Lessons i.e while creating a new lesson, I should be able to map it to one subject (like we do node linking in Drupal )
I am not use if User meta table can be used to store many to many info like "XYZ user have read 25 lessons" and "ABC Lesson was read by 10 Users"
What should be the best design for this kind of Application.
cant you solve problem 1 with categories?
And if you save each 'read' in the usermeta with each lesson having an unique meta. You could just count those.
I dont know any way to map Subjects to Lessons i.e while creating a new lesson, I should be able to map it to one subject (like we do node linking in Drupal )
Why don't you set up the subjects as categories? Then when you create each lesson you can map it to the subject category.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
I am trying to figure out how to store user specific data in Wordpress. The user is supposed to insert their weight, the date and then be able to make multiple entries so that each entry can be presented in a table for that specific user.
I was wondering if this is possible to do through a plugin like JetEngine? And would this be possible to do through meta data or would I have to use something like Custom Content Type?
Thank you in advance.
There's two solutions for your problem.
Easy solution
Use a plugin like ACF with repeater add-on and create custom field for each kpi (weight, height, etc.) and for each add two sub field date and value.
House made solution
Create a json structure to be saved in the user meta which then decodes in php to show it in a table.
About this solution.
// The information return via $_POST
$weight=json_encode($_POST['weight']);
update_user_meta(get_current_user_id(),'weight',$weight)
// To show this information
$weight=json_decode(get_user_meta(get_current_user_id(),'weight',true);
// Create the table.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 4 years ago.
Improve this question
I'm currently going through the process of making sure my Woocommerce websites are compliant with the GDPR legislation coming into effect, May 25th. The default way Woocommerce works is that it stores every order in the database so customers are able to view their previous orders and the admins can process them.
My question is.. Should I introduce a way customers can delete their own orders? Or a maximum amount of time I hold onto these before automatically deleting?
Is there an industry standard for this?
Thanks in advance
What you're looking at is the right for no longer relevant data to be erased. Keep in mind this is different from the right to be forgotten. This does not need to be a programatic thing. Sites like Facebook and Google give a set of admin controls to do this so they don't need to process hundreds of thousands of users individually. The rules state 30 days from request.
A note in site terms on an email to contact to have your data deleted really should suffice. Again keep in mind it is legal to keep sales data, only specific data may be requested to be destroyed. This is paramount in an e-commerce environment.
There are WP plugins to allow users to delete their account but this may cause issues with WC.
A good place to start is with WooCommerces own blog post on the issue
https://woocommerce.com/2017/12/gdpr-compliance-woocommerce/
For full detail of the right of erasure check here
https://ico.org.uk/for-organisations/guide-to-the-general-data-protection-regulation-gdpr/individual-rights/right-to-erasure/
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
i'n trying to figure out, what's the best practice for building collections associated with user's data.(In terms of reactive, queries speed, or other.)
For example, what's better?
Meteor.Users.profile: {friends, likes, previous orders, locations, favorites, etc"}.
Or create additional collection to keep this data, for example:
Meteor.UserInfo.user{friends, locations, previous orders, etc").
Thanks.
Use the Users collection to store information about that user that isn't related to other collections. Typically this should be at the top level of the user document, not inside the profile. The only thing I'd expect to see in the profile is profile information (and not, for instance, a list of previous orders).
Things like previous orders shouldn't be there since you can just query the Orders collection to find them. For performance reasons it is sometimes useful to denormalise this data, but this should be an exception, not the rule.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
Question in Contact Form 7 wordpress, is there a way to get the emails inputted by the visitor from the database? are the emails save in the database? thank you guys.
Ramje,
Take a look at the following plugin:
http://wordpress.org/extend/plugins/contact-form-7-to-database-extension/
By default, when CF7 sends an email, the message is not stored to your database.
It seems that we have a plugin for storing Contact Form 7 information into DB made by the same team behind CF7. It's called Flamingo https://wordpress.org/plugins/flamingo/
I made a step by step guide of the plugin and also showcased a few other alternatives to it https://deliciousthemes.com/save-contact-form-7-submissions-to-database/
One of the Flamingo downsides is that it can't store attachments too. However, there are solutions.
Thanks!
You can use this plugin https://wordpress.org/plugins/contact-form-advanced-database/
It also has export and and search option at the backend.
I'm using this plugin (it costs $16): http://codecanyon.net/item/contact-form-7-database/14684587
You can export your emails (or any things) to csv file, maybe it can help you.
Hello Check out this New Plugin...! Its create input field as Column Name in Fields....!
https://wordpress.org/plugins/save-contact-form-7/
It help me out alot to update and add some field after form submission
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I'm creating a real estate site, where providers can promote their properties. Since it's nice for providers to see some statistics about clicks, views etc. I tought I use Google Analytics to track this stuff.
In blogger, you can enable Google Analytics and show statistics just for your blog. I'm wondering if it is possible to do it similar for the properties, so that property providers can see separated statistics for each of their properties.
Does Google Analytics have such a functionality? Or is Blogger just an exception because it belongs to Google?
Thx!
You have 2 options, at least in my mind:
Allow the user to input their own account number so that they can get data into their account for just their pages. If you do this, you'll need to make sure that you use different namespaces (see: tracker names) in order to allow for this.
Create profiles based off of the URL (if your URLs show what provider the property is for.) This is a lot more limited than option 1 because there is a hard limit to the number of profiles you can have and it requires you to manually add individuals to each profile.
If I were you, I'd go for option 1. Option 2 is a "last resort" option in my books, or if it is for very few providers (e.g. just a handful of friends as providers)