problemas with memberlist_find_user MOD

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   problemas with memberlist_find_user MOD
Molly28
CZ Active Member
Molly28 has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Feb 10, 2004
0.01 posts per day
Posts: 102
Points: 5,310
   
Hi.
I try to install the MOD Version: 1.0.0 and it was giving me an parse error on line 384.
now is .i dele something that was there a
else
and now is giving me a error in the last line,, icon_evil.gif icon_cry.gif
Parse error: parse error in modules/Members_List/index.php on line 381

Here is the index file.. for you to have a look

thank you in advance
icon_rolleyes.gif



Attached Files
index.txt (18.15 KB, Downloaded: 5234 Time(s))


Back to top Reply with quote
#2   re: problemas with memberlist_find_user MOD
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,430
   
You forgot a } find

   $sql = "SELECT username, user_id, user_viewemail, user_posts, user_regdate, user_from, user_website, user_email, user_icq, user_aim, user_yim, user_msnm, user_avatar, user_avatar_type, user_allowavatar
      FROM " . USERS_TABLE . "
      WHERE user_id <> " . ANONYMOUS . "
      ORDER BY $order_by";
if( !($result = $db->sql_query($sql)) )
{


Change it to

   $sql = "SELECT username, user_id, user_viewemail, user_posts, user_regdate, user_from, user_website, user_email, user_icq, user_aim, user_yim, user_msnm, user_avatar, user_avatar_type, user_allowavatar
      FROM " . USERS_TABLE . "
      WHERE user_id <> " . ANONYMOUS . "
      ORDER BY $order_by";
}
if( !($result = $db->sql_query($sql)) )
{


And you forgot a } else find

}
        while ( $row = $db->sql_fetchrow($result) );

{
      $template->assign_block_vars('no_username', array(
         'NO_USER_ID_SPECIFIED' => $lang['No_user_id_specified']   )
      );

}


ANd replace with

while ( $row = $db->sql_fetchrow($result) );
}
else
{
      $template->assign_block_vars('no_username', array(
         'NO_USER_ID_SPECIFIED' => $lang['No_user_id_specified']   )
      );

}



ALLWAYS MAKE BACKUPS AND DOUBLE CHECK YOUR WORK.



_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#3   re: problemas with memberlist_find_user MOD
Molly28
CZ Active Member
Molly28 has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Feb 10, 2004
0.01 posts per day
Posts: 102
Points: 5,310
   
What can i say. icon_rolleyes.gif

Thank you. icon_mrgreen.gif



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
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
You cannot attach files in this forum
You cannot download files in this forum