TinyPortal

Development => Support => Topic started by: FireDitto on June 09, 2012, 10:04:05 AM

Title: Block Visibilties -- Admin accounts
Post by: FireDitto on June 09, 2012, 10:04:05 AM
Link to my site: http://katila.second-pass.net
SMF version: 2.0.2
TP version: 1.107
Default Forum Language: English
Theme name and version: DarkBreak (RC3 atm, gotta fix that)
Browser Name and Version: FireFox ... 12?
Mods installed: >_> too many
Related Error messages: N/A

Okies. So.

What I Would like to be able to do, is to hide certain blocks from view when logged in as the admin. At present, I have the blocks set up two fold; there are those that Guests can see, and those that Members can see. Unfortunately, as an Admin, I can see everything and it looks god %(#*ing awful!

Is there a  way I can hide the blocks from the Admin accounts that I don't want to be seen, or don't want to be stuck looking at? It's really doing my head in :(

Thanks guys!
Title: Re: Block Visibilties -- Admin accounts
Post by: ZarPrime on June 09, 2012, 05:40:36 PM
You can do this but it's not particularly intuitive, nor is it a well documented feature.  Last year, in August of 2011, we had a 3 page discussion on the Beta Tester Board here about how this feature works, or how it should work, and came up with some answers.

First off, you should understand that in SMF, by default, Admins can see everything on their Forums.  In order to actually hide some blocks from Admins, we have to jump through a few hoops.  There is a method to the madness so follow along closely.  In essence, all Admins on your site that you want to hide some blocks from must also have a secondary membergroup, including yourself.  This assumes that their primary membergroup is "Admin".  Here are the steps to make it work ...


You should only have to go through this exercise once.  In the future, if and when you create a new block, you will be able to select the new group for block visibility if you want Admins to see it, or not select it if you want the block to be hidden for Admins.  One warning though, when you create a new block in the future, you must select the new group to be able to see the block until you have finished editing it.  After you are done editing the new block, you can then go back to modify the block to deselect visibility for the new group.

ZarPrime