RE: subject prefixes
Well - I may have come up with a workaround for the email replies --
it pulls a default prefix for the forum and applies it accordingly -- works in my test cases.
If you could give me a hint how to change the out bound email subjects both via a forum post and a email response, that would be HUGE
FIRST:
update the product-threadprefix_english.xml in two spots:
Code:
// product-threadprefix_english.xml
if (!verify_thread_prefix($this->info['forum'], $this->info['threadprefix']))
{
// added to get default prefix - cgmckeever
$this->thread['threadprefix'] = return_default_prefix($this->info['forum']);
// removed for email integration - cgmckeever
//$this->error('nothreadprefix');
//$return_value = false;
}
SECOND:
add a lookup function in functions_threadprefix.php:
Code:
// includes/functions_threadprefix.php
// returns the first prefix of a forum
function return_default_prefix($foruminfo){
$prefixes = explode("\r\n", trim($foruminfo['threadprefix']));
// print $prefixes[0];
return $prefixes[0];
}