Welcome to Geeklog Monday, April 22 2019 @ 04:56 am EDT

Geeklog Forums

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


Status: offline

OMAL

Forum User
Regular Poster
Registered: 06/12/17
Posts: 72
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.

Status: offline

Laugh

Site Admin
Admin
Registered: 27/09/05
Posts: 1345
You can use the function:

PHP Formatted Code
 SEC_inGroup('Root')


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

Status: offline

OMAL

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

All times are EDT. The time is now 04:56 am.

  • 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