How to display user submitted nodes in the node detail view of the same user?
I tried the following and it seems to work:


Create a new block view
Add a Contextual filter of type Content: Nid
Add a relationship of type Content: Author (Required)
Add a relationship of type User: Content authored that uses the previous relationship and is required
Under Format you set Show: Content | Full Content - You must also use the User: Content authored relationship for this one


You could also change the number of related nodes that will be shown and also you might wan't to add a filter of Content: Type to restrict what kind of nodes to display. Notice that you could create a template for a specific content-type ie node--&lt;YOUR_CONTENT_TYPE&gt;.tpl and load and execute the view from there.

In you node.tpl file you would load this view doing something similar to:

$view = views_get_view('YOUR_VIEW_NAME');
$view-&gt;set_display('YOUR_VIEW_BLOCK_NAME');
$view-&gt;set_arguments(array($node-&gt;nid));
$view-&gt;execute();
echo $view-&gt;render();


Note I think you should specify every field you wan't to use, in other words you shouldn't use Show: Content | Full Content - because this will result in an infinite loop. I don't think this is a complete solution, but perhaps it will point you in the right direction.

If you are using fields in the view you could create a separate template named views-view-fields--YOUR_VIEW_NAME--YOUR_VIEW_BLOCK_NAME.tpl that will be used to output the actual fields.

To exclude the current node from the listing you need to modify your contextual filter.


Click the More button for Content: Nid and choose exclude you should also make this filter use your relationship for Content: Authored