![]() |
Pm All Members *Via Email Form
As asked for Here
What this does, is turn your admin email all into an email or pm all. I did it this way due to less clutter and files also effective. I will offer support as my time allows. See Screan Shot To See Effect. |
oh wow, good stuff man, gvery good thinking *clicks install*
|
No trouble at all, the thought on how to do it this way came to me in the middle of dinner.
Very odd this hack is not showing up on main page.... |
it's not showing up for some reason
I can't find the if (!$_POST['test']) { echo $vbphrase['emailing']." \n"; vbmail($user['email'], $_POST['subject'], $sendmessage, true, $_POST['from']); } } Instead the part i do find in email.php is if (!$_POST['test']) { echo $vbphrase['emailing']." \n"; vbmail($user['email'], $_POST['subject'], $sendmessage, true, $_POST['from']); } else { echo $vbphrase['test'] . " ... \n"; } |
Ok Instead Do This
Find Code:
echo $vbphrase['emailing']." \n"; Code:
if ($_POST['pm']==1){// Lets PM All Instead |
i get this error when i mass pm it. It stops at the UserID 464 with a guy's name X's Angel, this is the sql error it gives.
Database error in vBulletin 3.0.0: Invalid SQL: INSERT INTO pmtext (fromuserid, fromusername, title, message, touserarray, iconid, dateline, showsignature, allowsmilie) VALUES (1, 'deathscythehell', 'test #3', 'testing once more', 'a:1:{i:464;s:9:"X's Angel";}', 0, 1083469828, 0, 0) mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 's Angel";}', 0, 1083469828, 0, 0)' at line 2 mysql error number: 1064 Date: Sunday 02nd of May 2004 03:50:29 AM Script: http://forums.squareultima.com/admincp/email.php Referer: http://forums.squareultima.com/admin...l.php?do=start Username: deathscythehell IP Address: 64.40.53.44 |
fantastic work. Went flawlessly
|
Are you possitive you added it in right spot, I just did a test on my site of 940 members and it worked as planed.
|
Quote:
It sounds to me like you did the first edit, then put the fix over top of it. |
Ya, i think it's somethin to do with confliction with apostrophes. You can't have any ' in a name or else it screws it up?
|
All times are GMT. The time now is 01:54 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|