Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is there something like is_admin() / is_loged_in()
#10
Carlos Wrote:This works with GS 3.1 (but not with 3.0):
Code:
if (cookie_check()=='1') {
  // ... logged in
}

@ccagle8, shawn_a
Time ago I made a small plugin for this: http://get-simple.info/forum/post/6074/#p6074
It works, but it uses its own cookie (that you have to set, once logged).
I intended to update one of these days it to use cookie_check() ...

I couldn't figure out how to get it working. I thought it was borked. Ill try again.
Thanks!
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply


Messages In This Thread
Is there something like is_admin() / is_loged_in() - by shawn_a - 2012-03-09, 11:34:44



Users browsing this thread: 1 Guest(s)