Okay, on my site, I dont want unregistered users to be able to view anything, but I want it to display a specific admin message. how do i put in the permissions to display the specific message? The name of the message is welcome to shithoused, and its the first admin message. Can someone tell me specifically what to put in the instance section. I really appreciate it, I have spent hours experimenting with no luck
~bob
Login
Donate to Zikula
Core Modules & Blocks
::
Question on permissions
-
-
Give this a try:
This permission keeps Registered Users from seeing your Admin Message, but allows Unregistered to see the message. Put it at the top under Admins.
Group — Users
Component — Admin Messages:Messagesblock:
Instance — welcome to shithoused:: (this has to be the exact name)
Permissions — None
To keep Unregistered from seeing anything, put this next to last.
Group — Unregistered
Component — .*
Instance — .*
Permissons — None
Don't remove the last item, which allows Unregistered to register (unless you don't want them to register at all).
This worked on my test site, but your mileage may vary, especially in where you put the User restriction.
zack
--
Don't shoot me — I'm just the bass player.
http://www.youremployeehandbook.com
http://www.felinefollies.com
http://www.escapetot…southeasttravel.com
http://www.wheretoliveandgolf.com -
bobtechnologies
Okay, on my site, I dont want unregistered users to be able to view anything, but I want it to display a specific admin message. how do i put in the permissions to display the specific message? The name of the message is welcome to shithoused, and its the first admin message. Can someone tell me specifically what to put in the instance section. I really appreciate it, I have spent hours experimenting with no luck
~bob
One thing I found is that I wanted to post an Admin Message to the Unregistered visitors and a different one to the Registered users. I had a hard time making that work, so instead, I created an HTML center block, and put the permissions on it like this:
Code
Users HTMLblock:: Pending Users:: None
Users .* .* Comment
Pending HTMLblock:: Pending Users:: Read
Maybe that's another way to go....
JS -
That looks useful...think I'll try it myself! Thanks!
zack
--
Don't shoot me — I'm just the bass player.
http://www.youremployeehandbook.com
http://www.felinefollies.com
http://www.escapetot…southeasttravel.com
http://www.wheretoliveandgolf.com
