![]() |
$show['usernoteview'] in postbit ?
I'm playing around with peterska2's User Note Info in Postbit hack, and trying to wrap a conditional around it so that only those authorized to view usernotes would see the link.
Code:
<if condition="$show['usernoteview']"> |
Try $post instead of $show, though, untested.
Ohh...And I think this thread is in the wrong forum. :) |
Quote:
$post would return the info for the poster of the message, I need the info for the person viewing the message. |
<if condition="!is_member_of($bbusergroup, x)">
would that not work? add your usergroups that are allowed to view notes |
Ohh...I C. You want a certain Usergroup to view the usernote in postbit. The conditional you want, at least for the permission, is:
Code:
<if condition="is_member_of($bbuserinfo, x, y, z)"> Edited: Ooops! eNforce got it before me. :) |
Quote:
But it may come to that, yet. Quote:
|
All times are GMT. The time now is 01:37 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:
|