Welcome to Geeklog, Anonymous Friday, November 08 2024 @ 09:18 pm EST

Geeklog Forums

How to check if the user is a member of the root


Status: offline

OMAL

Forum User
Regular Poster
Registered: 12/06/17
Posts: 107
A website I am working for is customized and it has wrong closing html tags only when index page for admin is displayed. I have that issue after upgradeing the geeklog of the site.
So, I would modify the footer template for admin.
The question is how I can simply achive that.
Are there any way to check if the user is a member of the Root? Global variables?

Sorry, I should have posted this on support forum.
 Quote

Status: offline

Laugh

Site Admin
Admin
Registered: 09/27/05
Posts: 1470
Location:Canada
You can use the function:

Text Formatted Code
 SEC_inGroup('Root')


which will return true if in the root group.
One of the Geeklog Core Developers.
 Quote

Status: offline

OMAL

Forum User
Regular Poster
Registered: 12/06/17
Posts: 107
Thanks.
 Quote

All times are EST. The time is now 09:18 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content