Delete profile fields for a member

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

Delete profile fields for a member

Post by jawwad20 » Sat Dec 30, 2017 9:31 am

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: 716
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 » Sat Dec 30, 2017 3:13 pm

<!-- 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
Jr. Extension Validator
Posts: 14324
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: Delete profile fields for a member

Post by david63 » 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.
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
jawwad20
Registered User
Posts: 13
Joined: Sat Oct 07, 2017 9:00 pm

Re: Delete profile fields for a member

Post by jawwad20 » Sat Dec 30, 2017 4:08 pm

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
Jr. Extension Validator
Posts: 14324
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: Delete profile fields for a member

Post by david63 » Sat Dec 30, 2017 4:10 pm

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!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
Sniper_E
Registered User
Posts: 716
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 » Sat Dec 30, 2017 4:35 pm

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
Registered User
Posts: 12530
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: Delete profile fields for a member

Post by 3Di » Sun Dec 31, 2017 3:09 am

All of this makes a nonsense to me. What am I missing here?
Want to compensate me for my interest? Donate
Please PM me only to request paid works. Thx.
Extensions, Scripts, MOD porting, Update/Upgrades
My development's activity º PhpStorm's proud user

Post Reply

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

Who is online

Users browsing this forum: No registered users and 7 guests