regarding custom profile field

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Scam Warning
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
User avatar
nims
Registered User
Posts: 310
Joined: Sun Aug 13, 2006 12:29 pm
Contact:

regarding custom profile field

Post by nims »

Is there a way I can make custom profile fields visible only to a particular group.
What I want to do is that only the "car buyers group" be able to see the contact details (custom profile field) of the "car sellers group". Other registered users should not be able to see this field.
Outsource content writing - Freelance Content Writers
*** Everything related to kids - Kids ***
SEO- search engine optimisation melbourne
Pony99CA
Registered User
Posts: 4783
Joined: Thu Sep 30, 2004 3:13 pm
Location: Hollister, CA
Name: Steve
Contact:

Re: regarding custom profile field

Post by Pony99CA »

nims wrote:Is there a way I can make custom profile fields visible only to a particular group.
What I want to do is that only the "car buyers group" be able to see the contact details (custom profile field) of the "car sellers group". Other registered users should not be able to see this field.
Not without a MOD. When you create a custom profile field, you didn't see any kind of "group" specification area, right?

I also didn't see any field_id column In the phpbb_groups table nor any group_id field in the phpbb_profile_fields table, and I think you'd have to have one or the other to have a relationship between the two.

Steve
Silicon Valley Pocket PC (http://www.svpocketpc.com)
Creator of manage_bots and spoof_user (ask me)
Need hosting for a small forum with full cPanel & MySQL access? Contact me or PM me.
marian0810
Former Team Member
Posts: 3011
Joined: Mon May 21, 2007 9:17 pm
Location: The Netherlands
Name: Marian
Contact:

Re: regarding custom profile field

Post by marian0810 »

You and me, time and space. You watch us run!
User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 51899
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: regarding custom profile field

Post by stevemaury »

Give me a screenshot of what it is you do not want seen by other groups so I know what template you are talking about.
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)
User avatar
nims
Registered User
Posts: 310
Joined: Sun Aug 13, 2006 12:29 pm
Contact:

Re: regarding custom profile field

Post by nims »

marian0810 wrote:Maybe this can help: http://www.sixstringmods.co.uk/viewtopic.php?f=20&t=327
Thanks for the link. I think it will be good for the time being.

Though I would like if we could have an option of choosing the visibility of custom profile field to selected groups while creating it.
stevemaury wrote:Give me a screenshot of what it is you do not want seen by other groups so I know what template you are talking about.
Its not about template. Its about functionality. I have a custom profile field named "phone number" that I want to be visible to only a certain group.
Outsource content writing - Freelance Content Writers
*** Everything related to kids - Kids ***
SEO- search engine optimisation melbourne
User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 51899
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: regarding custom profile field

Post by stevemaury »

But it is about template. The template displays the field. If you show me what display you are talking about, I can show you how to make a switch so it is only visible to a certain group (depending, perhaps, on how many custom fields you have).

But, whatever you wish.
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)
User avatar
nims
Registered User
Posts: 310
Joined: Sun Aug 13, 2006 12:29 pm
Contact:

Re: regarding custom profile field

Post by nims »

stevemaury wrote:But it is about template. The template displays the field. If you show me what display you are talking about, I can show you how to make a switch so it is only visible to a certain group (depending, perhaps, on how many custom fields you have).

But, whatever you wish.
I am sorry I was not able to understand your point.
I am using prosilver and as mentioned I want to display certain custom profile field only to a particular group.
I have various custom profile fields like Name, City, Phone. These profile fields are visible in viewtopic, memberlist and member profile pages. I want that the Phone field should only be visible to group named VIP.
Outsource content writing - Freelance Content Writers
*** Everything related to kids - Kids ***
SEO- search engine optimisation melbourne
User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 51899
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: regarding custom profile field

Post by stevemaury »

The easiest way to do it would be to give the VIP group a single moderator permission, like, say, Can change post author and then to check all the boxes in the Visibility options in the settings for the phone field.
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)
User avatar
nims
Registered User
Posts: 310
Joined: Sun Aug 13, 2006 12:29 pm
Contact:

Re: regarding custom profile field

Post by nims »

Can I use switch like IF_GROUP_VIP around custom profile field display in templates ?
Outsource content writing - Freelance Content Writers
*** Everything related to kids - Kids ***
SEO- search engine optimisation melbourne
User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 51899
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: regarding custom profile field

Post by stevemaury »

There is only one place where the template displays all custom fields, by default.
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)
User avatar
nims
Registered User
Posts: 310
Joined: Sun Aug 13, 2006 12:29 pm
Contact:

Re: regarding custom profile field

Post by nims »

I would like to know if there exists such a switch or not. If not how can I create it. A switch to check if user is a member of particular group or not.
Outsource content writing - Freelance Content Writers
*** Everything related to kids - Kids ***
SEO- search engine optimisation melbourne
marian0810
Former Team Member
Posts: 3011
Joined: Mon May 21, 2007 9:17 pm
Location: The Netherlands
Name: Marian
Contact:

Re: regarding custom profile field

Post by marian0810 »

I already gave you the link to that :?
You and me, time and space. You watch us run!
User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 51899
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: regarding custom profile field

Post by stevemaury »

For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)
Locked

Return to “[3.0.x] Support Forum”