Home › Forums › Plugin Support › Private Non-edit Display of User Profile for only the User
Tagged: private, user profile, view
- This topic has 12 replies, 3 voices, and was last updated 10 years, 3 months ago by STEVE.
-
AuthorPosts
-
August 6, 2014 at 6:33 am #6116August 6, 2014 at 7:55 pm #6134KhaledMember
Hi Steve,
For this, you can create two profile page. In one profile page (non-editable), use HTML field to show user’s date. You can use placeholder (e.g. %user_email%) to show user’s data.
On other profile page, you can use regular editable field.Thanks.
August 7, 2014 at 7:14 am #6138STEVEMemberHow exactly do I “use HTML field to show user’s data”?
Thanks.
August 11, 2014 at 12:30 pm #6151STEVEMemberA little help please. 🙂
August 11, 2014 at 2:09 pm #6152sourov aminMemberHi,
Make HTML field from Field Editor section of UMP. Write HTML code in Default Value box of the field. You can use placeholder to show user’s data.Like, if you want to show user email then use placeholder “%user_email%”. You can show any field’s data by using placeholder of the field.
These data will be shown as text and it will be non-editable.
Thanks.
August 13, 2014 at 11:00 am #6160STEVEMemberThanks. This works. But the Field name is not Left aligned as I selected. It only shows as a Top position. How can I correct this?
Also do you know what is the place holder to show a user’s role?
Finally, is there a list of place holders?
Thanks.
August 14, 2014 at 7:28 am #6168STEVEMemberAlso how can I do this with the Avatar or other image fields? I tried using this
<img src="/%user_avatar%" />
in the default value of the HTML field, but it didn’t work.August 14, 2014 at 6:23 pm #6176sourov aminMemberHi,
Placeholder to show user’s role is “%role%”.
User Placeholder:
%ID%, %user_login%, %user_email%, %password%, %display_name%, %first_name%, %last_name%.Custom Field’s placeholder:
%your_custom_user_meta_key%placeholder for avatar “%avatar%”. Just use this placeholder like others. Nothing else.
Thanks.
August 14, 2014 at 9:08 pm #6178STEVEMemberWhat about the field name alignment problem I mentioned? The Left alignment is not working.
August 15, 2014 at 6:40 am #6179STEVEMemberPlaceholder for user’s role, “%role%”, works. Thank you. Is there anyway to get it to capitalize the first letter of the role? Just for a more polished presentation?
Placeholder for user’s role, “%avatar%”, works. Thank you.
Placeholder for Custom Field’s, %your_custom_user_meta_key%, doesn’t work if the custom Field Type is “File Upload” and the file uploaded is an image. Instead it only shows the image’s path. For example, /uploads/files/Logo_494x164.png
Anyway to fix this?
Thanks.
August 18, 2014 at 4:20 am #6195STEVEMemberDon’t forget me guys. Still have unanswered questions in posts # 6178 & 6179 above.
Thanks. 🙂
August 18, 2014 at 6:00 am #6196STEVEMemberYou can ignore my question in post # 6178 above. I have gotten around this by using the Title Position setting of “Placeholder” in User Meta Pro’s Field Editor. Since this setting eliminates the Title all together I can then create my own Title header for the field and place it where ever I want via standard HTML.
So now I only need attention to my questions remaining in post # 6179.
Thanks. 🙂
August 18, 2014 at 7:13 pm #6201STEVEMemberOK guys.. I know I’m a pain in the @$$, but I have good news! LoL.
You can officially ignore me now because I have found workarounds for all the issues I had in question for the above posts.
Thanks for all your help!
-
AuthorPosts
- You must be logged in to reply to this topic.