• Page 1 of 1
  • 1
Forum moderator: bigblog  
Can I restrict a certain user from a page?
$Administrator$
Posts: 59
Reputation: 1

Message # 1 | 10:43 PM
Can I restrict a user from entering a page? I do not mean user group I want to restrict only one user from entering a page.
Gaming Input

We are currently looking for developers/moderators to help with the website's overall progression. Please go here to sign up: http://www.gaming-input.com/index/staff_member_sign_up/0-74
Good
Posts: 365
Reputation: 12

Message # 2 | 3:38 AM
You can take a look here for the instruction http://forum.ucoz.com/forum/37-471-3

Something like this. Below code will prevent a user with user name to view the main page of a module.
Code

<?if($USERNAME$='Hacker')?>Hello, $USERNAME$. You are not allow to view this page!!!<?else?>$body$<?endif?>
Post edited by Good - Saturday, 2014-11-08, 3:39 AM
$Administrator$
Posts: 59
Reputation: 1

Message # 3 | 7:01 PM
[POST REMOVED]

I figured it out thanks!

Gaming Input

We are currently looking for developers/moderators to help with the website's overall progression. Please go here to sign up: http://www.gaming-input.com/index/staff_member_sign_up/0-74
Post edited by $Administrator$ - Saturday, 2014-11-08, 7:14 PM
  • Page 1 of 1
  • 1
Search: