Mailer RavenNuke Edits
Home>Mailer>New Installation>Core File Edits>RavenNuke™
The edits for RavenNuke™ are not difficult (just like all the others), however, what you need to note is that we are only providing UPGRADE code changes. What do we mean by this? Given all the security and other bug fixes that have been made to the old PHP-Nuke code that is in RavenNuke™, we just cannot in good conscience patronize edits for versions less than 2.40.00 (and the mailer was incorporated into RavenNuke™ at version 2.20.00). It just wouldn't be right. You NEED TO STAY CURRENT on your RavenNuke™ system! Get the latest RavenNuke™ version always at RavenPHPScripts.
Do to the nature of the TegoNuke™ Mailer coding, the original RavenNuke™ edits are still valid - we have maintained backwards compatibility for the most part. However, one MUST make the changes to the mainfile.php script in order to avoid PHP errors/warnings!
If you run a search to look for the lines which have TNML_IS_ACTIVE in them, one finds all of the following (line numbers could be different in your installation):
modules\Advertising\index.php(292): if (defined('TNML_IS_ACTIVE')) {
modules\Content\var\cpfunc.php(326): } elseif(defined('TNML_IS_ACTIVE')) {
modules\Content\var\friend.php(95): } elseif(defined('TNML_IS_ACTIVE')) {
modules\Feedback\index.php(140): if (defined('TNML_IS_ACTIVE')) {
modules\GCalendar\common.inc.php(685): if (defined('TNML_IS_ACTIVE')) {
modules\Groups\admin\NSNGroupsUsersEmailSend.php(70): if (defined('TNML_IS_ACTIVE')) {
modules\Groups\includes\nsngr_func.php(48): if (defined('TNML_IS_ACTIVE')) {
modules\HTML_Newsletter\admin\functions.php(405): if (defined('TNML_IS_ACTIVE')) {
modules\Journal\friend.php(71): if (defined('TNML_IS_ACTIVE')) {
modules\News\friend.php(126): if (defined('TNML_IS_ACTIVE')) {
modules\Project_Tracking\admin\PJReportUpdate.php(52): if (defined('TNML_IS_ACTIVE')) {
modules\Project_Tracking\admin\PJReportUpdate.php(60): if (defined('TNML_IS_ACTIVE')) {
modules\Project_Tracking\admin\PJRequestUpdate.php(34): if (defined('TNML_IS_ACTIVE')) {
modules\Project_Tracking\admin\PJRequestUpdate.php(41): if (defined('TNML_IS_ACTIVE')) {
modules\Project_Tracking\public\PJReportCommentInsert.php(64): if (defined('TNML_IS_ACTIVE')) {
modules\Project_Tracking\public\PJReportCommentInsert.php(72): if (defined('TNML_IS_ACTIVE')) {
modules\Project_Tracking\public\PJReportInsert.php(66): if (defined('TNML_IS_ACTIVE')) {
modules\Project_Tracking\public\PJRequestCommentInsert.php(61): if (defined('TNML_IS_ACTIVE')) {
modules\Project_Tracking\public\PJRequestCommentInsert.php(69): if (defined('TNML_IS_ACTIVE')) {
modules\Project_Tracking\public\PJRequestInsert.php(66): if (defined('TNML_IS_ACTIVE')) {
modules\Recommend_Us\index.php(141): if (defined('TNML_IS_ACTIVE')) {
modules\Resend_Email\index.php(113): if (defined('TNML_IS_ACTIVE')) {
modules\Submit_News\index.php(285): if (defined('TNML_IS_ACTIVE') and validate_mail($notify_from) !== false) {
modules\Web_Links\admin\index.php(1358): if (defined('TNML_IS_ACTIVE')) {
modules\Your_Account\includes\functions.php(104): if (defined('TNML_IS_ACTIVE')) {
Simply modify the part of the if statement which looks like this:
if (defined('TNML_IS_ACTIVE'))
To this instead:
if (TNML_IS_ACTIVE)
Yes, it is that simple. Do this on each of the above lines of code for the given scripts.
Lastly, one should/could also modify the NukeSentinel™ Core File Edits to utilize the latest TegoNuke™ Mailer coding.