Quote:
Originally posted by clangrounds.com
However, I notice that when I try to click a user to see their profile off the main page it gives me an error, and I notice /forums is not in the url.
|
Which link(s) does this happen for? they should all be prefixed with $bburl I may have missed one though.
Quote:
The same thing when I have a PM pop-up message, and I try to go to my inbox from the main page.
|
Change your head_newpm template to:
Code:
<script language="JavaScript">
<!--
function confirm_newpm() {
input_box=confirm("You have a new private message. Click OK to view it, or cancel to hide this prompt.");
if (input_box==true) { // Output when OK is clicked
second_box=confirm("Open in new window?\n\n(Press cancel to open your $inboxname in the current window.)");
if (second_box==true) {
window.open('$bburl/private.php?s=$session[sessionhash]','pmnew','width=600,height=500,menubar=yes,scrollbars=yes,toolbar=yes,location=yes,directories=yes,resizable=yes,top=50,left=50');
} else {
window.location="$bburl/private.php?s=$session[sessionhash]";
}
} else {
// Output when Cancel is clicked
}
}
// -->
</script>
Again, just $bburl was added before the links