Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Notify
This discussion has been closed.
Comments
1. Notify/default.php:350
From:
$e->Subject = $DiscussionForm->Context->Configuration['APPLICATION_TITLE'].' '.$DiscussionForm->Context->GetDefinition('Notification');
To:
$e->Subject = mailSubject( $DiscussionForm->Context->Configuration['APPLICATION_TITLE'].' '.$DiscussionForm->Context->GetDefinition('Notification') );
2. and add the mailSubject() function's code like follows.
function mailSubject( $str ) { $result = ''; $strArray = explode( ' ', $str ); for ( $idx=0; $idx<count($strArray); $idx++ ) { if ( $idx > 0 ) { $blank = ' '; } else { $blank = ''; } $result = $result . '=?utf-8?b?' . base64_encode( $blank . $strArray[ $idx ] ) . '?='; } return $result; }
That's it!
So I'm thinking you can either set defaults to 0 and hope that's correct or redefine the fields to allow nulls and again, hope for the best. Either fix will allow users to register again - but I've no idea if Notify will like these solutions. Hutstein, can you comment?
mail($to,$subject,$mail_body,$from);
The Notify add-on uses uses the send() function.
$e->Send();
I don't know the difference between send() and mail(), but perhaps someone can tell me.
$e->Body = str_replace(array("{forum_name}","{topic_url}"),array($DiscussionForm->Context->Configuration['APPLICATION_TITLE'],ConcatenatePath($DiscussionForm->Context->Configuration['BASE_URL'].'comments.php?DiscussionID='.$DiscussionID,'')),$EmailBody).$test;
I get notifications all the time.
Posted: Friday, 13 July 2007 at 7:26AM
It would be great if there was an option to remove it from the panel and put all the controls on the account page?