phpBB-TweakS
 
Advanced Search
   
 
Home Downloads FAQ Register FAQ Memberlist Usergroups Ranks
 
 

Please help us to develop!

 
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!
         

phpBB-TweakS Forum Index MOD Support Help with Send Multiple Messages MOD, please!
Display posts from previous:   
Half Thread Topic  Fully Thread Topic  Download Topic
      All times are GMT - 5 Hours  
Post new topic  Reply to topic

Sat Jan 12, 2008 12:06 am
Author Message
Melai-natar
New TweakeR
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! Reply with quote

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
      Back To Top  

 
         

Post new topic  Reply to topic

phpBB-TweakS Forum Index MOD Support Help with Send Multiple Messages MOD, please!
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


      Back To Top  

Page 1 of 1
Jump to:  
 
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. ::

The phpBB[Network]!
       
Powered by phpBB 2.0.* © 2001, 2002 phpBB Group
Avalanche style by What Is Real © 2004