Quote:
Originally Posted by Bobbo
It looks like this mod will be very useful. Thanks Bananalive!
Does anyone have any suggestions for how I would go about getting some VB session table content to display in the Thread/PM/Email Title? For example, my Vbulletin is heavily integrated with my CRM system and I've got some custom content that is stored in my sessions table. What would be ideal is if I could take the value from one of the session columns and include it in an email title.
I've tried adding $example to the Email Title, and then in the form hook added $example = $vbulletin->session->vars['customcolumnname']; but the data isnt being passed. Any thoughts? Thanks!
|
php variables not parsed for security in form titles
Instead specify the title in the Form Hook
Form Hook: Before Submit
PHP Code:
$threadtitle = "Text before " . $vbulletin->session->vars['customcolumnname'] . " and text after";