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)
Scam Warning
Post Reply
matrixer
Registered User
Posts: 45
Joined: Tue Mar 01, 2016 5:37 pm

Hide Zebra Buttons on Admins profile

Post by matrixer »

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: 2096
Joined: Thu Sep 08, 2011 4:16 am
Location: Germany
Name: Frank Jakobs
Contact:

Re: Hide Zebra Buttons on Admins profile

Post by canonknipser »

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 »

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: 2096
Joined: Thu Sep 08, 2011 4:16 am
Location: Germany
Name: Frank Jakobs
Contact:

Re: Hide Zebra Buttons on Admins profile

Post by canonknipser »

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: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: Hide Zebra Buttons on Admins profile

Post by david63 »

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!

I now no longer support any of my extensions but they will start to become available here
matrixer
Registered User
Posts: 45
Joined: Tue Mar 01, 2016 5:37 pm

Re: Hide Zebra Buttons on Admins profile

Post by matrixer »

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: 6676
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 »

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 »

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”