Get uid from private message - Printable Version +- MyBB Community Forums (https://community.mybb.com) +-- Forum: Extensions (https://community.mybb.com/forum-201.html) +--- Forum: Plugins (https://community.mybb.com/forum-73.html) +---- Forum: Plugin Support (https://community.mybb.com/forum-72.html) +---- Thread: Get uid from private message (/thread-162421.html) |
Get uid from private message - zontrakulla - 2014-11-06 Hello, How do i get uid , pmid and such from a private message? echoing or returns blank in my template.Thanks. RE: Get uid from private message - dragonexpert - 2014-11-06 Variables in templates need to have curly braces around them. It also depends on if you want it for when you are reading a PM or just when you are viewing the list of PMs. For viewing an individual PM you will want to use {$pmid} for the PM id. The others you can use {$pm['field_name_here']}. If you are viewing the list of PMs, you'll want to use {$message['field_name_here']}. RE: Get uid from private message - zontrakulla - 2014-11-07 Thank you, that solved my problem. |