PDA

View Full Version : Accessing "canmessageownprofile" setting


TWTCommish
06-14-2009, 03:45 PM
Aloha. :)

I'm trying to create a conditional in the MEMBERINFO template that executes a block of code only if the "canmessageownprofile" profile setting for the user viewing the page is set to "no." The value seems to be in the $vbulletin->bf_ugp_visitormessagepermissions['canmessageownprofile'] variable. However, this value appears to be "1" whether the setting is set to yes, or no.

Any way I can tell which it is? Or am I simply looking at the wrong variable?

Megatr0n
06-17-2009, 10:56 AM
I asked Zachery to take a look at this! :)