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

  • Mamba

  • Moderator

  • Posts: 11455

  • 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.11 | 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

183 user(s) are online (159 user(s) are browsing Support Forums)


Members: 0


Guests: 183


more...

Donat-O-Meter

Stats
Goal: AU$15.00
Due Date: Jul 31
Gross Amount: AU$0.00
Net Balance: AU$0.00
Left to go: AU$15.00
Make donations with PayPal!

Latest GitHub Commits