This topic contains 10 replies, has 3 voices. Last updated by epsilonweb 4 years, 9 months ago.
Topic Author | Topic |
---|---|
Posted: Thursday Mar 1st, 2012 at 9:01 am #6884 | |
Hi, First I would like to mention how impressed I am with the S2member plugin. I tested the free version and was so pleased that I decided to buy the pro version even if I don’t need the extra features. My question is about how the labels of the custom profile fields (more specifically Select Menu or Checkboxes) are displayed on the Browse Members (or All users) admin page. For some reasons the option value are displayed as opposed to the option label for the Select Menu or Checkboxes. This is an issue when searching for users with specific custom profile fields. Searching the forum I came across a thread : Getting Custom Field values on the frontend I manage to extract the labels, but I would much appreciate a sanity check and suggestions on improving the robustness of the preg_match call.
Where I struggle a little more is how to best integrate that within the code of the users-list-in.inc.php file in order to replace the option value with the option labels. I think found the section where they are displayed, but I would much appreciate if you could suggest how it should be integrated.
Thank you in advance, |