Thanks for the examples Billspaintball, they really helped me out.
Now I'm about to add a link into a template and I run into another problem. Normally <a href ="http://domain/vb/script.php" target="_blank">Script</a> works without problems. But when using something like that on a log page I just get a new blank screen that says
about blank.
Just calling the page directly in the browser works fine. I tried things like ?[sessionurl], but that doesn't work. How to call a page inside a template?
There's at least a problem with the trailingslash in forumpath and
Code:
// If logged in display logout link
echo "<a href=\"".$forumpath."login.php?$session[sessionurl]do=logout&logouthash=$logouthash";
in login_inc.php
forumpath should not have trailing and logout
Code:
// If logged in display logout link
echo "<a href=\"".$forumpath."/login.php?$session[sessionurl]do=logout&logouthash=$logouthash";