Form Block and reference field

Form Block module enables you to create nodes from block, so you can have some text and under it block for entering data for node type lets use "tips". This is similar to commenting then but you can have much more power this way.  But how then do you connect this new node with current on screen?  You add to that "tips" node type a reference field, that would connect it to node on which this data was entered. So you need to set the hidden "nodereference_url_paths" variable to include the current node page as the reference URL in your settings.php file. This is what you add

$conf['nodereference_url_paths'] = array('node/add/%type/%nid', 'node/%nid');

So automaticly it will be added to your node reference field when entering data.