Page 1 of 1

Show Blocks to Unregistered Hide From Admins

PostPosted: Sun Jul 15, 2007 3:39 pm
Author: yotsume
Your phpBB Version: 2.0.
phpBB Type: phpBB / IMPortal
MODs: No
Your knowledge: Advanced Knowledge
Board URL: http://www.themagicalyears.com/cm/

PHP Version:
MySQL Version:


What was done before the problem appeared?



What was done to try to solve the problem?




De.scription and Message

Hello,

How can I make a block that is set as guest only not show once you login? I have a block that shows when your logged out and I do not want it to show once your logged into the site.

So for instance a message to unregistered guests that they must register or login to view the site. I don't need that block to show once your in.

Just setting that block to guest only didn't work. It also shows after your in.

You can see the block I am referring to here:
http://www.themagicalyears.com/cm/

Thanks for the help,

Yotsume

Hide Guest Only Blocks From Admins

PostPosted: Mon Jul 16, 2007 4:34 pm
Author: yotsume
Ok I figured out that the real problem with Guest Only visible blocks showing is beacuse all blocks show to Admins when they are logged in.

So the question is how do we hide Guest Only blocks from Admins? Its a waste of space! This needs to be added to the options. So before you go ahead and release a new version with my cool new option what lines of code can I change so Adfmins will not see Guest Only blocks.

Thanks,

Everything else works perfect! I just need to code my editor into your block editing page so I have real editing options...

Re: Show Blocks to Unregistered Hide From Admins

PostPosted: Wed Jul 18, 2007 7:16 am
Author: found it
Lol

integramod portal system already has an editor installed for blocks ...standard phpbb uses standard bbcode so it is up to the end user to change that as we are not here to provide a different solution for everyones need ....

That is why you are allowed to change the code to suit your needs...

:mrgreen: