
08-29-2007, 09:17 AM
|
|
|
Join Date: Aug 2002
Location: Missouri
Posts: 1,144
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by cgmckeever
I dont need a password to send an email from a yahoo (or other webmail account) that is not mine -- PM me your email address and I will demonstrate this. Thus, anyone can get around the simple 'from' check ..
That is why I am saying it is not a security feature, it is reducing the usability actually more so than any security feature.
|
I emailed you an address for my test site and my admin address there to try to fake 
Good luck!
Quote:
Originally Posted by cgmckeever
If you add this code (in all spots cron and product xml) right after text_subject is defined, the EmailIntegration script will handle the custom prefixes _and_ use a default one if none is found - it seemed to already take into account the original prefixing anyhow [\$foruminfo[title_clean]-t-\$threadinfo[threadid]]:
Code:
// prefix code - cgmckeever
// use default
if (strlen($threadinfo[threadprefix]) == 0){
$prefixes = explode("\r\n", trim($foruminfo['threadprefix']));
$threadinfo[threadprefix] = $prefixes[0];
}
// wrap the prefix
if (strlen($threadinfo[threadprefix]) != 0){
$threadinfo[threadprefix] = str_replace('{1}',$threadinfo[threadprefix],$vbulletin->options['prefixmarkupalt']);
$threadinfo[threadprefix] = str_replace(' ',' ',$threadinfo[threadprefix]);
// get rid of built in prefix
$text_subject = trim(str_replace("[\$foruminfo[title_clean]-t-\$threadinfo[threadid]]",'',$text_subject));
$text_subject = trim("\$threadinfo[threadprefix] " . $text_subject);
}
// end prefix code - cgmckeever
|
I'll get this into the next live version!
Thank you!
|