How can I make a view to show all own comments? I'm trying to show all comments the logged user did on a forum from the module advanced forum. 
I've tried using views, adding a relationship with content:autor and filtering by user:current. But didn't work. Also I've tried contextual filter with the parameter comment :author id.
Anyone can help?

I'm using D7.
Follow below steps to create a view.


Login as admin
Go to admin/structure/views/import
Copy paste below code in "Paste view code here"


$Below code

$view = new view();
$view-&gt;name = 'user_forum_comments';
$view-&gt;description = '';
$view-&gt;tag = 'default';
$view-&gt;base_table = 'comment';
$view-&gt;human_name = 'User Forum Comments';
$view-&gt;core = 7;
$view-&gt;api_version = '3.0';
$view-&gt;disabled = FALSE;

/* Display: Master */
$handler = $view-&gt;new_display('default', 'Master', 'default');
$handler-&gt;display-&gt;display_options['title'] = 'User Forum Comments';
$handler-&gt;display-&gt;display_options['use_more_always'] = FALSE;
$handler-&gt;display-&gt;display_options['access']['type'] = 'perm';
$handler-&gt;display-&gt;display_options['cache']['type'] = 'none';
$handler-&gt;display-&gt;display_options['query']['type'] = 'views_query';
$handler-&gt;display-&gt;display_options['exposed_form']['type'] = 'basic';
$handler-&gt;display-&gt;display_options['pager']['type'] = 'full';
$handler-&gt;display-&gt;display_options['pager']['options']['items_per_page'] = '10';
$handler-&gt;display-&gt;display_options['style_plugin'] = 'default';
$handler-&gt;display-&gt;display_options['row_plugin'] = 'comment';
/* Relationship: Comment: Content */
$handler-&gt;display-&gt;display_options['relationships']['nid']['id'] = 'nid';
$handler-&gt;display-&gt;display_options['relationships']['nid']['table'] = 'comment';
$handler-&gt;display-&gt;display_options['relationships']['nid']['field'] = 'nid';
$handler-&gt;display-&gt;display_options['relationships']['nid']['required'] = TRUE;
/* Field: Comment: Title */
$handler-&gt;display-&gt;display_options['fields']['subject']['id'] = 'subject';
$handler-&gt;display-&gt;display_options['fields']['subject']['table'] = 'comment';
$handler-&gt;display-&gt;display_options['fields']['subject']['field'] = 'subject';
$handler-&gt;display-&gt;display_options['fields']['subject']['label'] = '';
$handler-&gt;display-&gt;display_options['fields']['subject']['alter']['word_boundary'] = FALSE;
$handler-&gt;display-&gt;display_options['fields']['subject']['alter']['ellipsis'] = FALSE;
/* Sort criterion: Comment: Post date */
$handler-&gt;display-&gt;display_options['sorts']['created']['id'] = 'created';
$handler-&gt;display-&gt;display_options['sorts']['created']['table'] = 'comment';
$handler-&gt;display-&gt;display_options['sorts']['created']['field'] = 'created';
$handler-&gt;display-&gt;display_options['sorts']['created']['order'] = 'DESC';
/* Contextual filter: Comment: Author uid */
$handler-&gt;display-&gt;display_options['arguments']['uid']['id'] = 'uid';
$handler-&gt;display-&gt;display_options['arguments']['uid']['table'] = 'comment';
$handler-&gt;display-&gt;display_options['arguments']['uid']['field'] = 'uid';
$handler-&gt;display-&gt;display_options['arguments']['uid']['default_action'] = 'default';
$handler-&gt;display-&gt;display_options['arguments']['uid']['default_argument_type'] = 'current_user';
$handler-&gt;display-&gt;display_options['arguments']['uid']['summary']['number_of_records'] = '0';
$handler-&gt;display-&gt;display_options['arguments']['uid']['summary']['format'] = 'default_summary';
$handler-&gt;display-&gt;display_options['arguments']['uid']['summary_options']['items_per_page'] = '25';
/* Filter criterion: Comment: Approved */
$handler-&gt;display-&gt;display_options['filters']['status']['id'] = 'status';
$handler-&gt;display-&gt;display_options['filters']['status']['table'] = 'comment';
$handler-&gt;display-&gt;display_options['filters']['status']['field'] = 'status';
$handler-&gt;display-&gt;display_options['filters']['status']['value'] = 1;
$handler-&gt;display-&gt;display_options['filters']['status']['group'] = 1;
$handler-&gt;display-&gt;display_options['filters']['status']['expose']['operator'] = FALSE;
/* Filter criterion: Content: Published */
$handler-&gt;display-&gt;display_options['filters']['status_node']['id'] = 'status_node';
$handler-&gt;display-&gt;display_options['filters']['status_node']['table'] = 'node';
$handler-&gt;display-&gt;display_options['filters']['status_node']['field'] = 'status';
$handler-&gt;display-&gt;display_options['filters']['status_node']['relationship'] = 'nid';
$handler-&gt;display-&gt;display_options['filters']['status_node']['value'] = 1;
$handler-&gt;display-&gt;display_options['filters']['status_node']['group'] = 1;
$handler-&gt;display-&gt;display_options['filters']['status_node']['expose']['operator'] = FALSE;
/* Filter criterion: Content: Type */
$handler-&gt;display-&gt;display_options['filters']['type']['id'] = 'type';
$handler-&gt;display-&gt;display_options['filters']['type']['table'] = 'node';
$handler-&gt;display-&gt;display_options['filters']['type']['field'] = 'type';
$handler-&gt;display-&gt;display_options['filters']['type']['relationship'] = 'nid';
$handler-&gt;display-&gt;display_options['filters']['type']['value'] = array(
  'forum' =&gt; 'forum',
);

/* Display: Page */
$handler = $view-&gt;new_display('page', 'Page', 'page');
$handler-&gt;display-&gt;display_options['defaults']['hide_admin_links'] = FALSE;
$handler-&gt;display-&gt;display_options['path'] = 'user-forum-comments';



Click on Import
Go to user-forum-comments to see results
Go to admin/structure/views/view/user_forum_comments/edit to see how view is constructed.


Hope it answers :-)