TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

April 30, 2024, 05:57:02 PM

Login with username, password and session length
Members
  • Total Members: 3,885
  • Latest: Growner
Stats
  • Total Posts: 195,174
  • Total Topics: 21,220
  • Online today: 147
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 1
  • Guests: 131
  • Total: 132
  • @rjen

Hide Panel/Block when logged in as Admin

Started by Pravi, August 12, 2016, 09:04:45 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Pravi

Hello guys,

     I want to hide the Panel only for admin. The "Hide panels when in admin section" in panel section seems to not working. Need a little help over here.


Thank you.

Link to my forum: http://pix2box.com
SMF version: 2.0.11
TP version: 1.2
Default Forum Language: English
Theme name and version: Redsy
Browser Name and Version: Chrome and firefox
Mods installed: Tiny portal (only)


illori

what type of panel are you wanting to hide?
where are you want it hidden?
that setting only works in the admin panel not anywhere else.

Pravi

Quote from: illori on August 12, 2016, 10:05:58 AM
what type of panel are you wanting to hide?
where are you want it hidden?
that setting only works in the admin panel not anywhere else.

Hi illori,
I want to hide a 'HTML and javascript code' block in admin section.

illori

you mean that block is showing to the admin and you want to hide it only when in the admin panel? if that option is selected it should hide all the blocks/panels when in the admin panel.

Pravi

Quote from: illori on August 12, 2016, 09:59:57 PM
you mean that block is showing to the admin and you want to hide it only when in the admin panel? if that option is selected it should hide all the blocks/panels when in the admin panel.

Can you please tell me exactly how to hide a block?


Thank you

illori

can you instead answer the question i asked? if i understand what you are trying to do then we can tell you what to do to get it done.

Pravi

Quote from: illori on August 12, 2016, 09:59:57 PM
you mean that block is showing to the admin and you want to hide it only when in the admin panel?

yes i want to hide the block in the admin panel...

illori

if that option is enabled, it should be hidden already. i dont know how it would show otherwise.

Pravi

Quote from: illori on August 13, 2016, 08:13:20 PM
if that option is enabled, it should be hidden already. i dont know how it would show otherwise.

Hi illori,
The blocks are hidden in the admin panel but its visible in the forum and all other places .. I want to hide the block when LOGGED in as admin. Not only in admin panel but also in every section of the forum.


Thank you

lurkalot

Not sure if there's an easier way around this problem, but you could take a look at this solution, http://www.tinyportal.net/index.php?topic=34936.msg279215#msg279215