The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
event reminders
here is the code I would like to modify its is from reminder.php
Code:
vbmail_start(); $usernames = ''; $reminderbits = ''; foreach ($eventlist AS $userid => $event) { $usernames .= iif($usernames, ', '); $usernames .= $userinfo["$userid"]['username']; $reminderbits = ''; foreach($event AS $eventid => $hour) { $eventinfo =& $eventcache["$eventid"]; eval(fetch_email_phrases('reminderbit', $userinfo["$userid"]['languageid'])); $reminderbits .= $message; } $username = unhtmlspecialchars($userinfo["$userid"]['username']); eval(fetch_email_phrases('reminder', $userinfo["$userid"]['languageid'])); vbmail($userinfo["$userid"]['email'], $subject, $message, true); if ($vbulletin->debug AND VB_AREA == 'AdminCP') { "<pre>"; echo $subject; echo "</pre>"; echo "<pre>"; echo $message; echo "</pre><br />"; } } vbmail_end(); what I want to do is send an e-mail to every user about the event instead of only a subscribed user. I know with a few weeks of trial and error I could kludge a fix. but if anyone could help I would greatly appreciate it. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|