Hide profile field from everyone but user

Looking for a MOD? Have a MOD request? Post here for help. (Note: This forum is community supported; phpBB does not have official MOD authors)
Scam Warning
Locked
Jhonne
Registered User
Posts: 21
Joined: Sat Feb 27, 2010 7:36 pm

Hide profile field from everyone but user

Post by Jhonne » Thu Apr 22, 2010 6:31 pm

I have a social network looking mod with a profile for each user. I want to put an "edit profile" button on the profile page fo each user. What I need is something that makes only the owner see the "edit profile" field on the profile page

Anyone can help me with this?

User avatar
MGadAllah
Registered User
Posts: 1055
Joined: Sat Sep 01, 2007 6:50 pm
Location: EGYPT - Cairo
Name: Mohamed GadAllah
Contact:

Re: Hide profile field from everyone but user

Post by MGadAllah » Sun Apr 25, 2010 6:57 pm

You can check permissions > Profile > Can view profiles, memberlist and online list.
Would you like to know more about ISLAM ?

trickoff
Registered User
Posts: 513
Joined: Mon Jan 07, 2008 12:23 am

Re: Hide profile field from everyone but user

Post by trickoff » Mon Apr 26, 2010 1:14 pm

Jhonne wrote:I have a social network looking mod with a profile for each user. I want to put an "edit profile" button on the profile page fo each user. What I need is something that makes only the owner see the "edit profile" field on the profile page

Anyone can help me with this?
Here you go:

In memberlist_view.html add:

Code: Select all

<!-- IF S_USER_LOGGED_IN -->
<!-- IF S_ZEBRA --><!-- ELSE --> Here you can place your "edit profile" text or image <!-- ENDIF -->
<!-- ENDIF -->

Locked

Return to “[3.0.x] MOD Requests”