Code error in userlist mod in only 1 section. Getting 404

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Code error in userlist mod in only 1 section. Getting 404
AalnyanIcestorm
CZ Super Newbie
 Codezwiz Site Donator
AalnyanIcestorm has been a member for over 20 year's 20 Year Member
usa.gif oregon.gif
Occupation: Web Design & Computer Consultant
Age: 61
Gender: Male
Website:
Status: Offline
Joined: Dec 30, 2004
0.01 posts per day
Posts: 81
Points: 7,351
  MSN Messenger 
I'm using the admin_userlist.php mod from phpbb.com in the forums software that comes with phpNuke 7.6 Platinum and am running into a problem where this line

'U_PROFILE' => append_sid($phpbb_root_path . 'profile.'.$phpEx.'?mode=viewprofile&'

Ends up creating a 404 page error because it can't find the modules.php referenced but all other code functions fine.

Since its for the standalone version of phpbb I am sure the line needs a different variable for the path to call the profile.

Any help would be great.

All the code before and after is below:

'ROW_NUMBER' => $i + ( $HTTP_GET_VARS['start'] + 1 ),
                                'ROW_CLASS' => ( !($i % 2) ) ? $theme['td_class1'] : $theme['td_class2'],

                                'USER_ID' => $row['user_id'],
                                'ACTIVE' => ( $row['user_active'] == TRUE ) ? $lang['Yes'] : $lang['No'],
                                'STYLE_COLOR' => $style_color,
                                'USERNAME' => $row['username'],
                                'U_PROFILE' => append_sid($phpbb_root_path . 'profile.'.$phpEx.'?mode=viewprofile&' . POST_USERS_URL . '=' . $row['user_id']),

                                'RANK' => $poster_rank,
                                'I_RANK' => $rank_image,
                                'I_AVATAR' => $avatar_img,

                                'JOINED' => create_date('d M Y', $row['user_regdate'], $board_config['board_timezone']),
                                'LAST_ACTIVITY' => ( !empty($row['user_session_time']) ) ? create_date('d M Y', $row['user_session_time'], $board_config['board_timezone']) : $lang['Never'],



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