Posts: 661
Threads: 52
Joined: Feb 2011
I am so close to finishing my multi-user plugin.
Right now it can create, edit, and add new users. I also have the permissions system figured out besides one peice..
I need the plugin to check which user is logged in. $USR will not work.
Anyone have any ideas?
Posts: 1,848
Threads: 86
Joined: Aug 2009
get_cookie('GS_ADMIN_USERNAME') should do it
-
Chris
Thanks for using GetSimple! - Download
Please do not email me directly for help regarding GetSimple. Please post all your questions/problems in the forum!
Posts: 661
Threads: 52
Joined: Feb 2011
wow.. that was easy, I spent the last 3 hours trying to figure out a way to do that
Well I will finish this up now and release it later tonight or tomorrow.
The permissions system will give the ability to block or grant (for each individual user) access to 'create new page', 'settings', 'plugins', 'backups', 'files', etc.
Posts: 524
Threads: 48
Joined: Mar 2011
2011-04-09, 21:50:21
(This post was last modified: 2011-04-09, 21:51:29 by infos.media.)
Quote:get_cookie('GS_ADMIN_USERNAME')
AWESOME! This is exactly what I needed for the newsfeed plugin