uCoz Community uCoz Modules Page Editor Limiting Access To Site Pages. |
Limiting Access To Site Pages. |
Access limitation You can easily limit access to some parts of your website within uCoz web-services. To do so go to the page you want to limit access to. Login to the website as administrator with your login and password. You will be able to see a set of buttons in the right lower corner: ![]() Click the one that is indicate in the image. Editing page will open. Find option: Groups that have access to this page. Check the boxes of the groups you want to have access to the page. ![]() Do not forget to click Save afterwards. You have limited access to the page. Users from the groups that are prohibited to have access to the page will be automatically redirected to “Access denied” page. You may customize its appearance and change the text of the message in Design management (templates) option of the Control panel. How to set a password for a certain page? Edit the code of this page. Add: Code <script language="JavaScript"> if (top.location.search=="") { pass = prompt('Enter password'); if (pass=='1') // Your password { alert('Password accepted') } else { alert('Password not accepted!'), top.location.href="errorpas.htm" }// URL of the page where user will be redirected in case of error }; </script> How to prevent users from viewing a page? You might use conditional operators. Edit the code of Site pages template. Find $CONTENT$ there and substitute it with: Code <?if($USER_LOGGED_IN$)?>$CONTENT$<?else?>Text for guests. It can and should be edited. They can not see page content. <?endif?> See more about conditional operators here: http://forum.ucoz.com/forum/37-471-1#36483 How to limit access to the page in accordance with users' age? You need to add feature of converting date of birth into age between tags: Code <head></head> You may call for this feature with the code: Code <script type="text/javascript">document.write(age('$USER_BIRTHDAY$'));</script> Attachments:
4573660.png
(2.0 Kb)
·
9414958.png
(6.5 Kb)
|
Quote (Mich) tell us with understandeble words what u want, and not just images.... HUNAR meant, CP -> Users -> User Groups -> Guest -> At each module beginning un-mark "Read entries" |
Hey. Is there any way to create hidden pages and sub-pages with Ucoz?
The Lord Jesus is my Best Friend!
www.starbrightsite.com |
you can create any page and if by hiden you mean not viewable to others exept admin or mod. you can do that by
creating a new page control panel->page editor->add new page at the bottom it says: Groups, having access to this page: Post edited by elf83 - Friday, 2008-10-03, 2:35 AM
|
Thank you, but I figured out how to do it.
The Lord Jesus is my Best Friend!
www.starbrightsite.com |
ok i dont know if this should be in this forum or another but i was wonder if there was a way to put passwords on your pages so that ppl cant go into them without permission
|
alright ty
|
I want my user see login before they enter the site is that possible????????????????
Something like this I love UCOZ it is grate system.
Post edited by worldahiska - Saturday, 2009-02-28, 6:51 AM
|
worldahiska, Fist of all this is old thread, so don't dump old threads.
Second use Search before posting msgs or making new threads. Third I suggest you read uCoz rules before doing anything in the forum. Like I said search |
Quote (Brazen) worldahiska, Fist of all this is old thread, so don't dump old threads. Here you are not right. It's better to "dump" the existing thread than to create a new thread about the same matter. I'm not active on the forum anymore. Please contact other forum staff.
|
I cant see some links in site menu. I attach the picture here. Even guset can watch these links. I am the Administrator of the site. I regret to tell you that the site is in my language.
Attachments:
4189418.jpg
(127.3 Kb)
|
| |||