| |
phpBB-TweakS The easiest way to 'tweak' your phpBB! |
|
|
|
|
|
|
It appears you are using a browser that is not based on Internet Explorer, this means you are not viewing the web as good as you should be. Other browsers might try to immitate Internet Explorer, but none can parse the web as it should like Internet Explorer can. So view the web as it was meant to be with Avant Browser!
|
| |
|
|
All times are GMT - 5 Hours
|
|
 |
Sat Jan 12, 2008 12:06 am |
 |
Author |
Message |
Melai-natar New TweakeR

Joined: 02 Jul 2005 Posts: 1 Words Posted: 318 Average Post: 318.00 Location: In my room...
|
| Post subject: Help with Send Multiple Messages MOD, please! |
|
|
Hi!
I tried installing this mod, but when I try sending a pm to multiple users all I get is a blank page with this:
Array ( [0] => Merc-chan [1] => Eternitix [2] => Natsuki [3] => Marodicio [4] => Car0lina [5] => Edelyn [6] => xs [7] => Kiraamira [8] => faby [9] => Rachel [10] => visiedo [11] => valen =) [12] => Jennifer [13] => Celia [14] => loreto [15] => Mildred [16] => Rubixita [17] => fermin9809 [18] => eva_spain [19] => Rantifusa [20] => Brucas addicted [21] => Inmakia [22] => Dracsa [23] => malavik [24] => LauRi [25] => nezzOTH [26] => paopao [27] => Mara [28] => Loan [29] => Narah [30] => flor [31] => naia718 [32] => chiundi [33] => yandira [34] => esster [35] => Silvia_3 [36] => pancha [37] => xXVeruXx [38] => Naley_made_J.Luke [39] => P.Sawyer [40] => viryona )
It's the same if I send it to 40 people or 2.
Thanks! ^^
Oh! And I'm including the code of my privmsg.php file:
| Code: | if ( $submit )
{
// session id check
if ($sid == '' || $sid != $userdata['session_id'])
{
$error = true;
$error_msg .= ( ( !empty($error_msg) ) ? '<br />' : '' ) . $lang['Session_invalid'];
}
if ( !empty($HTTP_POST_VARS['username']) )
{
#======================================================================= |
#==== Start: == Send Multiple Messages ================================= |
#==== v1.0.0 =========================================================== |
#====
if (strstr($HTTP_POST_VARS['username'], "\n"))
{
include($phpbb_root_path .'privmsg_multiple.'. $phpEx);
}
#====
#==== Author: aUsTiN [austin@phpbb-amod.com] [http://phpbb-tweaks.com] = |
#==== End: ==== Send Multiple Messages ================================= |
#======================================================================= |
$to_username = phpbb_clean_username($HTTP_POST_VARS['username']);
$sql = "SELECT user_id, user_notify_pm, user_email, user_lang, user_active, user_absence, user_absence_mode, user_absence_text
FROM " . USERS_TABLE . "
WHERE username = '" . str_replace("\'", "''", $to_username) . "'
AND user_id <> " . ANONYMOUS;
if ( !($result = $db->sql_query($sql)) )
{
$error = TRUE;
$error_msg = $lang['No_such_user'];
}
if (!($to_userdata = $db->sql_fetchrow($result)))
{
$error = TRUE;
$error_msg = $lang['No_such_user'];
}
}
else
{
$error = TRUE;
$error_msg .= ( ( !empty($error_msg) ) ? '<br />' : '' ) . $lang['No_to_user'];
} |
|
|
| Post #1 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
Protected by phpBB Security © phpBB-TweakS phpBB Security Has Blocked 3,235 Exploit Attempts.
· Archive · Sitemap: Index · Sitemap: Forums · Sitemap: Topics · Sitemap: Posts ·
:: [ Load Time: 2.8 Seconds ] :: [ 29 Queries ] :: [ 1,674 Page(s) Viewed Today ] :: :: [ Todays Queries: 49,254 ] :: [ Highest Load: 1,396,429 Queries On May. 08, 2007 ] :: :: [ SQL Load: 61% Time: 1.7 ] :: [ PHP Load: 39% Time: 1.1 ] :: [ Debug: On ] :: [ GZIP: Enabled ] :: :: The server last rebooted 32 days, 23 hours, 24 minutes, 18 seconds ago. ::
|
|
|
|
|
This page has been viewed 4,803,014 times, last viewed: Sun Jul 20, 2008 8:02 am.
|
|
Powered by phpBB 2.0.* © 2001, 2002 phpBB Group
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|