[[!NewsPublisher@BrandStoryPub?parentid=`[[!getUrlParam? &name=`p` &int=`1` &default=`138`]]` &debug=`1`]]
This question has been answered by heikki. See the first response.

[[!NewsPublisher@BrandStoryPub? &parentid=`[[!#get.p:stripTags:default=`138`]]` &debug=`1`]]
<?php
/* SetParentId snippet */
$myParentId = isset($_GET['p'])? $_GET['p'] : 138;
$modx->setPlaceholder('myParentId', $myParentId);
return '';
[[!SetParentId]] [[!NewsPublisher@BrandStoryPub? &parentid=`[[+myParentId]]` ]]
[[!+myParentId]]
<input name="[[+npx.fieldName]]" [[+npx.readonly]] class="int" id="np-[[+npx.fieldName]]" type="text" value="[[!#get.p:stripTags:default=`[[+np.[[+npx.fieldName]]]]`]]" maxlength="[[+npx.maxlength]]" />
value="[[!#get.p:stripTags:default=`[[+np.[[+npx.fieldName]]]]`]]"