Delete profile fields for a member

For support and discussion related to templates, themes, and imagesets in phpBB 3.1.
Scam Warning
Locked
jawwad20
Registered User
Posts: 13
Joined: Sat Oct 07, 2017 9:00 pm

Delete profile fields for a member

Post by jawwad20 »

How I can do something like this?
Image
I used:

Code: Select all

<!-- IF S_USERNAME eq 'Jawwad' --><br />
Text<!-- ELSE -->Codes from viewtopic_body<!-- ENDIF -->
But, if another member it's connected on the forum, him sees profile fields. How I can do this for the all members on the forum?
User avatar
Sniper_E
Registered User
Posts: 1136
Joined: Wed May 09, 2007 12:18 am
Location: Shreveport, Louisiana
Name: Ed Humphrey
Contact:

Re: Delete profile fields for a member

Post by Sniper_E »

<!-- IF S_USERNAME == 'postrow.POST_AUTHOR_FULL' -->

This will show profile to everyone except for the author of the post.
Last edited by Sniper_E on Sat Dec 30, 2017 4:39 pm, edited 1 time in total.
Image . -.. / .... ..- -- .--. .... .-. . -.--
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!

:!: Sniper_E Styles | phpbbmodders :!:
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: Delete profile fields for a member

Post by david63 »

Forgive me for stating the obvious but if you do not want the profiles fields showing for any member then, if you are editing the template anyway, just remove those fields from the template.
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
jawwad20
Registered User
Posts: 13
Joined: Sat Oct 07, 2017 9:00 pm

Re: Delete profile fields for a member

Post by jawwad20 »

david63 wrote: Sat Dec 30, 2017 3:56 pm Forgive me for stating the obvious but if you do not want the profiles fields showing for any member then, if you are editing the template anyway, just remove those fields from the template.
I want to do this just for one member..
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: Delete profile fields for a member

Post by david63 »

But you said
jawwad20 wrote: Sat Dec 30, 2017 9:31 am How I can do this for the all members on the forum?
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
User avatar
Sniper_E
Registered User
Posts: 1136
Joined: Wed May 09, 2007 12:18 am
Location: Shreveport, Louisiana
Name: Ed Humphrey
Contact:

Re: Delete profile fields for a member

Post by Sniper_E »

Then to do that for just one member...

<!-- IF postrow.POST_AUTHOR_FULL == 'Jawwad' -->

Then no one will see Jawwad's profile info.
Image . -.. / .... ..- -- .--. .... .-. . -.--
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!

:!: Sniper_E Styles | phpbbmodders :!:
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco
Contact:

Re: Delete profile fields for a member

Post by 3Di »

All of this makes a nonsense to me. What am I missing here?
🆓 Free support for our extensions also provided here: phpBB Studio
🚀 Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades
Locked

Return to “[3.1.x] Styles Support & Discussion”