I was able to add two custom fields to the member profile page and it works great. I tried adding the same fields to the admin page but it does not save - add_member_view.php
Can you provide me with information on how to do this?
Thanks,
Ray
Support Forum for Tips and Tricks HQ Products
I was able to add two custom fields to the member profile page and it works great. I tried adding the same fields to the admin page but it does not save - add_member_view.php
Can you provide me with information on how to do this?
Thanks,
Ray
I bet this topic will go unanswered
No topic related to product issue goes unanswered in this forum. Please read the following two posts:
http://www.tipsandtricks-hq.com/forum/topic/how-to-get-help-please-read
http://www.tipsandtricks-hq.com/forum/topic/forum-rules
So you have manually modified the plugin code to your customization and you want us to fix your coding issues?
I see that you provide great information about this forum. Please don't take this the wrong way, be nice. I tried for a very long time to do this before I decided to bother you. I said that I do not want you to fix it. I just was asking for some information on how to do this. At first I tried to use the Extra field without modifying the code and it did not allow me to save the data. I then search this forum about the extra field and found nothing to help me. So I then decided to add the two fields. No
luck so I contacted you for help. If this is too much of a problem for you to answer please say so and I will not bother you again.
I was planning on buying more copies but I guess I better wait.
Thanks
I don't want you to get the wrong idea either. Let me just tell you that I wouldn't have thousands of satisfying customers if I weren't helpful to my customers.
The forum moderators and myself try our best to reply to every forum thread within 24 hours (it's not an easy job when you have thousands of customers). Now, when I see someone posting a comment and within two hours there is another insulting comment it gives me the following messages:
1) You are trying to jump the queue by drawing attention.
2) You are trying to upset my forum moderators.
3) You haven't read the forum rules post.
All of the above goes against me being able to run the forum efficiently. This in turn will result in failing to help the greater mass of my customers and I can't let that happen.
I hope the above makes sense.
Can you please answer the following questions so I can give you some guidance?
a) How are you using custom fields to save the data for member profile?
b) What data are you saving?
c) What functionality do you want out of this?
My purpose is none of the reasons you mention but it just that I was frustrated because I could not find a way to do this so I'm sorry if I offended you. You have a great product and you have videos and documentation better then many other products out there. I research my products very carefully before I buy them and when I found yours it is the best of all I sampled. I will remain a customer and I plan to buy more as soon as I get past this subject. Now let me try to answer my need.
1. I created a field in mysql database and I added a custom field to the member administration page (add_member_view.php)
2. I'm saving data from the member administration page.
3. I need at least one custom field so that I can enter extra information about the members business (their bio).
Thanks you
Not a problem... when you say you created a field in the mysql database do you mean you added a new column to the already existing wp_eMember's member table? The name of the table I am referring to is "wp_eMember_members_tbl".
If you have done the above then the first thing we need to make sure is that this column is acttually getting created in the database. Have you verified this by going to your PHPMyAdmin and browsing the "wp_eMember_members_tbl" table from the wordpress database?
If the above is not the problem then the issue is most likely in the code that is being used to insert the value into the database. Can you please post the bit of code that you added (the code that's adding the value into the database after you hit the submit button)?
Yes I added a new column name minority_status to the already existing wp_eMember's member table
Yes I verified the the column minority_status is getting created.
The name of the field that I added to the code below is minority_status.
Code begins here:
[admin deleted code]
Looks like you have only modified the "view" so it's showing the field but the corresponding code that inserts the data into the database after the user clicks the submit button is missing.
You need to look in the "eMember_members_menu.php" file and check the following function:
function wp_eMember_add_memebers()
I am guessing you understand how the HTML form submissions work using HTTP POST.
Wow, perfect. It works. I'm now able to add additional information for my members.
Thank you very much!
You must log in to post.