Hey wicher, just wanted to let you know before i bugger off on holiday; that the admin panel is working fine and ive got the report button to appear, now i just need to figure out how to get it to function as you intended.
Code: Select all
if ( $user->auth(POST_FORUM_URL, 'auth_mod', $this->forum_id) )
$buttons['report'] = array(
'u' => $config->url('modcp', array('mode' => 'report', POST_POST_URL => $row['post_id'], POST_TOPIC_URL => $this->topic_id, 'sid' => $user->data['session_id']), true),
'i' => $row['report'] ? $user->img('icon_report') : $user->img('icon_report'),
'l' => $row['report'] ? $user->lang('report') : $user->lang('report'),
- Join the fantabolous instinctive gaming community! A Gaming, Gadgets, Technology, lifestyle Magazine / Services and much more! Not only that but special promotions too!