![]() |
Help with displaying an image in a forum block based onusergroup membership
A little bit of background here to help with my question:
I am planning on creating some forums that, by default are not visible on the forumdisplay template, but are accessable based on usergroup membership (ie: if UserX is a member of usergroup #12 they have access to forum #9). That part is easy as it's simple forum permissions. What I would like to do is create a forumblock that displays an image (in this case a treasure map) that has been coded so that the user can get to the forum by clicking a link within the image (a simple imagemap), which is where I am in the coding aspect. My imagemap is as follows: PHP Code:
Would I be correct in thinking that if I used this code: Code:
if (is_member_of($vbulletin->userinfo, 12)) { Code:
if (is_member_of($vbulletin->userinfo, 12)) { Thanks for your assistance. |
All times are GMT. The time now is 08:04 AM. |
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:
|