PDA

View Full Version : Private Message from defined usergroup


manofphat
02-28-2010, 01:22 AM
I'm trying to have a message appear above the PM whenever the PM has been sent from certain usergroups. Here is the code I used to use in the postbit template of 3.8:

<if condition="THIS_SCRIPT=='private' && is_member_of($post, 5, 6, 7)">

Here's the code I'm trying to use in the pm_showpm template in 4.0.2:

<vb:if condition="is_member_of($post, 5, 6, 7)">

The message isn't displaying. I have a feeling that it's an issue with the $post portion of that code. Help!

ChopSuey
02-28-2010, 04:56 AM
https://vborg.vbsupport.ru/showthread.php?t=231525

Check that thread :D

manofphat
02-28-2010, 01:38 PM
https://vborg.vbsupport.ru/showthread.php?t=231525

Check that thread :D

Thanks for the link. It'll surely help me out in the future. Unfortunately, it didn't seem to have a solution to my current problem.