I'll take a further look at files, if anyone has more ideas let me know,
Thanks,
Keith
why you are defining the "topic Id" url...?
note: couldn't figure out how to render this properly: [& amp;] (no spaces)... hopefully you can figure it out.
<input type="hidden" name="xoops_redirect" value="/user.php?xoops_redirect=/modules/newbb/viewtopic.php?topic_id=147[& amp;]forum=1[& amp;]jump=1" />
</form>
checklogin.php ~ lines 65-85
if (!empty($HTTP_POST_VARS['xoops_redirect']) && !strpos($HTTP_POST_VARS['xoops_redirect'], 'register')) {
$parsed = parse_url(XOOPS_URL);
$url = isset($parsed['scheme']) ? $parsed['scheme'].'://' : 'http://';
if (isset($parsed['host'])) {
$url .= isset($parsed['port']) ?$parsed['host'].':'.$parsed['port'].trim($HTTP_POST_VARS['xoops_redirect']): $parsed['host'].trim($HTTP_POST_VARS['xoops_redirect']);
} else {
$url = xoops_getenv('HTTP_HOST').trim($HTTP_POST_VARS['xoops_redirect']);
}
} else {
$url = XOOPS_URL.'/index.php';
}
<{if $moderator == true}>
<p>blah blah</p>
<{/if}>
if ( $xoopsUser ) {
if ( $xoopsUser->isAdmin($xoopsModule->mid()) ||
is_moderator($forum, $xoopsUser->getVar('uid')) ) {
$xoopsTpl->assign('moderator', true);
}
}