Thread Rating:
  • 8 Vote(s) - 2.63 Average
  • 1
  • 2
  • 3
  • 4
  • 5
LegosJedi's Plugins and Modifications - First Custom Editor Theme Released!
"We Miss You! 1.0.0 for MyBB 1.4" contains an Error in the /inc/tasks/dailymissyouemail.php:

On lines 16 and 25, there's an ; after intval($mybb->settings['mye_days']) and this intval() call is inside str_replace(), so the ; must have to be removed to work properly.

These lines must be corrected as follows:
Line 16:
$mass_email['subject'] = str_replace("{days}", intval($mybb->settings['mye_days']);, $mass_email['subject']);

Change to:
$mass_email['subject'] = str_replace("{days}", intval($mybb->settings['mye_days']), $mass_email['subject']);

Line 25:
$mass_email['message'] = str_replace("{days}", intval($mybb->settings['mye_days']);, $mass_email['message']);

Change to:
$mass_email['message'] = str_replace("{days}", intval($mybb->settings['mye_days']), $mass_email['message']);

Or use the attached dailymissyouemail.php and overwrite the one in /inc/tasks/.


Attached Files
.php   dailymissyouemail.php (Size: 1.47 KB / Downloads: 103)
Reply


Messages In This Thread
RE: LegosJedi's Plugins and Modifications - First Custom Editor Theme Released! - by StarWolf - 08-12-2008, 06:46 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)