View Full Version : Alert Thread messages are blank...
Ski-Whiz
04-21-2005, 11:04 PM
I upgraded to 3.4.4.. Well for some reason the I'm getting the new thread for Alerts, but nothing is in this thread..
However, when I send a warning for the same thing, that thread will post the thread as normal.
So when sending alerts, the thread is blank, when sending warnings, the threads are posted as normal.
Anyone else getting Alert threads to work in 3.4.4? I haven't upgraded to 3.4.5,a s I didn't see this as a bug..
Maybe I'll update to 3.4.5 and just see if the alert thread works??
sv1cec
04-22-2005, 04:55 AM
I am a bit confused by your terminology. What do you mean "the new thread for Alerts"? An alert does not create a thread in any Forum, even if you have selected that option in the Warning Options, only warnings do. Or are you refering to the PMs send to the alerted or warned member?
Ski-Whiz
04-22-2005, 09:22 AM
Alerts are created threads on my site..hmm..
They are blank. The topics are there, but no body.. That's odd..
When I select the Alert "Yes", it creates a thread in my selected forum, like I said with no body.
I can PM you a test admin account to play with if you like.. It's wierd, if you said it won't create a thread.. :D I don't mind if it doesn't... I'm just seeing one, that's blank.. :D
sv1cec
04-22-2005, 11:10 AM
Darn you are right!
Heheh, this program has more features than I know of!
In any case, if you want the Alerts to create a thread in a specific forum, edit your functions_warning and find:
if ($alert=='No')
{
eval('$messageb .= "' . fetch_template('warn_pm') . '";');
$title="You have been warned";
$messagecopy=$messageb;
}
else
{
eval('$messageb .= "' . fetch_template('warn_pm_alert') . '";');
$title="You have been alerted";
}
Replace that with:
if ($alert=='No')
{
eval('$messageb .= "' . fetch_template('warn_pm') . '";');
$title="You have been warned";
}
else
{
eval('$messageb .= "' . fetch_template('warn_pm_alert') . '";');
$title="You have been alerted";
}
$messagecopy=$messageb;
Also, find:
if ($alert=='No')
{
eval('$messageb .= "' . fetch_template('warn_em') . '";');
eval('$messagecopy .= "' . fetch_template('warn_pm') . '";');
$title="{$vboptions['messagetag']} - You have been warned";
}
else
{
eval('$messageb .= "' . fetch_template('warn_em_alert') . '";');
$title="{$vboptions['messagetag']} - You have been alerted";
}
And replace that with:
if ($alert=='No')
{
eval('$messageb .= "' . fetch_template('warn_em') . '";');
eval('$messagecopy .= "' . fetch_template('warn_pm') . '";');
$title="{$vboptions['messagetag']} - You have been warned";
}
else
{
eval('$messageb .= "' . fetch_template('warn_em_alert') . '";');
eval('$messagecopy .= "' . fetch_template('warn_pm_alert') . '";');
$title="{$vboptions['messagetag']} - You have been alerted";
}
If you do not want Alerts to be created as threads, then in functions_warning.php find:
if ($vboptions['warn_savecopy']=='1' AND $vboptions['warn_savecopyforum']!='')
Replace that with:
if ($vboptions['warn_savecopy']=='1' AND $vboptions['warn_savecopyforum']!='' AND $alert=='No')
Next version, I'll have an option for that.
Rgds
Ski-Whiz
04-22-2005, 11:51 PM
Thanks.. I was hoping you'd find something.. :D
I didn't want you to think it was me.. :D I try my best to fix the problems myself, I just found it odd, and I rechecked everything!
Man, you are doing a GREAT job of staying on top of this hack!! Bravo!!
sv1cec
04-23-2005, 05:15 AM
Thank you, doing my best.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.