Welcome to Geeklog, Anonymous Wednesday, November 30 2022 @ 12:28 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: 106
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: 1447
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: 106
Thanks.
 Quote

All times are EST. The time is now 12:28 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