The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
$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']"> ... </if> |
#2
|
||||
|
||||
Try $post instead of $show, though, untested.
Ohh...And I think this thread is in the wrong forum. |
#3
|
||||
|
||||
Quote:
$post would return the info for the poster of the message, I need the info for the person viewing the message. |
#4
|
||||
|
||||
<if condition="!is_member_of($bbusergroup, x)">
would that not work? add your usergroups that are allowed to view notes |
#5
|
||||
|
||||
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)"> ... </if> Edited: Ooops! eNforce got it before me. |
#6
|
||||
|
||||
Quote:
But it may come to that, yet. Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|