- This topic has 9 replies, 3 voices, and was last updated 13 years, 3 months ago by .
Viewing 10 posts - 1 through 10 (of 10 total)
Viewing 10 posts - 1 through 10 (of 10 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eMember › Add Phone Number to Member Directory
Is it possible to add the phone number to the member directory page?
You mean on the page that pops up when you click on a member?
No. On the page created with this shortcode: [wp_eMember_public_user_list:end]
We changed the implementation of the user directory listing feature slightly. Each member’s details view (when you click on a members username it brings up the details view) will show the fields that you specified in the “Edit Profile” form settings section. So if you are showing the “phone” field in the profile section then it will also be shown in the members details view from this user directory shortcode. Does that help you or you wanted to show the phone field inside the table where there are only 4 fields shown?
I’ve been asked by our membership to show the phone field inside the table in addition to the four current fields. Our group is composed of c-level executives. They want to look at the table and see the phone number when they want to call someone.
There is no option to show the phone field in the user directory table. The user directory table is embedded on a page so it can’t have too many columns due to the page width restriction. After several testing we found that 3 to 4 columns yields the best result.
Since it’s an absolute requirement for my membership, I’ll have to modify it myself or find another plugin that allows the option.
Using a plugin that offers this option by default would definitely be a better solution for you. I am never a big fan of hacking the code since it can cause other issues.
I ended up writing my own code to display the directory. I use the ThickBox functionality built into WordPress to display the popup user details. I no longer display userid on the page. I show name, email address and phone number. The email address is also hyperlinked with a “mailto” feature. If anyone wants the code or read how I did this, please visit my blog: http://wp.me/p1cwOP-bf.
Thank you for sharing your customization