31
Mamba
Re: $xoops_isadmin, $xoops_isuser, but $xoops_?
  • 2013/8/18 13:31

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


"in_group" is a function, not a variable, so you need to do something like this:

if (in_group('nameofmygroup')) {
        echo 
"In Group";
    } else {
        echo 
"Not in Group";
    }
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

32
mjoel
Re: $xoops_isadmin, $xoops_isuser, but $xoops_<custom group>?
  • 2013/8/18 14:06

  • mjoel

  • Quite a regular

  • Posts: 325

  • Since: 2006/12/9


Thank you mamba it works...

Login

Who's Online

260 user(s) are online (152 user(s) are browsing Support Forums)


Members: 0


Guests: 260


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits