Hide Zebra Buttons on Admins profile

Looking for an Extension? Have an Extension request? Post your request here for help. (Note: This forum is community supported; while there is an Extensions Development Team, said team does not dedicate itself to handling requests in this forum)
Suggested Hosts
Post Reply
matrixer
Registered User
Posts: 45
Joined: Tue Mar 01, 2016 5:37 pm

Hide Zebra Buttons on Admins profile

Post by matrixer » Mon Jul 25, 2016 11:40 am

Hi there,

Is there a way to hide the "Add Friend" and the "Add Foe" Buttons from the Admins Profile page?

Thanks for your inputs.
Last edited by Mick on Wed Jul 27, 2016 6:48 am, edited 1 time in total.
Reason: Moved from [3.1] support

User avatar
canonknipser
Registered User
Posts: 1995
Joined: Thu Sep 08, 2011 4:16 am
Location: Germany
Name: Frank Jakobs
Contact:

Re: Hide Zebra Buttons on Admins profile

Post by canonknipser » Tue Jul 26, 2016 7:49 pm

I'm not sure if enough information is given in the profile template data to identify if a users profile belongs to a mod or admin to use a template switch - then it is just a matter of styling. If not, then you need a extension (or code hacking aka mod, which is deprecated in 3.1-series).

Any special reason for your request? Nobody can ignore a admin (or a moderator) in the current implementation, so pressing the "foe"-Button gives a error message.
For a friend - why will you not allow to make a admin your friend? The "Friend"-Status is actually just a help to address PMs quicker. (And a admin as a friend is much better than a admin as a foe :twisted: )
Greetings, Frank
phpbb.de support team member
English is not my native language - no support via PM or mail
New arrival - Extensions and scripts for phpBB

matrixer
Registered User
Posts: 45
Joined: Tue Mar 01, 2016 5:37 pm

Re: Hide Zebra Buttons on Admins profile

Post by matrixer » Wed Jul 27, 2016 6:45 am

Hallöchen Canonknipser :-)

Thanks for your reply. Good points you made there...

I had another thought: The Site creator (often the one and only Admin) has just an FYI Profile... normally he (or in this case: I) has also a User Profile and I want my buddies to accept my profile as friend and ignore the admin account.. does this make sense?

User avatar
canonknipser
Registered User
Posts: 1995
Joined: Thu Sep 08, 2011 4:16 am
Location: Germany
Name: Frank Jakobs
Contact:

Re: Hide Zebra Buttons on Admins profile

Post by canonknipser » Wed Jul 27, 2016 8:15 am

OK, hope i got your point:
You have a special account (maybe the default account number 2) used only for administration purposes.
For any other activity you use a "normal" account and you won't receive PNs to your admin account

Just remove to "PM"-Permissions (set all to never) from the admin account - if he can't read PMs, you can't sent PMs to him.
Greetings, Frank
phpbb.de support team member
English is not my native language - no support via PM or mail
New arrival - Extensions and scripts for phpBB

User avatar
david63
Registered User
Posts: 16188
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: Hide Zebra Buttons on Admins profile

Post by david63 » Wed Jul 27, 2016 8:31 am

Just a thought that has come to me for this type of situation - I wonder if a PM "redirect" feature would work?

Me thinks an extension is coming on!
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

matrixer
Registered User
Posts: 45
Joined: Tue Mar 01, 2016 5:37 pm

Re: Hide Zebra Buttons on Admins profile

Post by matrixer » Wed Jul 27, 2016 10:30 am

This has already been done with the permissions...
Maybe this is not an issue on most sites, but I want exactly user ID=2 not to be seen as a user - more as an "about" page...

User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 3989
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: Hide Zebra Buttons on Admins profile

Post by HiFiKabin » Wed Jul 27, 2016 11:17 am

OOPS :oops: :oops: Please ignore

matrixer
Registered User
Posts: 45
Joined: Tue Mar 01, 2016 5:37 pm

Re: Hide Zebra Buttons on Admins profile

Post by matrixer » Tue Sep 06, 2016 3:29 pm

Can I bump this one?

Has anyone a solution how to hide stuff from the "Board Founder"?

Somthing Like:

<!-- IF you are viewing profile Nr. 2 -->
then hide stuff
<!-- else -->
show stuff
<!-- EndIF -->

Post Reply

Return to “Extension Requests”