![]() |
user note link in postbit
in 3.0.x i used the code below (in postbit and postbit_legacy) to display a link to a members user notes in the drop down menu that appears after clicking on a users name in posts. this link was only visible to those who had permissions to see it.
Code:
<if condition="($post['userid'] == $bbuserinfo['userid'] AND $permissions['genericpermissions'] & CANVIEWOWNUSERNOTES) OR ($post[userid] != $bbuserinfo['userid'] AND $permissions['genericpermissions'] & CANVIEWOTHERSUSERNOTES)"> TIA |
Try
HTML Code:
<if condition="$show['usernotes']"> I haven't tested it. |
thanks for the suggestion. i tried parts of that previously without luck. i ended up using this:
Code:
<if condition="in_array($bbuserinfo['usergroupid'], array(5,6,7))"> |
All times are GMT. The time now is 07:43 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:
|