Wiki

Articles tagged with "user", sorted by commentsX
Displaying 1-7 of 7 result(s).

Installing Yii Users and Rights to Newly Created Yii app

Created 5 months ago by Rajith RTutorials6 comments – viewed 11,280 times – ( +9 / -1 )
After creating an yii app . we need to implement permission, Authentication and Authorization .so the best way is to use the Yii users and Rights modules.

Simple access control

Created 11 months ago by szfjozsefTutorials4 comments – viewed 14,137 times – ( +2 / -6 )
For those who feel, the Controller->accessRules() or RBAC (Role-Based Access Control) is too complicated or doesn't want the username(s) to be hard-coded in accessRules(), here is a very simple, easy-to-implement solution.

How to create nice modal login widget with a CJuiDialog

Created 2 years ago by Igor IvanovicTutorials2 comments – viewed 28,484 times – ( +8 )
...folder /protected/components/UserLoginWidget.php... ...extending the CWidget class...
tags: user, login, modal, widget

Disable login page if user is logged in

Created 19 days ago by freezingbananaTutorials1 comment – viewed 2,993 times – ( +3 / -11 )
This is a very simple tutorial that demonstrates how to redirect user back to the returnUrl if he is already logged in.

Get notified about the status of a Facebook user in your web app using periodic Ajax calls.

Created 8 months ago by sirin kTips0 comments – viewed 2,745 times – ( +4 )
hello, This article is helpful only if you have the following situation: A web app which uses facebook login to login its users and if a user is logged out from his/her facebook account through another browser tab, then your app dont know that he is logged out out or not from his facebook account and he/she will remain as logged in your web application.Its ok if you have no problem with this situation.But if you want to forcefully logout the user from your application if he is logged out from his facebook account means you can try this example.This example uses periodic ajax calls to facebook's graph api to check whether the user is logged in or not.
tags: facebook, user

Assigning dynamic roles to a user Using yii Rights module at the time of user creation and using some special advanced features of yii rights

Created 3 months ago by Rajith RTips0 comments – viewed 5,370 times – ( +4 )
After Installing Yii Users and Rights to Newly Created Yii app we have to assign dynamic roles to a user at the time of user creation .