PDA

View Full Version : How to check usergroup or user id in Private Messages?


addamroy
05-23-2014, 12:11 PM
Is there a vb:if conditional for usergroup in private messages?

I send Private message in mass via a specific user account, and would like to add a little banner at the bottom of these messages, "sent by forum messenger" for example. I just need a conditional to place in the template that displays a pm and show a certain banner or text if the private message is from this account I created.

Any assistance would be appreciated!

Lynne
05-23-2014, 05:58 PM
I would guess you could use $post['userid'] in the condition. I think the template is the postbit_legacy template. If you use that special account for posting also, then you'll want to use THIS_SCRIPT in the condition also so you can only show it on the pm page.

addamroy
05-24-2014, 01:01 AM
Worked just dandy