![]() |
php if user group
i am trying to write a php statement but do not know what variable to call
I only want the photos to display if they are in the photographer user group. this is what I want, but dont know what to put in the parenthesis if (usergroup photograhper) { do this.. } else { do nothing } I don't want the users to be in the usergroup photographer, I only want photographers photos to be displaying in my image viewer. Thanks! |
It really depends on where you're displaying it...
PHP Code:
PHP Code:
PHP Code:
|
it will be on the forum page for now, maybe in the future it will be on CMS page. But for now, just the forum page right above the forums.
--------------- Added [DATE]1278457437[/DATE] at [TIME]1278457437[/TIME] --------------- based off the code that is already written for the current mod, they use similar code to: PHP Code:
|
All times are GMT. The time now is 06:56 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|